summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-03 15:41:13 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-03 15:41:13 +0000
commit296ab3258dd4374dbd5843bde82aeb99db6552a6 (patch)
tree935ec1d86aaf9c98532d532268cf2c4e2de1e8f0 /gcc
parent4e87e98c246f380544489c2666c10c7be5ec42ef (diff)
downloadppe42-gcc-296ab3258dd4374dbd5843bde82aeb99db6552a6.tar.gz
ppe42-gcc-296ab3258dd4374dbd5843bde82aeb99db6552a6.zip
* c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
if it is not set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-dump.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a9e32b2432d..fecca4fc1e7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-dump.c b/gcc/c-dump.c
index 96a2548b571..08f6f02902c 100644
--- a/gcc/c-dump.c
+++ b/gcc/c-dump.c
@@ -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. */
OpenPOWER on IntegriCloud