abort() in subst_stack_regs_pat()

Toshiyasu Morita tm@netcom.com
Wed Apr 26 18:30:00 GMT 2000


version: CVS current
   host: i386-linux
 target: native

When compiiling the file "g_misc.i" with the options "-O2 
-fomit-frame-pointer" the following error occurs:

./g_misc.i: In function `barrel_explode':
./g_misc.i:4865: Internal compiler error in `subst_stack_regs_pat', at 
reg-stack.c:1563

Here's the stack backtrace:

(xxgdb) bt
#0  subst_stack_regs_pat (insn=0x403c6ae0, regstack=0xbffff644, 
pat=0x403c4f30) at ../../egcs/gcc/reg-stack.c:1563
#1  0x8143bda in subst_stack_regs (insn=0x403c6ae0, regstack=0xbffff644) 
at ../../egcs/gcc/reg-stack.c:2130
#2  0x81440a4 in convert_regs_1 (file=0x0, block=0x829e524) at 
../../egcs/gcc/reg-stack.c:2442
#3  0x814442e in convert_regs_2 (file=0x0, block=0x829e524) at 
../../egcs/gcc/reg-stack.c:2643
#4  0x81444ab in convert_regs (file=0x0) at ../../egcs/gcc/reg-stack.c:2681
#5  0x81419ad in reg_to_stack (first=0x403b8bc0, file=0x0) at 
../../egcs/gcc/reg-stack.c:482
#6  0x804ca5e in rest_of_compilation (decl=0x403a8b80) at 
../../egcs/gcc/toplev.c:3564
#7  0x81f03e1 in finish_function (nested=0) at ../../egcs/gcc/c-decl.c:6499
#8  0x81e2877 in yyparse () at c-parse.y:345
#9  0x804b31e in compile_file (name=0x4011a230 "g_misc.i") at 
../../egcs/gcc/toplev.c:2401
#10 0x804e366 in main (argc=4, argv=0xbffffcc4) at 
../../egcs/gcc/toplev.c:4688
(xxgdb) 

The file "g_misc.i" is included in stress-1.14.tar.gz at:

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

Toshi


More information about the Gcc-bugs mailing list