https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89332
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-02-18 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- In general we lack sth like (sub-)array liveness analysis to guide loop opts that would help here. Yes, aggressive unrolling makes scalar opts do the job but that's hardly the solution we should strive for. These kind of testcases also look quite artificial.