(fix commit
c058d9d)
Thread Sanitizer does not know the semantic of the asm synchronization
instructions.
* src/atomic_ops/sysdeps/gcc/x86.h [x86_64 && !ILP32
&& __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 && AO_THREAD_SANITIZER]
(AO_compare_double_and_swap_double_full): Do not define.
# define AO_HAVE_double_compare_and_swap_full
#elif defined(AO_CMPXCHG16B_AVAILABLE) \
- || defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16)
+ || (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16) \
+ && !defined(AO_THREAD_SANITIZER))
# include "../standard_ao_double_t.h"
/* The Intel and AMD Architecture Programmer Manuals state roughly */