https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85366
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-12 Component|target |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. I think the most natural thing would be to apply additional jump threading here (aka rotate the inner loop).