varasm.c (globalize_decl): Get the name from the RTL, not DECL_ASSEMBLER_NAME.
* varasm.c (globalize_decl): Get the name from the RTL, not DECL_ASSEMBLER_NAME. From-SVN: r51044
This commit is contained in:
parent
8a5e53c3d8
commit
77f9437e81
|
@ -1,5 +1,8 @@
|
|||
2002-03-19 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* varasm.c (globalize_decl): Get the name from the RTL, not
|
||||
DECL_ASSEMBLER_NAME.
|
||||
|
||||
* Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
|
||||
|
||||
2002-03-19 Dale Johannesen <dalej@apple.com>
|
||||
|
|
|
@ -5052,7 +5052,7 @@ static void
|
|||
globalize_decl (decl)
|
||||
tree decl;
|
||||
{
|
||||
const char *name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
|
||||
const char *name = XSTR (XEXP (DECL_RTL (decl), 0), 0);
|
||||
|
||||
#if defined (ASM_WEAKEN_LABEL) || defined (ASM_WEAKEN_DECL)
|
||||
if (DECL_WEAK (decl))
|
||||
|
|
Loading…
Reference in New Issue