This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: Darwin rs6000/i386: make no-math-errno default
- From: Dale Johannesen <dalej at apple dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Dale Johannesen <dalej at apple dot com>
- Date: Thu, 9 Jun 2005 16:32:08 -0700
- Subject: Patch: Darwin rs6000/i386: make no-math-errno default
The math libraries on Darwin (all flavors) do not set errno, and never
will.
It is therefore pointless for the compiler to generate code that allows
for
the possibility they might. This makes -fno-math-errno the default on
Darwin.
2005-06-09 Dale Johannesen <dalej@apple.com>
* config/i386/i386.c (optimization_options): Make
-fno-math-errno
the default on Darwin.
* config/rs6000/rs6000.c (optimization_options): Ditto.
* doc/invoke.texi (-fno-math-errno): Document.
Attachment:
diffs10.txt
Description: Text document