This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Change default to -fno-math-errno
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Fri, 27 Oct 2017 16:28:24 +0000
- Subject: Re: [PATCH] Change default to -fno-math-errno
- Authentication-results: sourceware.org; auth=none
- References: <DB6PR0801MB205326BE2D5879D558DD571C835A0@DB6PR0801MB2053.eurprd08.prod.outlook.com>
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
joseph@codesourcery.com