* src/atomic_ops_stack.c [!USE_ALMOST_LOCK_FREE
&& AO_HAVE_compare_double_and_swap_double && __clang__]
(AO_stack_pop_acquire): Do not declare cptr local variable as volatile
if AO_CLANG_PREREQ(3, 5).
AO_ATTR_NO_SANITIZE_THREAD
AO_t *AO_stack_pop_acquire(AO_stack_t *list)
{
-# ifdef __clang__
+# if defined(__clang__) && !AO_CLANG_PREREQ(3, 5)
AO_t *volatile cptr;
/* Use volatile to workaround a bug in */
/* clang-1.1/x86 causing test_stack failure. */