OSDN Git Service

* c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2001 15:41:13 +0000 (15:41 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2001 15:41:13 +0000 (15:41 +0000)
if it is not set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41788 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-dump.c

index a9e32b2..fecca4f 100644 (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
 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
 
        * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
index 96a2548..08f6f02 100644 (file)
@@ -325,7 +325,7 @@ dequeue_and_dump (di)
       /* All declarations have names.  */
       if (DECL_NAME (t))
        dump_child ("name", DECL_NAME (t));
       /* 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.  */
          && DECL_ASSEMBLER_NAME (t) != DECL_NAME (t))
        dump_child ("mngl", DECL_ASSEMBLER_NAME (t));
       /* And types.  */