From 83a05a970b74afdd24dcfc8fdb0843f0bbdac556 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Fri, 25 May 2001 20:55:52 +0000 Subject: [PATCH] dbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only for variable-size records. * dbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only for variable-size records. From-SVN: r42588 --- gcc/ChangeLog | 5 +++++ gcc/dbxout.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3fc1c4862a4..7993610a7bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-25 Geoff Keating + + * dbxout.c (dbxout_symbol): Invert previous patch, which was + outputting a tag only for variable-size records. + 2001-05-25 Jeff Knaggs * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 78c45a2d88b..6648727f0c1 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -1707,7 +1707,7 @@ dbxout_symbol (decl, local) /* Do not generate a tag for records of variable size, since this type can not be properly described in the DBX format, and it confuses some tools such as objdump. */ - && ! host_integerp (TYPE_SIZE (type), 1)) + && host_integerp (TYPE_SIZE (type), 1)) { tree name = TYPE_NAME (type); if (TREE_CODE (name) == TYPE_DECL) @@ -1758,7 +1758,7 @@ dbxout_symbol (decl, local) /* Don't output a tag if this is an incomplete type. This prevents the sun4 Sun OS 4.x dbx from crashing. */ - + if (tag_needed && TYPE_NAME (type) != 0 && (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE || (DECL_NAME (TYPE_NAME (type)) != 0))