diff options
author | Brad Smith <brad@comstyle.com> | 2023-12-01 16:07:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 16:07:16 -0500 |
commit | 027935d3cd2886d3dd07741539305f972c5f7e5f (patch) | |
tree | d6e5f2c04e21aeef1679036159bd6f69ef66173a /openmp | |
parent | 25ea0e9d9a262d228b1c43ac1906017822dcc365 (diff) | |
download | llvm-027935d3cd2886d3dd07741539305f972c5f7e5f.zip llvm-027935d3cd2886d3dd07741539305f972c5f7e5f.tar.gz llvm-027935d3cd2886d3dd07741539305f972c5f7e5f.tar.bz2 |
[OpenMP] Re-enable KMP_HAVE_QUAD on NetBSD 10.0 with GCC 10.5 (#73478)
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/runtime/src/kmp_os.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h index ca694f6..beb8d01 100644 --- a/openmp/runtime/src/kmp_os.h +++ b/openmp/runtime/src/kmp_os.h @@ -105,8 +105,9 @@ 128-bit extended precision type yet */ typedef long double _Quad; #elif KMP_COMPILER_GCC -/* GCC on NetBSD lacks __multc3/__divtc3 builtins needed for quad */ -#if !KMP_OS_NETBSD +/* GCC on NetBSD lacks __multc3/__divtc3 builtins needed for quad until + NetBSD 10.0 which ships with GCC 10.5 */ +#if (!KMP_OS_NETBSD || __GNUC__ >= 10) typedef __float128 _Quad; #undef KMP_HAVE_QUAD #define KMP_HAVE_QUAD 1 |