This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/54814] New: [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG'
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Oct 2012 17:16:45 +0000
- Subject: [Bug other/54814] New: [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG'
- Auto-submitted: auto-generated
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++