abort() in move_for_stack_reg()

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


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

when compiling "xvalg.i" with the options "-O2 -funroll-all-loops" the 
following error occurs:

xvalg.i: In function `doRotate':
xvalg.i:19632: Internal compiler error in `move_for_stack_reg', at 
reg-stack.c:1063

Here's a stack backtrace:

(xxgdb) bt
#0  move_for_stack_reg (insn=0x4023f260, regstack=0xbffff644, 
pat=0x40643220) at ../../egcs/gcc/reg-stack.c:1063
#1  0x8142c4e in subst_stack_regs_pat (insn=0x4023f260, 
regstack=0xbffff644, pat=0x40643220) at ../../egcs/gcc/reg-stack.c:1461
#2  0x8143bda in subst_stack_regs (insn=0x4023f260, regstack=0xbffff644) 
at ../../egcs/gcc/reg-stack.c:2130
#3  0x81440a4 in convert_regs_1 (file=0x0, block=0x82f21cc) at 
../../egcs/gcc/reg-stack.c:2442
#4  0x814442e in convert_regs_2 (file=0x0, block=0x82f216c) at 
../../egcs/gcc/reg-stack.c:2643
#5  0x81444ab in convert_regs (file=0x0) at ../../egcs/gcc/reg-stack.c:2681
#6  0x81419ad in reg_to_stack (first=0x4020f400, file=0x0) at 
../../egcs/gcc/reg-stack.c:482
#7  0x804ca5e in rest_of_compilation (decl=0x404a2080) at 
../../egcs/gcc/toplev.c:3564
#8  0x81f03e1 in finish_function (nested=0) at ../../egcs/gcc/c-decl.c:6499
#9  0x81e2877 in yyparse () at c-parse.y:345
#10 0x804b31e in compile_file (name=0x40118288 "xvalg.i") at 
../../egcs/gcc/toplev.c:2401
#11 0x804e366 in main (argc=4, argv=0xbffffcc4) at 
../../egcs/gcc/toplev.c:4688
(xxgdb) 

The file "xvalg.i" is part of stress-1.14.tar.gz and can be found at:

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

Toshi



More information about the Gcc-bugs mailing list