VAX Ultrix gcc-2.96: ICE in `add_insn_after', at emit-rtl.c:2514
John David Anglin
dave@hiauly1.hia.nrc.ca
Sat Jun 3 12:09:00 GMT 2000
> However, in testing today, I found the following ICE:
>
> /usr/local/src/gnu/gcc-2.96/objdir/gcc/xgcc -B/usr/local/src/gnu/gcc-2.96/objdir/gcc/ -B/usr/local/vax-dec-ultrix4.3/bin/ -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -O3 -c -o regex.o `test -f regex.c || echo './'`regex.c
> regex.c: In function `re_set_registers':
> regex.c:6232: Internal compiler error in `add_insn_after', at emit-rtl.c:2514
> Please submit a full bug report.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
> make[2]: *** [regex.o] Error 1
> make[2]: Leaving directory `/usr/local/src/gnu/fileutils-4.0s/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/gnu/fileutils-4.0s'
> make: *** [all-recursive-am] Error 2
The stack trace is:
(gdb) bt
#0 add_insn_after (insn=0x8cd020, after=0x0) at ../../gcc/emit-rtl.c:2514
#1 0x5bf61 in emit_note_after (subtype=-92, after=0x0)
at ../../gcc/emit-rtl.c:3092
#2 0x6ddc1 in redirect_jump (jump=0x691bc0, nlabel=0x0)
at ../../gcc/jump.c:3222
#3 0x6b657 in jump_optimize_1 (f=0x4f3260, cross_jump=0, noop_moves=0,
after_regscan=0, mark_labels_only=0, minimal=1) at ../../gcc/jump.c:345
#4 0x6b3f3 in jump_optimize_minimal (f=0x4f3260) at ../../gcc/jump.c:161
#5 0xdac60 in optimize_sibling_and_tail_recursive_calls ()
at ../../gcc/sibcall.c:397
#6 0x782b in rest_of_compilation (decl=0x1a7c80, 1735808)
at ../../gcc/toplev.c:2784
#7 0x6b393 in output_inline_function (fndecl=0x1a7c80, 1735808)
at ../../gcc/integrate.c:2744
#8 0x6a65 in wrapup_global_declarations (vec=0x5bcc30, len=304)
at ../../gcc/toplev.c:1893
#9 0x724e in compile_file (name=0x7fffc1e3 "regex.i")
at ../../gcc/toplev.c:2322
#10 0xa2c2 in main (argc=3, argv=0x7fffc114, 2147467556)
at ../../gcc/toplev.c:4675
The fault occurs because after=0x0. It looks like rth may have fixed
this problem on the 29th.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-bugs
mailing list