Bootstrap fail: ICE in `eliminate_regs_in_insn', at reload1.c:2796

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Thu Dec 16 13:47:00 GMT 1999


Hi,

with the current CVS on powerpc-linux-gnu I get a new ICE now. It did work at
least til Marks builtins.c patch yesterday, but I can see nothing obvious in
the patches since then.

Franz.


do \
  echo ${name}; \
  ./xgcc -B/home/fsirl/gnubin/ppc-redhat-linux/bin/ -B./ -I/home/fsirl/gnubin/ppc-redhat-linux/include -O2   -DIN_GCC    -g -O0 -W -Wall -I./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -mstrict-align -I. -I../../../cvsx/gccm/gcc -I../../../cvsx/gccm/gcc/config -I../../../cvsx/gccm/gcc/../include -c -DL${name} \
       ../../../cvsx/gccm/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
_divdi3
../../../cvsx/gccm/gcc/libgcc2.c: In function `__udivmoddi4':
../../../cvsx/gccm/gcc/libgcc2.c:4036: Internal compiler error in `eliminate_regs_in_insn', at reload1.c:2796
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[4]: *** [libgcc2.a] Error 1
make[4]: Leaving directory `/home/fsirl/obj/gccm/gcc'
make[3]: *** [stmp-multilib-sub] Error 2
make[3]: Leaving directory `/home/fsirl/obj/gccm/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/home/fsirl/obj/gccm/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/fsirl/obj/gccm/gcc'
make: *** [bootstrap] Error 2
Thu Dec 16 13:26:01 MST 1999
0m0.000s 0m0.020s
3m8.660s 0m32.460s
[fsirl@entropy:~/obj/gccm/gcc]$ ./xgcc -B/home/fsirl/gnubin/ppc-redhat-linux/bin/ -B./ -I/home/fsirl/gnubin/ppc-redhat-linux/include -O2   -DIN_GCC    -g -O0 -W -Wall -I./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -mstrict-align -I. -I../../../cvsx/gccm/gcc -I../../../cvsx/gccm/gcc/config -I../../../cvsx/gccm/gcc/../include -c -DL_divdi3 ../../../cvsx/gccm/gcc/libgcc2.c -o _divdi3.o -v -save-temps
Reading specs from ./specs
gcc version 2.96 19991216 (experimental)
 ./cpp -lang-c -v -I/home/fsirl/gnubin/ppc-redhat-linux/include -I./include -I. -I../../../cvsx/gccm/gcc -I../../../cvsx/gccm/gcc/config -I../../../cvsx/gccm/gcc/../include -iprefix ./../lib/gcc-lib/ppc-redhat-linux/2.96/ -isystem ./include -isystem /home/fsirl/gnubin/ppc-redhat-linux/bin/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -DPPC -D__ELF__ -Dpowerpc -D__PPC__ -D__ELF__ -D__powerpc__ -D__PPC -D__powerpc -Acpu(powerpc) -Amachine(powerpc) -D__CHAR_UNSIGNED__ -g -g1 -W -Wall -D__PIC__=2 -D__pic__=2 -D_CALL_SYSV -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine(bigendian) -D_ARCH_PPC -D__unix__ -D__linux__ -Dunix -Dlinux -Asystem(unix) -Asystem(posix) -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DL_divdi3 ../../../cvsx/gccm/gcc/libgcc2.c libgcc2.i
GNU CPP version 2.96 19991216 (experimental) (PowerPC GNU/Linux)
#include "..." search starts here:
#include <...> search starts here:
 /home/fsirl/gnubin/ppc-redhat-linux/include
 include
 .
 ../../../cvsx/gccm/gcc
 ../../../cvsx/gccm/gcc/config
 ../../../cvsx/gccm/gcc/../include
 include
 /usr/local/include
 /home/fsirl/gnubin/lib/gcc-lib/ppc-redhat-linux/2.96/../../../../ppc-redhat-linux/include
 /home/fsirl/gnubin/lib/gcc-lib/ppc-redhat-linux/2.96/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /home/fsirl/gnubin/lib/gcc-lib/ppc-redhat-linux/2.96/../../../../include/g++-3
End of omitted list.
 ./cc1 libgcc2.i -quiet -dumpbase libgcc2.c -mstrict-align -g -g1 -O2 -O0 -W -Wall -version -fPIC -o libgcc2.s
GNU C version 2.96 19991216 (experimental) (ppc-redhat-linux) compiled by GNU C version 2.95.2 19991024 (release).
../../../cvsx/gccm/gcc/libgcc2.c: In function `__udivmoddi4':
../../../cvsx/gccm/gcc/libgcc2.c:4036: Internal compiler error in `eliminate_regs_in_insn', at reload1.c:2796

Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
[fsirl@entropy:~/obj/gccm/gcc]$ gdb ./cc1
GNU gdb 4.17.0.14 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-redhat-linux"...
Breakpoint 1 at 0x10346200
Breakpoint 2 at 0x100b8220: file ../../../cvsx/gccm/gcc/rtl.c, line 1253.
.gdbinit:8: Error in sourced command file:
../../../cvsx/gccm/gcc/.gdbinit:102: Error in sourced command file:
Function "abort" not defined.
(gdb) r libgcc2.i -quiet -dumpbase libgcc2.c -mstrict-align -g -g1 -O2 -O0 -W -Wall -version -fPIC -o libgcc2.s
Starting program: /home/fsirl/obj/gccm/gcc/./cc1 libgcc2.i -quiet -dumpbase libgcc2.c -mstrict-align -g -g1 -O2 -O0 -W -Wall -version -fPIC -o libgcc2.s
During symbol reading...inner block (0xfee9000-0xfee900c) not inside outer block (0xff0b300-0xff0b3f4)...
inner block (0xfee9000-0xfee918c) not inside outer block (0xff0b3f4-0xff0b580)...
inner block (0xfee9000-0xfee9138) not inside outer block (0xff0b748-0xff0b8f0)...block at 0xfee903c out of order...
inner block (0xfee9000-0xfee9118) not inside outer block (0xff1561c-0xff15734)...block at 0xfee9050 out of order...
Breakpoint 1 at 0xff15648: file exit.c, line 81.

During symbol reading...inner block (0x30000000-0x30000558) not inside outer block (0x30005248-0x30007e64)...
inner block (0x30000000-0x3000029c) not inside outer block (0x30005248-0x30007e64)...
inner block (0x30000000-0x300001d0) not inside outer block (0x30005248-0x30007e64)...block at 0x3000004c out of order...
inner block (0x30000000-0x3000000c) not inside outer block (0x3000c460-0x3000c4cc)...
inner block (0x30000000-0x30000060) not inside outer block (0x3000c460-0x3000c4cc)...
GNU C version 2.96 19991216 (experimental) (ppc-redhat-linux) compiled by GNU C version 2.95.2 19991024 (release).

Breakpoint 2, fancy_abort (file=0x10302684 "../../../cvsx/gccm/gcc/reload1.c", line=2796, function=0x10302b8c "eliminate_regs_in_insn")
    at ../../../cvsx/gccm/gcc/rtl.c:1253
1253      if (function == NULL)
(gdb) up
#1  0x101cf768 in eliminate_regs_in_insn (insn=0x300e5a40, replace=0) at ../../../cvsx/gccm/gcc/reload1.c:2796
2796          abort ();
(gdb) l
2791              || GET_CODE (PATTERN (insn)) == CLOBBER
2792              || GET_CODE (PATTERN (insn)) == ADDR_VEC
2793              || GET_CODE (PATTERN (insn)) == ADDR_DIFF_VEC
2794              || GET_CODE (PATTERN (insn)) == ASM_INPUT)
2795            return 0;
2796          abort ();
2797        }
2798
2799      if (! replace)
2800        push_obstacks (&reload_obstack, &reload_obstack);
(gdb) p debug_rtx(insn)
(insn 996 995 998 (set (mem:DI (reg/v:SI 0 r0) 0)
        (reg:DI 44 f12)) -1 (nil)
    (nil))
$1 = void





More information about the Gcc-bugs mailing list