aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@redhat.com>2001-05-25 20:55:52 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2001-05-25 20:55:52 +0000
commit83a05a970b74afdd24dcfc8fdb0843f0bbdac556 (patch)
tree3cf3ff3ce7ffd1e566cc83ef3ca1f1061c98b785
parent351d8ec89e1a22e3ab723f26ecfc9dc55bd1746f (diff)
downloadgcc-83a05a970b74afdd24dcfc8fdb0843f0bbdac556.zip
gcc-83a05a970b74afdd24dcfc8fdb0843f0bbdac556.tar.gz
gcc-83a05a970b74afdd24dcfc8fdb0843f0bbdac556.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dbxout.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3fc1c48..7993610 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-25 Geoff Keating <geoffk@redhat.com>
+
+ * dbxout.c (dbxout_symbol): Invert previous patch, which was
+ outputting a tag only for variable-size records.
+
2001-05-25 Jeff Knaggs <jknaggs@redhat.com>
* config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 78c45a2..6648727 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))