re PR debug/12500 (stabs debug info -- void no longer a predefined / builtin type)
authorDavid Taylor <dtaylor@emc.com>
Wed, 22 Oct 2003 14:28:09 +0000 (14:28 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 22 Oct 2003 14:28:09 +0000 (10:28 -0400)
        PR debug/12500
        * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.

From-SVN: r72798

gcc/ChangeLog
gcc/dbxout.c

index a25e785a1d8966ba5395e747bc305036e7e6ee6d..a6f80eae810f8979515476b3cef2e9b3a9558d07 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-22  David Taylor <dtaylor@emc.com>
+
+       PR debug/12500
+       * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.
+
 2003-10-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
index 84700b447f6d5f4abbf8c3ebb8594039e3f4e259..ef04c8311340d02922f2a67fb2c495cfbff935c0 100644 (file)
@@ -553,7 +553,7 @@ dbxout_typedefs (tree syms)
          tree type = TREE_TYPE (syms);
          if (TYPE_NAME (type)
              && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
-             && COMPLETE_TYPE_P (type)
+             && COMPLETE_OR_VOID_TYPE_P (type)
              && ! TREE_ASM_WRITTEN (TYPE_NAME (type)))
            dbxout_symbol (TYPE_NAME (type), 0);
        }