This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]