[Bug other/42530] New: ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all
anton at samba dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 29 02:16:00 GMT 2009
An svn build from 20091229 is getting an ICE when building the following code:
int array[2][2];
void foo(int *a)
{
int i, j;
int sum, tmp = 0;
for (i=0; i<2; i++)
for (j=0; j<2; j++)
sum += array[i][j];
if (sum > 0) {
tmp = sum;
*a = tmp;
}
}
# /test/bin/gcc -c -O -g -ffast-math -floop-parallelize-all test.c
test.c: In function ÂfooÂ:
test.c:3:6: error: missing definition
for SSA_NAME: sum_8 in statement:
# DEBUG tmp => sum_8
test.c:3:6: internal compiler error: verify_ssa failed
It seems all of "-O -g -ffast-math -floop-parallelize-all" needs to be
specified to make it fail.
--
Summary: ICE in verify_ssa when using -O -g -ffast-math -floop-
parallelize-all
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anton at samba dot org
GCC target triplet: powerpc64-linux-gnu-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42530
More information about the Gcc-bugs
mailing list