[PATCH] Tiny tweak for the weakref patch

Jakub Jelinek jakub@redhat.com
Thu Nov 10 13:16:00 GMT 2005


Hi!

Tiny tweak for the weakref patch Alexandre committed yesterday,
committed as obvious.

2005-11-10  Jakub Jelinek  <jakub@redhat.com>

	PR other/4372
	* varasm.c (assemble_alias): Use %q+D in the error
	message instead of %J and %qD.

--- gcc/varasm.c.jj	2005-11-09 22:09:34.000000000 +0100
+++ gcc/varasm.c	2005-11-10 14:10:26.000000000 +0100
@@ -4855,7 +4855,7 @@ assemble_alias (tree decl, tree target)
       ultimate_transparent_alias_target (&target);
 
       if (alias == target)
-	error ("%Jweakref %qD ultimately targets itself", decl, decl);
+	error ("weakref %q+D ultimately targets itself", decl);
       else
 	{
 #ifndef ASM_OUTPUT_WEAKREF

	Jakub



More information about the Gcc-patches mailing list