[flang-commits] [flang] a707675 - [flang][runtime] Enabled HAS_FLOAT128 for builds with clang.
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Fri Sep 23 16:22:02 PDT 2022
Author: Slava Zakharin
Date: 2022-09-23T16:20:09-07:00
New Revision: a707675dbba9ca3ec6e668f86fea2240a85ca171
URL: https://github.com/llvm/llvm-project/commit/a707675dbba9ca3ec6e668f86fea2240a85ca171
DIFF: https://github.com/llvm/llvm-project/commit/a707675dbba9ca3ec6e668f86fea2240a85ca171.diff
LOG: [flang][runtime] Enabled HAS_FLOAT128 for builds with clang.
I am building with clang, and I noticed for quite a while that
REAL(16) runtimes functions are not available. I did not know why
until I saw this typo.
Differential Revision: https://reviews.llvm.org/D134503
Added:
Modified:
flang/include/flang/Runtime/float128.h
Removed:
################################################################################
diff --git a/flang/include/flang/Runtime/float128.h b/flang/include/flang/Runtime/float128.h
index a5f96cae9febd..e222c6d2649a3 100644
--- a/flang/include/flang/Runtime/float128.h
+++ b/flang/include/flang/Runtime/float128.h
@@ -22,7 +22,7 @@
#undef HAS_FLOAT128
#if __x86_64__
-#if __GNUC__ >= 7 || __clang_major >= 7
+#if __GNUC__ >= 7 || __clang_major__ >= 7
#define HAS_FLOAT128 1
#endif
#elif defined __PPC__ && __GNUC__ >= 8
More information about the flang-commits
mailing list