This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
sdbout.c tree check error
- From: DJ Delorie <dj at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 26 Mar 2004 16:03:47 -0500
- Subject: sdbout.c tree check error
--host=i686-pc-linux-gnu
--target=i586-pc-msdosdjgpp
In file included from ./tm.h:5,
from /greed/dj/djgpp/gcc/gcc/libgcc2.c:43:
/greed/dj/djgpp/gcc/gcc/config/i386/i386.h:1283: internal compiler error: tree check: expected record_type, union_type or qual_union_type; have enumeral_type in sdbout_one_type, at sdbout.c:1189
i386.h points at the end of a typedef enum; the sdbout code looks like this:
if (TREE_CODE (type) == ENUMERAL_TYPE)
{
for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
This code is many years old.
Ideas?