https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110975
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Sorry, got the testcase wrong. Fixed one int *a; void test (int n) { int i; for (i=0 ; i < n; i++) a[i]++; for (; i <= n; i++) a[i]--; } seems to work correctly so I need to figure out why it does not when produced by loop-split.