https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96548
David Binderman <dcb314 at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- Here is another test case which demonstrates the fault: int a, b, c, e; int *d; void f() { if (0) { for (; b;) { c = f; g: for (; e;) ; } c |= a ?: 1; if (*d) d = e; } goto g; } Flag -O2 required.