https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to James Greenhalgh from comment #6) > None of the logic was there in the original code, so there is not much to > compare. ?? Since -fexcess-precision=standard has been introduced, gcc has the excess precision notion. So there is something to compare. E.g. try float foo (float x, float y, float z) { return x + y + z; } before your changes with -fdump-tree-gimple -m32 -msse2 -mno-80387 -fexcess-precision=standard -fdump-tree-gimple -m32 -msse2 -mfpmath=387+sse -fexcess-precision=standard -fdump-tree-gimple -m32 -msse2 -mfpmath=387 -fexcess-precision=standard -fdump-tree-gimple -m32 -msse2 -mfpmath=sse -fexcess-precision=standard -fdump-tree-gimple -m32 -msse -mno-sse2 -mfpmath=sse -fexcess-precision=standard to match the different cases in your hook, and compare that to what you get with the current trunk.