Crash on 'make check' w/latest..
Lee Iverson
leei@ai.sri.com
Tue Nov 3 10:44:00 GMT 1998
I'm using libg++-2.8.1.2 with last night's CVS (19981102) on an SGI O2
running Irix 6.3 and configured as mips-sgi-irix6.3. Way down in
libg++/etc/benchmarks I get an ICE like this:
...
/home/canada1/leei/devel/gcc/DIST-egcs-cvs/irix-6.3/gcc/xgcc -B/home/canada1/leei/devel/gcc/DIST-egcs-cvs/irix-6.3/gcc/ -B/opt/gnu/gcc/egcs-6.3/mips-sgi-irix6.3/bin/ -g -O2 -nostdinc++ -I. -I../../../libio -I../../../../../libg++/etc/benchmarks -I../../../../../libg++/etc/benchmarks/../../../libio -I../../../../../libg++/etc/benchmarks/../../../libstdc++ -I../../../../../libg++/etc/benchmarks/../../src -DQUICK ../../../../../libg++/etc/benchmarks/dhrystone.cc -L./../../ -L./../../../libstdc++ -lg++ -lstdc++ -o class
../../gcc/integrate.c:1708: Internal compiler error in function expand_inline_function
The problem appears to be that the code in expand_inline_function
doesn't recognize an addressof construct, in the DECL_RESULT(fndecl)
slot, to whit:
Breakpoint 10, expand_inline_function (fndecl=0x1043bbf8, parms=0x1,
target=0x104a1dc8, ignore=0, type=0x103f86f8, structure_value_addr=0x0)
at ../../gcc/integrate.c:1702
1702 if (TYPE_MODE (type) == VOIDmode)
(gdb) n
1701 loc = DECL_RTL (DECL_RESULT (fndecl));
(gdb) n
1702 if (TYPE_MODE (type) == VOIDmode)
(gdb) n
1700 map->inline_target = 0;
(gdb) n
1702 if (TYPE_MODE (type) == VOIDmode)
(gdb) n
1705 else if (GET_CODE (loc) == MEM)
(gdb) call debug_rtx(loc)
(mem/s:QI (addressof:SI (reg:QI 84) 83) 0)
(gdb)
-------------------------------------------------------------------------------
Lee Iverson SRI International
leei@ai.sri.com 333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/ (650) 859-3307
More information about the Gcc-bugs
mailing list