[Bug tree-optimization/25937] ICE with -O2 -ftree-loop-linear
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 24 02:00:00 GMT 2006
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-24 02:00 -------
Confirmed, for us normal people who cannot copy and paste without the line
numbers:
int func(float *v1, const float *v2, int l, int e)
{
int i,j, bi=0;
float md=0, d=0, t;
for (i=0;i< e;i--)
{
for (j=0;j<l;j++)
{
t = v1[j]-*v2++;
d += t*t;
}
if ( d > md)
md=d;
}
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-01-24 02:00:48
date| |
Summary|ICE: Illegal instruction, |ICE with -O2 -ftree-loop-
|with valid code |linear
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25937
More information about the Gcc-bugs
mailing list