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
This commit is contained in:
Jakub Jelinek 2005-11-10 14:14:05 +01:00 committed by Jakub Jelinek
parent 35b5442aff
commit 6d3e3e6aa9
2 changed files with 7 additions and 1 deletions

View 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

View 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