https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102129
--- Comment #3 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- Implementation details about trap enablement is outside the scope of ISO C, but the existence of traps is explicitly allowed by Annex F (when supported). F.8 says: "It includes also IEC 60559 dynamic rounding precision and trap enablement modes, if the implementation supports them." Note that Glibc provides feenableexcept and fedisableexcept to enable and disable traps, and GCC should not ignore this possibility.