https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.1.0, 13.0 Summary|Problem with GCC |[10/11/12 Regression] Loop |optimizition |distribute issue Keywords| |needs-bisection, wrong-code Ever confirmed|0 |1 Last reconfirmed| |2022-10-19 Target Milestone|--- |10.5 Known to fail| |10.2.0, 10.4.0, 11.1.0, | |12.2.0 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks to be fixed on the trunk; sometime after 20220708 . Options tested: `-O2 -fno-tree-vectorize` which is able to reproduce the issue on 12.1.0