From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22884 invoked by alias); 4 Oct 2012 17:17:04 -0000 Received: (qmail 22812 invoked by uid 48); 4 Oct 2012 17:16:46 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/54814] New: [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG' Date: Thu, 04 Oct 2012 17:17: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: normal 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-10/txt/msg00354.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54814 Bug #: 54814 Summary: [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG' Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, ra Severity: normal Priority: P3 Component: other AssignedTo: unassigned@gcc.gnu.org ReportedBy: gjl@gcc.gnu.org CC: eric.weddington@atmel.com Target: avr Created attachment 28358 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28358 spills.txt: Hundreds of Spill Fails The testsuit throws hundreds of spill fails when running against the avr cross compiler. The testsuite used to produce about ~5 spill fails with avr-gcc. The strange with these spill fails is that they report register class RO_REG which contains just one fixed register. ./gcc/testsuite/gcc.c-torture/compile/20010426-1.c:19:1: error: unable to find a register to spill in class 'R0_REG' ./gcc/testsuite/gcc.c-torture/compile/20040121-1.c:41:1: error: unable to find a register to spill in class 'R0_REG' ... For a complete list see attachment. == configure == SVN trunk r192090 from today (2012-10-04) $ ../../gcc.gnu.org/trunk/configure --target=avr --prefix=/local/gnu/install/gcc-4.8 --disable-nls --with-dwarf2 --enable-target-optspace=yes --enable-languages=c,c++