https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94587
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I don't see anything wrong, with -mavx512vl -O2 FMA is used, while it isn't used without those options. Use -ffp-contract=off if you don't like this, the default is -ffp-contract=fast as documented.