19991102 chk-ICE at config/pa/pa.c:3895 compiling gcc/libgcc2.c(_moddi3) on hppa2.0-hp-hpux10.20
Brown, Rodney
rodneybrown@pmsc.com
Thu Nov 4 00:30:00 GMT 1999
Title: 19991102 chk-ICE at config/pa/pa.c:3895 compiling gcc/libgcc2.c(_moddi3) on hppa2.0-hp-hpux10.20
--enable-checking ICE on hppa2.0-hp-hpux10.20
Same as 1025 snapshot, but more information this time.
ÃÂ ./xgcc -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -B./ -I/usr/local/hppa2.0-hp-hpux10.20/include -O2ÃÂ ÃÂ -DIN_GCCÃÂ ÃÂ ÃÂ -g -W -Wall -I./includeÃÂ -fPIC -g1ÃÂ -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDEDÃÂ -I. -I../../egcs-19991102/gcc -I../../egcs-19991102/gcc/config -I../../egcs-19991102/gcc/../include -c -DL${name} \
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ -DUSE_COLLECT2 ../../egcs-19991102/gcc/libgcc2.c -o ${name}.o; \
ÃÂ if [ $? -eq 0 ] ; then true; else exit 1; fi; \
ÃÂ ` if [ -f /devel/span/rdb/src/egcs-19991102.chk/gcc/../binutils/ar ] ; then echo /devel/span/rdb/src/egcs-19991102.chk/gcc/../binutils/ar ; else if [ "hppa2.0-hp-hpux10.20" = "hppa2.0-hp-hpux10.20" ] ; then echo ar; else t='s,^,hppa2.0-hp-hpux10.20-,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \
ÃÂ rm -f ${name}.o; \
done
_muldi3
_divdi3
_moddi3
../../egcs-19991102/gcc/libgcc2.c: In function `__moddi3':
../../egcs-19991102/gcc/libgcc2.c:720: RTL check: expected elt 0 type 'e' or 'u', have 'i' (rtx reg)
../../egcs-19991102/gcc/libgcc2.c:720: Internal compiler error in `print_operand', at config/pa/pa.c:3895
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/devel/span/rdb/src/egcs-19991102.chk/gcc'
ÃÂ ./cc1 libgcc2.i -quiet -dumpbase libgcc2.c -g -g1 -O2 -W -Wall -version -fPIC -o libgcc2.s
GNU C version 2.96 19991102 (experimental) (hppa2.0-hp-hpux10.20) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
../../egcs-19991102/gcc/libgcc2.c: In function `__moddi3':
../../egcs-19991102/gcc/libgcc2.c:720: RTL check: expected elt 0 type 'e' or 'u', have 'i' (rtx reg)
../../egcs-19991102/gcc/libgcc2.c:720: Internal compiler error in `print_operand', at config/pa/pa.c:3895
Please submit a full bug report.
Breakpoint 5 (deferred) at "config/pa/pa.c:3895" ("config/pa/pa.c:3895" was not found).
Breakpoint deferred until a shared library containing "config/pa/pa.c:3895" is loaded.
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
GNU C version 2.96 19991102 (experimental) (hppa2.0-hp-hpux10.20) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
../../egcs-19991102/gcc/libgcc2.c: In function `__moddi3':
../../egcs-19991102/gcc/libgcc2.c:720: RTL check: expected elt 0 type 'e' or 'u', have 'i' (rtx reg)
Breakpoint 4, fatal (
ÃÂ ÃÂ ÃÂ msgid=0x153e0 "Internal compiler error in `%s', at %s:%d\nPlease submit a full bug report.\nSee <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.") at ../../egcs-19991102/gcc/toplev.c:1959
1959ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ VA_START (ap, msgid);
#0ÃÂ fatal (
ÃÂ ÃÂ ÃÂ msgid=0x153e0 "Internal compiler error in `%s', at %s:%d\nPlease submit a full bug report.\nSee <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.") at ../../egcs-19991102/gcc/toplev.c:1959
#1ÃÂ 0x1ce8e4 in fancy_abort (
ÃÂ ÃÂ ÃÂ file=0x2222c "../../egcs-19991102/gcc/config/pa/pa.c", line=3895,
ÃÂ ÃÂ ÃÂ function=0x22bb4 "print_operand") at ../../egcs-19991102/gcc/rtl.c:1257
#2ÃÂ 0x1ce5b8 in rtl_check_failed_type2 (r=0x400579d0, n=0, c1=101, c2=117,
ÃÂ ÃÂ ÃÂ file=0x2222c "../../egcs-19991102/gcc/config/pa/pa.c", line=3895,
ÃÂ ÃÂ ÃÂ func=0x22bb4 "print_operand") at ../../egcs-19991102/gcc/rtl.c:1171
#3ÃÂ 0x78d158 in print_operand (file=0x7aea9c70, x=0x40066330, code=0)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/config/pa/pa.c:3895
#4ÃÂ 0x609f30 in output_operand (x=0x40066330, code=0)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/final.c:3584
#5ÃÂ 0x6097d4 in output_asm_insn (template=0x22438 "stw %r1,%0",
ÃÂ ÃÂ ÃÂ operands=0x40016400) at ../../egcs-19991102/gcc/final.c:3519
#6ÃÂ 0x77cf24 in output_move_double (operands=0x40016400)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/config/pa/pa.c:1972
#7ÃÂ 0x718488 in output_123 (operands=0x40016400, insn=0x400fb080)
ÃÂ ÃÂ ÃÂ at insn-output.c:888
#8ÃÂ 0x600af8 in get_insn_template (code=123, insn=0x400fb080)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/final.c:2053
#9ÃÂ 0x607194 in final_scan_insn (insn=0x400fb080, file=0x7aea9c70, optimize=2,
ÃÂ ÃÂ ÃÂ prescan=0, nopeepholes=0) at ../../egcs-19991102/gcc/final.c:2919
#10 0x6009a8 in final (first=0x40128500, file=0x7aea9c70, optimize=2,
ÃÂ ÃÂ ÃÂ prescan=0) at ../../egcs-19991102/gcc/final.c:2027
#11 0x3ba88 in rest_of_compilation (decl=0x40077e80)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/toplev.c:4403
#12 0x805968 in finish_function (nested=0)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/c-decl.c:6713
#13 0x7d93b4 in yyparse () at c-parse.y:314
#14 0x3794c in compile_file (name=0x4006b330 "")
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/toplev.c:3206
#15 0x3ea74 in main (argc=14, argv=0x7b03a51c)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/toplev.c:5583
1954ÃÂ ÃÂ ÃÂ #ifndef ANSI_PROTOTYPES
1955ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ const char *msgid;
1956ÃÂ ÃÂ ÃÂ #endif
1957ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ va_list ap;
1958ÃÂ ÃÂ ÃÂ
1959ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ VA_START (ap, msgid);
1960ÃÂ ÃÂ ÃÂ
1961ÃÂ ÃÂ ÃÂ #ifndef ANSI_PROTOTYPES
1962ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ msgid = va_arg (ap, const char *);
1963ÃÂ ÃÂ ÃÂ #endif
(gdb) up 1
#1ÃÂ 0x1ce8e4 in fancy_abort (
ÃÂ ÃÂ ÃÂ file=0x2222c "../../egcs-19991102/gcc/config/pa/pa.c", line=3895,
ÃÂ ÃÂ ÃÂ function=0x22bb4 "print_operand") at ../../egcs-19991102/gcc/rtl.c:1257
1257ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ fatal (
(gdb) up 1
#2ÃÂ 0x1ce5b8 in rtl_check_failed_type2 (r=0x400579d0, n=0, c1=101, c2=117,
ÃÂ ÃÂ ÃÂ file=0x2222c "../../egcs-19991102/gcc/config/pa/pa.c", line=3895,
ÃÂ ÃÂ ÃÂ func=0x22bb4 "print_operand") at ../../egcs-19991102/gcc/rtl.c:1171
1171ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ fancy_abort (file, line, func);
(gdb) p debug_rtx(r)
(reg:SI 5 %r5)
$1 = void
(gdb) up 1
#3ÃÂ 0x78d158 in print_operand (file=0x7aea9c70, x=0x40066330, code=0)
ÃÂ ÃÂ ÃÂ at ../../egcs-19991102/gcc/config/pa/pa.c:3895
3895ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ rtx base = XEXP (XEXP (x, 0), 0);
(gdb) ptype x
type = struct rtx_def {
ÃÂ ÃÂ ÃÂ short unsigned int code;
ÃÂ ÃÂ ÃÂ int mode : 8;
ÃÂ ÃÂ ÃÂ unsigned int jump : 1;
ÃÂ ÃÂ ÃÂ unsigned int call : 1;
ÃÂ ÃÂ ÃÂ unsigned int unchanging : 1;
ÃÂ ÃÂ ÃÂ unsigned int volatil : 1;
ÃÂ ÃÂ ÃÂ unsigned int in_struct : 1;
ÃÂ ÃÂ ÃÂ unsigned int used : 1;
ÃÂ ÃÂ ÃÂ unsigned int integrated : 1;
ÃÂ ÃÂ ÃÂ unsigned int frame_related : 1;
ÃÂ ÃÂ ÃÂ rtunion fld[1];
} *
(gdb) p debug_rtx(x)
(mem:DI (reg:SI 5 %r5) 12)
$2 = void
(gdb) p base
$3 = (struct rtx_def *) 0x0
(gdb) c
Continuing.
../../egcs-19991102/gcc/libgcc2.c:720: Internal compiler error in `print_operand', at config/pa/pa.c:3895
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
More information about the Gcc-bugs
mailing list