https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106217
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-07-06 Target Milestone|--- |11.4 CC| |pinskia at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Note changing mass[i] to mass[0] will vectorize the loop still as LIM is done before the first sinking pass (this changed with r7-879-g43c0068e60ad15) and we don't sink loads into loops.