OSDN Git Service

* dbxout.c (dbxout_symbol): Invert previous patch, which was
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 20:55:52 +0000 (20:55 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 20:55:52 +0000 (20:55 +0000)
outputting a tag only for variable-size records.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42588 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dbxout.c

index 3fc1c48..7993610 100644 (file)
@@ -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
index 78c45a2..6648727 100644 (file)
@@ -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))