From a707675dbba9ca3ec6e668f86fea2240a85ca171 Mon Sep 17 00:00:00 2001 From: Slava Zakharin Date: Thu, 22 Sep 2022 16:58:53 -0700 Subject: [PATCH] [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 --- flang/include/flang/Runtime/float128.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang/include/flang/Runtime/float128.h b/flang/include/flang/Runtime/float128.h index a5f96ca..e222c6d 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 -- 2.7.4