http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51527
Bug #: 51527
Summary: ICE: Segmentation fault: 'convert_to_integer' enters
infinite recursion
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Host: i686-pc-linux-gnu
Target: avr
Build: i686-pc-linux-gnu
== Code ==
void test_1 (void)
{
int i;
// notice it works with __uint24
__int24 a, b;
for (i = 0; i < 500; i++)
{
if (i & 1)
a += 0x7654321L;
else
b += 0x5fe453L;
}
}
This code enters infinite recurson.
Configured with: ../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/home/georg/install/gcc-4.7 --disable-nls --enable-languages=c,c++
--with-dwarf2 --enable-checking=yes,rtl