No existing glibc version defines math_errhandling based on __NO_MATH_ERRNO__. I'd expect such a change to come with a glibc patch, and indeed a GCC execution test of the value of math_errhandling to make sure the compiler's behavior isn't contradicting what's declared by the runtime libraries. Also, the default should not be changed for pre-C99 C standard modes (or pre-C++11 C++, I suppose).
-- Joseph S. Myers jos...@codesourcery.com