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]

19991102 chk-ICE at config/pa/pa.c:3895 compiling gcc/libgcc2.c(_moddi3) on hppa2.0-hp-hpux10.20


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.


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