c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME if it is not set.

* c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
	if it is not set.

From-SVN: r41788
This commit is contained in:
Mark Mitchell 2001-05-03 15:41:13 +00:00 committed by Nathan Sidwell
parent 2ea107703b
commit c64539a845
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-05-03 Mark Mitchell <mark@codesourcery.com>
* c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
if it is not set.
2001-05-03 Alexandre Oliva <aoliva@redhat.com>
* config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the

View file

@ -325,7 +325,7 @@ dequeue_and_dump (di)
/* All declarations have names. */
if (DECL_NAME (t))
dump_child ("name", DECL_NAME (t));
if (DECL_ASSEMBLER_NAME (t)
if (DECL_ASSEMBLER_NAME_SET_P (t)
&& DECL_ASSEMBLER_NAME (t) != DECL_NAME (t))
dump_child ("mngl", DECL_ASSEMBLER_NAME (t));
/* And types. */