https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization Last reconfirmed| |2021-08-15 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |wrong-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like the SLP vectorizer this. -O3 -fno-tree-slp-vectorize works.