aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-11-10 14:14:05 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2005-11-10 14:14:05 +0100
commit6d3e3e6aa90a6d3d0b2feeed7c107e77246607ed (patch)
treeb6ead4f69a2e0a87d3a3086dd7b3814d77fe6d6a /gcc
parent35b5442aff60c1c88fc336b670374c2ef54444be (diff)
downloadgcc-6d3e3e6aa90a6d3d0b2feeed7c107e77246607ed.zip
gcc-6d3e3e6aa90a6d3d0b2feeed7c107e77246607ed.tar.gz
gcc-6d3e3e6aa90a6d3d0b2feeed7c107e77246607ed.tar.bz2
re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread)
PR other/4372 * varasm.c (assemble_alias): Use %q+D in the error message instead of %J and %qD. From-SVN: r106735
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/varasm.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d275713..3bc2fde 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/varasm.c b/gcc/varasm.c
index f9fa0fd..e937e65 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -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