-fno-math-errno by default
Gerald Pfeifer
gerald at pfeifer.com
Mon Feb 7 01:57:46 UTC 2011
On Sun, 6 Feb 2011, David Schultz wrote:
> That is correct. Basically nobody sets errno in the math library
> anymore, except for compatibility with old apps written for the
> System V math library. BSD never has and never will. IEEE 754
> floating point exception flags are much saner and faster.
Thanks for the confirmation, David!
> I submitted a change request to gcc about 2.5 years ago:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37073
Uh, that's not good. That is, you did the right thing, just Loren as
the upstream FreeBSD maintainer must have missed it somehow.
I'll see what I can do about it. (I also checked, and this plus
the one on -mfancy-math-387 are the only open issues from someone
@freebsd.org.)
Gerald
More information about the freebsd-toolchain
mailing list