(dbxout_type): check TYPE_DECL_SUPPRESS_DEBUG to generate cross reference
authorDoug Evans <dje@gnu.org>
Fri, 29 Apr 1994 22:29:42 +0000 (22:29 +0000)
committerDoug Evans <dje@gnu.org>
Fri, 29 Apr 1994 22:29:42 +0000 (22:29 +0000)
in stabs.

From-SVN: r7184

gcc/dbxout.c

index 7f79b1a2f9a377465b560135d5340b200c6a79eb..994cc3779f0f3e5b79e150be4e65d6b77cba6187 100644 (file)
@@ -927,7 +927,7 @@ dbxout_type (type, full, show_arg_types)
       type = TYPE_MAIN_VARIANT (type);
       if (TYPE_NAME (type)
          && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
-         && DECL_IGNORED_P (TYPE_NAME (type)))
+         && TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type)))
        full = 0;
     }