We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5abd86c + d9895ce commit 2e07340Copy full SHA for 2e07340
opal/include/opal/sys/gcc_builtin/atomic.h
@@ -52,7 +52,7 @@
52
#define OPAL_HAVE_ATOMIC_SWAP_64 1
53
54
55
-#if (OPAL_ASSEMBLY_ARCH == OPAL_X86_64) && defined (__GNUC__) && !defined(__llvm) && (__GNUC__ < 6)
+#if defined(PLATFORM_ARCH_X86_64) && defined(PLATFORM_COMPILER_GNU) && __GNUC__ < 8
56
/* work around a bug in older gcc versions where ACQUIRE seems to get
57
* treated as a no-op instead */
58
#define OPAL_BUSTED_ATOMIC_MB 1
0 commit comments