[flang-commits] [flang] df487bc - [flang] Fix buildbot failure after D135610.
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Tue Oct 11 08:57:30 PDT 2022
Author: Slava Zakharin
Date: 2022-10-11T08:56:52-07:00
New Revision: df487bc425101c2550261db705f24f446967c6a7
URL: https://github.com/llvm/llvm-project/commit/df487bc425101c2550261db705f24f446967c6a7
DIFF: https://github.com/llvm/llvm-project/commit/df487bc425101c2550261db705f24f446967c6a7.diff
LOG: [flang] Fix buildbot failure after D135610.
Differential Revision: https://reviews.llvm.org/D135684
Added:
Modified:
flang/runtime/extrema.cpp
Removed:
################################################################################
diff --git a/flang/runtime/extrema.cpp b/flang/runtime/extrema.cpp
index 6e7e07c1fdf5..00c02ee6632a 100644
--- a/flang/runtime/extrema.cpp
+++ b/flang/runtime/extrema.cpp
@@ -214,11 +214,13 @@ void RTNAME(MaxlocInteger8)(Descriptor &result, const Descriptor &x, int kind,
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 8, true>(
"MAXLOC", result, x, kind, source, line, mask, back);
}
+#ifdef __SIZEOF_INT128__
void RTNAME(MaxlocInteger16)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 16, true>(
"MAXLOC", result, x, kind, source, line, mask, back);
}
+#endif
void RTNAME(MaxlocReal4)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Real, 4, true>(
@@ -268,11 +270,13 @@ void RTNAME(MinlocInteger8)(Descriptor &result, const Descriptor &x, int kind,
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 8, false>(
"MINLOC", result, x, kind, source, line, mask, back);
}
+#ifdef __SIZEOF_INT128__
void RTNAME(MinlocInteger16)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 16, false>(
"MINLOC", result, x, kind, source, line, mask, back);
}
+#endif
void RTNAME(MinlocReal4)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Real, 4, false>(
More information about the flang-commits
mailing list