diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-05-25 20:55:52 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-05-25 20:55:52 +0000 |
commit | 83a05a970b74afdd24dcfc8fdb0843f0bbdac556 (patch) | |
tree | 3cf3ff3ce7ffd1e566cc83ef3ca1f1061c98b785 /gcc/dbxout.c | |
parent | 351d8ec89e1a22e3ab723f26ecfc9dc55bd1746f (diff) | |
download | gcc-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
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |