aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-dump.c
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 /gcc/c-dump.c
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
Diffstat (limited to 'gcc/c-dump.c')
-rw-r--r--gcc/c-dump.c2
1 files changed, 1 insertions, 1 deletions
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. */