From fa007aeef4a81647dfb428b87960ed84a649f29c Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Fri, 23 Sep 2016 20:32:52 +0000 Subject: =?UTF-8?q?Revert=20"set=20the=20underlying=20value=20of=20?= =?UTF-8?q?=E2=80=9C#pragma=20STDC=20FP=5FCONTRACT=E2=80=9D=20on=20by=20de?= =?UTF-8?q?fault"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit r282259, as it broke the AArch64 test-suite bots. llvm-svn: 282289 --- clang/lib/Frontend/CompilerInvocation.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 52282e9..c3fbda11 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/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; } -- cgit v1.1