(i386-linux x sh-elf) -fssa segfault

Toshiyasu Morita tm@netcom.com
Mon Jun 19 18:05:00 GMT 2000


version: CVS
   host: i386-linux
 target: sh-elf

When compiling files in the stress-1.14 testsuite at:

ftp://shell14.ba.best.com/pub.t/tm2/stress-1.14.tar.gz

using the options: 

-O2 -m4-single-only -ml -fssa -S -g

the following error occurs:

...
/blitstd.i
xgcc: Internal compiler error: program cc1 got fatal signal 11
...

The problem appears to be in flow; here is the stack backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x812f7fc in libcall_dead_p (pbi=0x8282c68, x=0x4053cc70, 
note=0x4053cca0, insn=0x4053ef40) at ../../egcs/gcc/flow.c:4036
(xxgdb) bt
#0  0x812f7fc in libcall_dead_p (pbi=0x8282c68, x=0x4053cc70, 
note=0x4053cca0, insn=0x4053ef40) at ../../egcs/gcc/flow.c:4036
#1  0x812eea7 in propagate_one_insn (pbi=0x8282c68, insn=0x4053ef40) at 
../../egcs/gcc/flow.c:3419
#2  0x812f592 in propagate_block (bb=0x823a7d0, live=0xbffff620, 
local_set=0x828b188, flags=16) at ../../egcs/gcc/flow.c:3817
#3  0x812e816 in calculate_global_regs_live (blocks_in=0x0, 
blocks_out=0x0, flags=16) at ../../egcs/gcc/flow.c:3240
#4  0x812dd9f in update_life_info (blocks=0x0, extent=UPDATE_LIFE_GLOBAL, 
prop_flags=63) at ../../egcs/gcc/flow.c:2764
#5  0x812db63 in life_analysis (f=0x405370a0, file=0x0, flags=63) at 
../../egcs/gcc/flow.c:2645
#6  0x804cb2e in rest_of_compilation (decl=0x40535d00) at 
../../egcs/gcc/toplev.c:3156
#7  0x81d1f72 in finish_function (nested=0) at ../../egcs/gcc/c-decl.c:6572
#8  0x81bd8fb in yyparse () at c-parse.y:310
#9  0x804b9ce in compile_file (name=0x4011b750 "blitstd.i") at 
../../egcs/gcc/toplev.c:2289
#10 0x804ebde in main (argc=7, argv=0xbffffcd4) at 
../../egcs/gcc/toplev.c:4726
(xxgdb) 

Toshi



More information about the Gcc-bugs mailing list