https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107647
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53947 Summary|GCC 12.2.0 may produce FMAs |[12/13 Regression] GCC |even with -ffp-contract=off |12.2.0 may produce FMAs | |even with -ffp-contract=off Target Milestone|--- |12.3 Keywords| |wrong-code Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2022-11-11 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. It is SLP that is doing it. At -O3 even GCC 11 is working ok. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations