This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on2003-08-30T20:00:01Z.
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: gcc-regression at gcc dot gnu dot org, geoffk at geoffk dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 30 Aug 2003 15:03:15 -0700
- Subject: Re: GCC build failed for native with your patch on2003-08-30T20:00:01Z.
- References: <200308302016.h7UKGYs3000660@gcc-regress.apple.com>
"GCC regression checker" <geoffk@apple.com> writes:
> /Users/regress/tbox/cvs-gcc/gcc/gcc/gengtype.c:718: internal compiler error: tree check: expected field_decl, have tree_list in dbxout_type, at dbxout.c:1795
Geoff, could you please try the appended patch?
zw
* dbxout.c (dbxout_type): Don't look at TYPE_VFIELD of
incomplete types.
===================================================================
Index: dbxout.c
--- dbxout.c 5 Aug 2003 21:15:56 -0000 1.157
+++ dbxout.c 30 Aug 2003 22:02:54 -0000
@@ -1775,6 +1775,9 @@ dbxout_type (tree type, int full)
CHARS (1);
if (use_gnu_debug_info_extensions && TREE_CODE (type) == RECORD_TYPE
+ /* C front end uses TYPE_VFIELD for something else in
+ incomplete types. */
+ && COMPLETE_TYPE_P (type)
/* Avoid the ~ if we don't really need it--it confuses dbx. */
&& TYPE_VFIELD (type))
{