On Fri, 12 Jan 2018, Wilco Dijkstra wrote: > I've updated the patch to exclude pre-C99 C/C++/ObjC:
Another question to consider: what about configurations (mostly soft-float) where floating-point exceptions are not supported? (glibc wrongly defines math_errhandling to include MATH_ERREXCEPT there, but the only option actually permitted by C99 in that case would be to define it to MATH_ERRNO.) If we wish to distinguish that case, the targetm.float_exceptions_rounding_supported_p hook is the one to use (in the absence of anyone identifying a target that supports exceptions but not rounding modes) - possibly together with flag_iso. > lroundf in GLIBC doesn't set errno, so all the inefficiency was for nothing: (glibc bug 6797.) -- Joseph S. Myers jos...@codesourcery.com