https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110243
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wrong code at -O3 on |[13/14 Regression] Wrong |x86_64-linux-gnu |code at -O3 on | |x86_64-linux-gnu Known to fail| |13.1.0 Last reconfirmed| |2023-06-13 Target Milestone|--- |13.2 Status|UNCONFIRMED |NEW Component|middle-end |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. I don't know if this is an IV-OPTs issue but turning off iv-opts fixes the issue ...