This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
abort in replace_reg()
- To: gcc-bugs at gcc dot gnu dot org
- Subject: abort in replace_reg()
- From: Toshiyasu Morita <tm at netcom dot com>
- Date: Wed, 26 Apr 2000 18:06:03 -0700 (PDT)
version: CVS current
host: i386-linux
target: native
When compiling blitstream.i with "-O2 -funroll-all-loops" the following
error occurs:
blitstream.i: In function `BlitBufStream8':
blitstream.i:19377: Internal compiler error in `replace_reg', at
reg-stack.c:826
Here's the stack backtrace:
(xxgdb) bt
#0 replace_reg (reg=0x40551e48, regno=-1) at ../../egcs/gcc/reg-stack.c:826
#1 0x8142975 in compare_for_stack_reg (insn=0x40582ce0,
regstack=0xbffff634, pat_src=0x40551e40) at ../../egcs/gcc/reg-stack.c:1324
#2 0x81432dc in subst_stack_regs_pat (insn=0x40582ce0,
regstack=0xbffff634, pat=0x40551e60) at ../../egcs/gcc/reg-stack.c:1694
#3 0x8143bda in subst_stack_regs (insn=0x40582ce0, regstack=0xbffff634)
at ../../egcs/gcc/reg-stack.c:2130
#4 0x81440a4 in convert_regs_1 (file=0x0, block=0x8252604) at
../../egcs/gcc/reg-stack.c:2442
#5 0x814442e in convert_regs_2 (file=0x0, block=0x82521e4) 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=0x404bbb00, file=0x0) at
../../egcs/gcc/reg-stack.c:482
#8 0x804ca5e in rest_of_compilation (decl=0x404bc400) 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=0x4011a230 "blitstream.i") at
../../egcs/gcc/toplev.c:2401
#12 0x804e366 in main (argc=4, argv=0xbffffcb4) at
../../egcs/gcc/toplev.c:4688
(xxgdb)
The file blitstream.i is part of stress-1.14.tar.gz at:
ftp://shell14.ba.best.com/pub.t/tm2/stress-1.14.tar.gz
Toshi