http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- BTW, it actually doesn't reproduce on the trunk starting with r209313, but guess that just made the bug latent, supposedly because nothing actually uses the x array, guess the testcase should be improved to pass it to some external function. 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); } A * 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); } return x; } ICEs even with latest trunk.