https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96371
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- The target hook float_exceptions_rounding_supported_p can be used to determine whether support for exceptions and rounding modes is available. For any architectures with hardware floating point that doesn't support exceptions and rounding modes it may give the wrong result (i.e. not have been added for those architectures), however. It's not currently used for optimization purposes.