re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash withou...
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Nov 2005 13:14:05 +0000 (14:14 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Nov 2005 13:14:05 +0000 (14:14 +0100)
PR other/4372
* varasm.c (assemble_alias): Use %q+D in the error
message instead of %J and %qD.

From-SVN: r106735

gcc/ChangeLog
gcc/varasm.c

index d275713..3bc2fde 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2005-11-10  Richard Guenther  <rguenther@suse.de>
 
        * gcse.c (free_ldst_entry): Only free hashtable if
index f9fa0fd..e937e65 100644 (file)
@@ -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