https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116459
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |12.1.0, 12.2.0 Known to work| |11.5.0, 12.3.0, 13.1.0 Resolution|--- |FIXED Target Milestone|--- |12.3 Status|UNCONFIRMED |RESOLVED --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Seems to be fixed in 12.3? Note the pasted testcase in the description needs the mask = 1; like commented to reproduce the issue with 12.1 and 12.2.