]> granicus.if.org Git - clang/commit
Driver: Turn the default value for -fmath-errno into a proper target hook and disable...
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 2 May 2012 14:55:48 +0000 (14:55 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 2 May 2012 14:55:48 +0000 (14:55 +0000)
commit769aa2d46fa5dc0bee5285c95a80ad8749cb79cf
tree515a65d780b421ee5e78c60103c9e79bb7ba8caa
parentd6268ffe94e5159ef41c61fe7f750c22546d3ef3
Driver: Turn the default value for -fmath-errno into a proper target hook and disable it by default on more platforms.

For now -fno-math-errno is the default on BSD-derived platforms (Darwin,
DragonFlyBSD, FreeBSD, NetBSD, OpenBSD). If the default is not right for
your platform, please yell. I only verified the result with the default
compilers on Darwin and FreeBSD.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155990 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/ToolChain.h
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
test/Driver/fast-math.c