[Bug c++/60969] [4.9/4.10 Regression] ICE in output_129 in MMXMOV of mode MODE_SF for march=pentium4
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 25 16:01:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-04-25
CC| |jakub at gcc dot gnu.org,
| |rth at gcc dot gnu.org
Target Milestone|--- |4.9.1
Summary|ICE in output_129 in MMXMOV |[4.9/4.10 Regression] ICE
|of mode MODE_SF for |in output_129 in MMXMOV of
|march=pentium4 |mode MODE_SF for
| |march=pentium4
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
struct A
{
float f, g, h, k;
A () {}
A (float v0, float x, float y) : f(v0), g(x), h(y), k(0.0f) {}
A bar (A &a, float t) { return A (f + a.f * t, g + a.g * t, h + a.h * t); }
};
A
baz (A &x, A &y, float t)
{
return x.bar (y, t);
}
void
foo (A &s, A &t, A &u, A &v, int y, int z)
{
A *x = new A[y * z];
for (int i = 0; i < 7; i++)
{
A s = baz (s, u, i / (float) z);
A t = baz (t, v, i / (float) z);
for (int j = 0; j < 7; j++)
x[i * y + j] = baz (s, t, j / (float) y);
}
}
Started with r208587.
More information about the Gcc-bugs
mailing list