https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67816
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-10-05 CC| |trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- A bit further reduced: int a, c, d, e; int b[10]; void fn1() { int i, f = 0; for (;;) { i = 0; for (; i < a; i++) if (c) { if (b[i]) f = 1; } else if (b[i]) f = 0; if (f) d++; while (e) ; } } Confirmed on ppc64le. Only happens with checking=release.