Driver: Turn the default value for -fmath-errno into a proper target hook and...
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
Showing
- include/clang/Driver/ToolChain.h 3 additions, 0 deletionsinclude/clang/Driver/ToolChain.h
- lib/Driver/ToolChains.h 10 additions, 1 deletionlib/Driver/ToolChains.h
- lib/Driver/Tools.cpp 2 additions, 3 deletionslib/Driver/Tools.cpp
- test/Driver/fast-math.c 8 additions, 0 deletionstest/Driver/fast-math.c
Loading
Please register or sign in to comment