https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118215
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Version|unknown |15.0 Last reconfirmed| |2024-12-30 Status|UNCONFIRMED |NEW --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Well, the issue is that for the reduction to be vectorized we need the store to be moved out of the loop which requires an alias versioning, but the store-motion pass doesn't do this. I'd be hesitant to add alias versioning to store-motion, but I guess there's not much better alternatives, so doing like loop distribution does might be possible, but for a very restricted set of cases only.