https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-04-30 Status|UNCONFIRMED |WAITING --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The loop gets vectorized, I don't see the problem really. Also I don't see the preprocessed source. Can you attach that? Is the problem that the loads have to be done in 2 bytes always from the hardware? If so then you need to mark the pointer as volatile.