On Fri, Oct 27, 2017 at 6:28 PM, Joseph Myers <jos...@codesourcery.com> wrote:
> 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).

Should we also get the __ieee764_ entries used if the compiler sets
__NO_MATH_ERRNO__?  That is, if the librari advertises not setting errno
via math_errhandling is it still allowed to set/clobber errno anyways?

Richard.

> --
> Joseph S. Myers
> jos...@codesourcery.com

Reply via email to