https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34195
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- We apply store-motion to the inner loop (if you disable unrolling with a pragma or -fdisable-tree-cunrolli or by incrasing M). We apply outer loop vectorization with the inner loop not unrolled and loop vectorization when it is unrolled. So IMHO nothing left to fix here (whatever the exact desire was ;)). I'll add a testcase.