This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]