This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

abort() in emit_swap_insn()



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

When compiling l3psy.i using the options "-O2 -funroll-all-loops" the 
following error occurs:

l3psy.i: In function `L3psycho_anal':
l3psy.i:5038: Internal compiler error in `emit_swap_insn', at reg-stack.c:961

Here's the stack backtrace:

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

The file "l3psy.i" can be found in stress-1.14.tar.gz at:

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

Toshi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]