[Bug c/25929] ICE with -ftree-loop-linear
uttamp at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 25 16:56:00 GMT 2006
------- Comment #3 from uttamp at us dot ibm dot com 2006-01-25 16:56 -------
Reduced test case
int vq_index(float *in, const float *codebook, int len, int entries)
{
int i,j;
int best_index=0;
for (i=0;i<entries;i++)
{
float dist=0;
for (j=0;j<len;j++)
{
float tmp = in[j]-*codebook++;
dist += tmp*tmp;
}
if (i==0 || dist<0)
{
best_index=i;
}
}
return best_index;
}
$ elm3b11:/home/pawar> /opt/gcc-nightly/trunk-20060123/bin/gcc -O1
-ftree-loop-linear -c ccbdYzn2.c
ccbdYzn2.c: In function Âvq_indexÂ:
ccbdYzn2.c:3: internal compiler error: in lambda_loopnest_to_gcc_loopnest, at
lambda-code.c:1982
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25929
More information about the Gcc-bugs
mailing list