https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102788
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|12.0 |11.3 Known to work| |12.0 Summary|[12 Regression] Wrong code |[11 Regression] Wrong code |with -O3 |with -O3 Priority|P1 |P2 --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed on trunk but the issue is latent since the introduction of the forwprop pattern. I'm considering backporting to GCC 11.