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:47:18 -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 #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