Commit a354c7d6 by David Taylor Committed by Jason Merrill

re PR debug/12500 (stabs debug info -- void no longer a predefined / builtin type)

        PR debug/12500
        * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.

From-SVN: r72798
parent 2461c08b
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
......
......@@ -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);
}
......
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