[flang-commits] [flang] 823a597 - [flang] Workaround build failure.
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Mon Feb 24 10:37:44 PST 2025
Author: Slava Zakharin
Date: 2025-02-24T10:36:36-08:00
New Revision: 823a597d2ad0a76e8d5278a789f37a07b393cd2a
URL: https://github.com/llvm/llvm-project/commit/823a597d2ad0a76e8d5278a789f37a07b393cd2a
DIFF: https://github.com/llvm/llvm-project/commit/823a597d2ad0a76e8d5278a789f37a07b393cd2a.diff
LOG: [flang] Workaround build failure.
https://lab.llvm.org/buildbot/#/builders/140/builds/17587
Looks like it is related to some specific version of the build compiler.
Added:
Modified:
flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp
Removed:
################################################################################
diff --git a/flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp b/flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp
index c194c3513d7a8..39ce69a45ce18 100644
--- a/flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp
+++ b/flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp
@@ -202,7 +202,9 @@ static constexpr RuntimeFunction runtimeFuncsTable[] = {
static constexpr Fortran::common::StaticMultimapView<RuntimeFunction>
runtimeFuncs(runtimeFuncsTable);
-static_assert(runtimeFuncs.Verify() && "map must be sorted");
+// FIXME: re-enable after figuring out this failure:
+// https://lab.llvm.org/buildbot/#/builders/140/builds/17587
+// static_assert(runtimeFuncs.Verify() && "map must be sorted");
// Set attributes for the given Fortran runtime call.
// The symbolTable is used to cache the name lookups in the module.
More information about the flang-commits
mailing list