egcs-19991013 irix6.5 bootstrap failure - ICE in `gen_type_die', at dwarf2out.c:9242

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sun Oct 31 23:03:00 GMT 1999


 > From: "Billinghurst, David (RTD)" <David.Billinghurst@riotinto.com.au>
 >  
 > egcs-19991013 snapshot build fails on mips-sgi-irix6.5
 >  
 > ICE in `gen_type_die', at dwarf2out.c:9242 while compiling
 > libstdc++/valarray.cc 
 > (See also http://egcs.cygnus.com/ml/gcc-bugs/1999-10/msg00083.html )
 >  
 >   /exd4/billingd/obj/egcs-19991013/gcc/xgcc
 > -B/exd4/billingd/obj/egcs-19991013/gcc/
 > -B/exd4/billingd/tmp/egcs-19991013/mips-sgi-irix6.5/bin/ -c -g -O2
 > -fno-implicit-templates -I/exd4/billingd/src/egcs-19991013/libstdc++
 > -I/exd4/billingd/src/egcs-19991013/libstdc++/stl -I../libio
 > -I/exd4/billingd/src/egcs-19991013/libstdc++/../libio -nostdinc++
 > /exd4/billingd/src/egcs-19991013/libstdc++/valarray.cc -o pic/valarray.o
 > /exd4/billingd/src/egcs-19991013/libstdc++/std/gslice.h:74: Internal
 > compiler error in `gen_type_die', at dwarf2out.c:9242
 > Please submit a full bug report.
 > See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
 > instructions.
 > make[2]: *** [valarray.o] Error 1
 > make[2]: Leaving directory
 > `/exd4/billingd/obj/egcs-19991013/mips-sgi-irix6.5/libstdc++'
 > make[1]: *** [all-target-libstdc++] Error 2
 > make[1]: Leaving directory `/exd4/billingd/obj/egcs-19991013'
 > make: *** [bootstrap] Error 2


Same for me on Irix6.2 as of last night.  Its dying in a switch
statement because it falls through to the default case which aborts at
dwarf2out.c:9242.

#1  0x100da5c4 in gen_type_die (type=0x102e9500,
 context_die=0x103728e8) at
 ../../egcs-CVS19991018/gcc/dwarf2out.c:9242
#2  0x100dae3c in gen_decl_die (decl=0x9842880,
 context_die=0x103728e8) at
 ../../egcs-CVS19991018/gcc/dwarf2out.c:9522
#3  0x100db24c in dwarf2out_decl (decl=0x9842880) at
 ../../egcs-CVS19991018/gcc/dwarf2out.c:9700
#4  0x1002cf30 in check_global_declarations (vec=0x102e9500, len=9242)
 at ../../egcs-CVS19991018/gcc/toplev.c:2814
#5  0x1002dc84 in compile_file (name=0x4202f00 "") at
 ../../egcs-CVS19991018/gcc/toplev.c:3256
#6  0x100325d8 in main (argc=8, argv=0x7fff2f14) at
 ../../egcs-CVS19991018/gcc/toplev.c:5519


The unhandled switch value resolves to EQ_EXPR.

(gdb) p type->common.code
$4 = EQ_EXPR

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions



More information about the Gcc-bugs mailing list