http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54490
Bug #: 54490 Summary: ICE: Spill failure in newlib build Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Keywords: ice-on-valid-code, ra Severity: major Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: g...@gcc.gnu.org Target: avr ../../gcc.gnu.org/gcc-4_7-branch/configure --target=avr --prefix=/local/gnu/install/gcc-4.7 --disable-nls --with-dwarf2 --enable-languages=c,c++ --enable-target-optspace=yes --enable-checking=rtl,yes For this configure, the build aborts with a spill fail ICE if newlib is in the source path. SVN is from today's (2012-09-05) gcc-4_7-branch /home/georg/gnu/build/gcc-4.7-avr/./gcc/xgcc -B/home/georg/gnu/build/gcc-4.7-avr/./gcc/ -nostdinc -B/home/georg/gnu/build/gcc-4.7-avr/avr/avr25/newlib/ -isystem /home/georg/gnu/build/gcc-4.7-avr/avr/avr25/newlib/targ-include -isystem /home/georg/gnu/gcc.gnu.org/gcc-4_7-branch/newlib/libc/include -B/home/georg/gnu/build/gcc-4.7-avr/avr/avr25/libgloss/avr -L/home/georg/gnu/build/gcc-4.7-avr/avr/avr25/libgloss/libnosys -L/home/georg/gnu/gcc.gnu.org/gcc-4_7-branch/libgloss/avr -B/local/gnu/install/gcc-4.7/avr/bin/ -B/local/gnu/install/gcc-4.7/avr/lib/ -isystem /local/gnu/install/gcc-4.7/avr/include -isystem /local/gnu/install/gcc-4.7/avr/sys-include -mmcu=avr25 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.18.0\" -DPACKAGE_STRING=\"newlib\ 1.18.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib -Os -DPREFER_SIZE_OVER_SPEED -mcall-prologues -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES -fno-builtin -g -Os -mmcu=avr25 -c -o lib_a-mprec.o `test -f 'mprec.c' || echo '../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib/'`mprec.c ../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib/mprec.c: In function '__multiply': ../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib/mprec.c:419:1: error: unable to find a register to spill in class 'POINTER_REGS' ../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib/mprec.c:419:1: error: this is the insn: (insn 98 97 101 12 (set (reg:SI 75 [ D.2858 ]) (mem:SI (post_inc:HI (reg:HI 16 r16 [orig:50 ivtmp.180 ] [50])) [16 MEM[base: D.3213_188, offset: 0B]+0 S4 A8])) ../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib/mprec.c:370 36 {*movsi} (expr_list:REG_INC (reg:HI 16 r16 [orig:50 ivtmp.180 ] [50]) (nil))) ../../../../../../../gcc.gnu.org/gcc-4_7-branch/newlib/libc/stdlib/mprec.c:419:1: internal compiler error: in spill_failure, at reload1.c:2120 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[8]: *** [lib_a-mprec.o] Error 1 make[8]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/avr25/newlib/libc/stdlib' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/avr25/newlib/libc' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/avr25/newlib' make[5]: *** [all] Error 2 make[5]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/avr25/newlib' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/newlib' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/newlib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/local/gnu/build/gcc-4.7-avr/avr/newlib' make[1]: *** [all-target-newlib] Error 2 make[1]: Leaving directory `/local/gnu/build/gcc-4.7-avr' make: *** [all] Error 2