[Bug middle-end/36172] [4.4 Regression] ice for legal code with -O3
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 7 21:48:00 GMT 2008
------- Comment #9 from rguenth at gcc dot gnu dot org 2008-05-07 21:47 -------
PA_IN/OUT computes different for s/(unsigned long)/(long)/ in the following
testcase (long works):
int f(float * );
unsigned long FcCharSetFreeze (int *fcs, int b)
{
int i;
int a = 0;
for (i = 0; i < *fcs; i++)
{
float *leaf = (float *)fcs;
int hash = f (leaf);
if (hash)
a = b;
if (!a)
return;
}
return (unsigned long) fcs;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36172
More information about the Gcc-bugs
mailing list