This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36172] [4.4 Regression] ice for legal code with -O3
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2008 21:37:43 -0000
- Subject: [Bug middle-end/36172] [4.4 Regression] ice for legal code with -O3
- References: <bug-36172-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from rguenth at gcc dot gnu dot org 2008-05-07 21:37 -------
More reduced:
int f(float * );
__SIZE_TYPE__ 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 (__SIZE_TYPE__) fcs;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36172