https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49695
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Target Milestone|--- |12.0 Known to work| |12.1.0 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On x86_64 with AVX2, and masked stores, GCC 12 is able to vectorize this loop just fine. On aarch64 with SVE2, GCC 12 is also able to vectorize the loop just fine too. I am just going to close as fixed.