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
This commit is contained in:
Geoffrey Keating 2001-05-25 20:55:52 +00:00 committed by Geoffrey Keating
parent 351d8ec89e
commit 83a05a970b
2 changed files with 7 additions and 2 deletions

View 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

View 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))