(dbxout_symbol): Fix forgotten case in last change: check

DECL_ARTIFICIAL also when using the short cut way.

From-SVN: r12791
This commit is contained in:
Richard Kenner 1996-09-23 21:15:37 -04:00
parent ff615e83f6
commit 37306b1ec0
1 changed files with 4 additions and 1 deletions

View File

@ -1735,7 +1735,10 @@ dbxout_symbol (decl, local)
if ((TREE_CODE (type) == RECORD_TYPE
|| TREE_CODE (type) == UNION_TYPE
|| TREE_CODE (type) == QUAL_UNION_TYPE)
&& TYPE_NAME (type) == decl)
&& TYPE_NAME (type) == decl
/* Distinguish the implicit typedefs of C++
from explicit ones that might be found in C. */
&& DECL_ARTIFICIAL (decl))
{
if (use_gnu_debug_info_extensions && have_used_extensions)
{