https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77515
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC enables it with -O2 not just -O3. GCC also defaults to -ffp-contract=on. This has been true since 2.95.3 or even earlier (most likely ever since PowerPC support was added).