[Openmp-commits] [openmp] 8c74def - [OpenMP] Fix extra parenthesis in kmp_os.h
Vadim Paretsky via Openmp-commits
openmp-commits at lists.llvm.org
Mon Feb 13 21:44:26 PST 2023
Author: Vadim Paretsky (Intel Americas Inc)
Date: 2023-02-13T21:43:36-08:00
New Revision: 8c74defcca50837ab16ee9a3d4f5c3c95dcb68f9
URL: https://github.com/llvm/llvm-project/commit/8c74defcca50837ab16ee9a3d4f5c3c95dcb68f9
DIFF: https://github.com/llvm/llvm-project/commit/8c74defcca50837ab16ee9a3d4f5c3c95dcb68f9.diff
LOG: [OpenMP] Fix extra parenthesis in kmp_os.h
Differential Revision: https://reviews.llvm.org/D143940
Added:
Modified:
openmp/runtime/src/kmp_os.h
Removed:
################################################################################
diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h
index 1b07dca9031de..c78f3eeaf7cdc 100644
--- a/openmp/runtime/src/kmp_os.h
+++ b/openmp/runtime/src/kmp_os.h
@@ -610,7 +610,7 @@ inline kmp_int32 __kmp_compare_and_store_ptr(void *volatile *p, void *cv,
#define KMP_XCHG_FIXED8(p, v) \
_InterlockedExchange8((volatile kmp_int8 *)(p), (kmp_int8)(v));
#define KMP_XCHG_FIXED16(p, v) _InterlockedExchange16((p), (v));
-#define KMP_XCHG_REAL64(p, v) __kmp_xchg_real64((p), (v)));
+#define KMP_XCHG_REAL64(p, v) __kmp_xchg_real64((p), (v));
inline kmp_real64 __kmp_xchg_real64(volatile kmp_real64 *p, kmp_real64 v) {
kmp_int64 tmp = _InterlockedExchange64((volatile kmp_int64 *)p, *(kmp_int64
More information about the Openmp-commits
mailing list