https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101479
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If you want -ffast-math and fetestexcept still, add -ftrapping-math to the end of the command line.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 16 Jul 2021 14:09:40 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101479
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If you want -ffast-math and fetestexcept still, add -ftrapping-math to the end of the command line.