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

Zahira Ammarguellat via flang-commits flang-commits at lists.llvm.org
Fri Jul 26 06:07:33 PDT 2024


https://github.com/zahiraam created https://github.com/llvm/llvm-project/pull/100736

None

>From 9b8900f827bd4bf17fe612d98df0b966c621340c Mon Sep 17 00:00:00 2001
From: Zahira Ammarguellat <Zahira.Ammarguellat at intel.com>
Date: Fri, 26 Jul 2024 06:06:32 -0700
Subject: [PATCH] Fix build flang issue.

---
 flang/lib/Frontend/CompilerInvocation.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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