Commit 83a05a97 by Geoffrey Keating Committed by Geoffrey Keating

dbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only…

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
parent 351d8ec8
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> 2001-05-25 Jeff Knaggs <jknaggs@redhat.com>
* config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
......
...@@ -1707,7 +1707,7 @@ dbxout_symbol (decl, local) ...@@ -1707,7 +1707,7 @@ dbxout_symbol (decl, local)
/* Do not generate a tag for records of variable size, /* Do not generate a tag for records of variable size,
since this type can not be properly described in the since this type can not be properly described in the
DBX format, and it confuses some tools such as objdump. */ 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); tree name = TYPE_NAME (type);
if (TREE_CODE (name) == TYPE_DECL) if (TREE_CODE (name) == TYPE_DECL)
...@@ -1758,7 +1758,7 @@ dbxout_symbol (decl, local) ...@@ -1758,7 +1758,7 @@ dbxout_symbol (decl, local)
/* Don't output a tag if this is an incomplete type. This prevents /* Don't output a tag if this is an incomplete type. This prevents
the sun4 Sun OS 4.x dbx from crashing. */ the sun4 Sun OS 4.x dbx from crashing. */
if (tag_needed && TYPE_NAME (type) != 0 if (tag_needed && TYPE_NAME (type) != 0
&& (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE && (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE
|| (DECL_NAME (TYPE_NAME (type)) != 0)) || (DECL_NAME (TYPE_NAME (type)) != 0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment