diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-09-23 20:32:52 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-09-23 20:32:52 +0000 |
commit | 0cfdd4dfc678ca33418acad4f7b38df9409b200d (patch) | |
tree | 79b06facc60329fdb6df91169aac62871531bae9 /lib/Frontend/CompilerInvocation.cpp | |
parent | 560b6b60eb83c4776255a27e23e95fef73171cf5 (diff) | |
download | clang-0cfdd4dfc678ca33418acad4f7b38df9409b200d.tar.gz |
Revert "set the underlying value of “#pragma STDC FP_CONTRACT” on by default"
This reverts commit r282259, as it broke the AArch64 test-suite bots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 52282e94f4..c3fbda114e 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -2445,12 +2445,6 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res, if (Arch == llvm::Triple::spir || Arch == llvm::Triple::spir64) { Res.getDiagnosticOpts().Warnings.push_back("spir-compat"); } - - if ((LangOpts.C11 || LangOpts.C99 || LangOpts.CPlusPlus) && - (CodeGenOptions::FPC_On == Res.getCodeGenOpts().getFPContractMode()) && - !LangOpts.CUDA) - LangOpts.DefaultFPContract = 1; - return Success; } |