aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-05-03 15:41:13 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-05-03 15:41:13 +0000
commitc64539a845eeb988a17e9648bcf04615214542ab (patch)
tree935ec1d86aaf9c98532d532268cf2c4e2de1e8f0
parent2ea107703bd0a10199905950b2b2e21d06316614 (diff)
downloadgcc-c64539a845eeb988a17e9648bcf04615214542ab.zip
gcc-c64539a845eeb988a17e9648bcf04615214542ab.tar.gz
gcc-c64539a845eeb988a17e9648bcf04615214542ab.tar.bz2
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
-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 a9e32b2..fecca4f 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 96a2548..08f6f02 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. */