This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51527] New: ICE: Segmentation fault: 'convert_to_integer' enters infinite recursion
- 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: Tue, 13 Dec 2011 12:28:03 +0000
- Subject: [Bug c/51527] New: ICE: Segmentation fault: 'convert_to_integer' enters infinite recursion
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: gjl@gcc.gnu.org
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