From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12565 invoked by alias); 5 Sep 2012 11:52:47 -0000 Received: (qmail 12551 invoked by uid 22791); 5 Sep 2012 11:52:46 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Sep 2012 11:52:25 +0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/54490] New: ICE: Spill failure in newlib build Date: Wed, 05 Sep 2012 11:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: major X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-09/txt/msg00351.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: gjl@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 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