]> gcc.gnu.org Git - gcc.git/commitdiff
(dbxout_symbol): Fix forgotten case in last change: check
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 24 Sep 1996 01:15:37 +0000 (21:15 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 24 Sep 1996 01:15:37 +0000 (21:15 -0400)
DECL_ARTIFICIAL also when using the short cut way.

From-SVN: r12791

gcc/dbxout.c

index 6711cfbe90c703d265992f48747091415d5cf22d..c8964ab88f82f49ae1d8e2448824d65513ffe670 100644 (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)
                  {
This page took 0.064626 seconds and 5 git commands to generate.