[flang-commits] [flang] 42c79f7 - Fix build flang issue. (#100736)

via flang-commits flang-commits at lists.llvm.org
Fri Jul 26 06:25:02 PDT 2024


Author: Zahira Ammarguellat
Date: 2024-07-26T09:24:58-04:00
New Revision: 42c79f70f1aea05ab523c731a6b5985a57679de4

URL: https://github.com/llvm/llvm-project/commit/42c79f70f1aea05ab523c731a6b5985a57679de4
DIFF: https://github.com/llvm/llvm-project/commit/42c79f70f1aea05ab523c731a6b5985a57679de4.diff

LOG: Fix build flang issue. (#100736)

Added: 
    

Modified: 
    flang/lib/Frontend/CompilerInvocation.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp
index 8c892d9d032e1..7c7f003cf731c 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -1072,7 +1072,7 @@ static bool parseFloatingPointArgs(CompilerInvocation &invoc,
     opts.setFPContractMode(fpContractMode);
   }
 
-  if (args.getLastArg(clang::driver::options::OPT_menable_no_infinities)) {
+  if (args.getLastArg(clang::driver::options::OPT_menable_no_infs)) {
     opts.NoHonorInfs = true;
   }
 


        


More information about the flang-commits mailing list