This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39241] [4.4 Regression] ICE in subreg_get_info, at rtlanal.c:3104
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2009 13:16:59 -0000
- Subject: [Bug target/39241] [4.4 Regression] ICE in subreg_get_info, at rtlanal.c:3104
- References: <bug-39241-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2009-02-19 13:16 -------
Reduced testcase:
static inline int
foo (float f)
{
return *((int *) &f) - 1;
}
float
bar (float x, float y, float *z)
{
float c = y < 0.002f ? 0.002f : y;
float d = x < c ? c : x;
return z[foo (c)] + z[foo (d * 255.0f)];
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39241