Fixed: gcc-4.9 does not support DCAS for atomic (a lot of crashes in TaggedFreeList)
[libcds.git] / cds / compiler / gcc / defs.h
index 5c4fb8a3d03f32ce7ea9634b8a24eb98b86da730..055fd10da6765d0c29ae9e47f3cadc05114f9725 100644 (file)
 
 // double-width CAS support
 // note: gcc-4.8 does not support double-word atomics
-#if CDS_COMPILER_VERSION >= 40900
+//       gcc-4.9: a lot of crashes when use DCAS
+#if CDS_COMPILER_VERSION >= 50000
 #   if CDS_BUILD_BITS == 64
 #       ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
 #           define CDS_DCAS_SUPPORT