This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2007 10:15:24 -0000
- Subject: [Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize
- References: <bug-32681-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from ubizjak at gmail dot com 2007-07-09 10:15 -------
(In reply to comment #3)
> where first_edge->aux is NULL.
Looking into it.
Reduced testcase is:
--cut here--
int aa_renderpalette (int p)
{
int y = 42;
int i;
for (i = 0; i < 256; i++)
{
if (y > 255)
y = 255;
if (y < 0)
y = 0;
if (p)
y = (y < p ? 0 : (y > p) * 255 / (255 - 2 * p));
}
return y;
}
--cut here--
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32681