projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5784cdf
)
Fixed: gcc-4.9 does not support DCAS for atomic (a lot of crashes in TaggedFreeList)
author
khizmax
<khizmax@gmail.com>
Wed, 16 Nov 2016 07:20:31 +0000
(10:20 +0300)
committer
khizmax
<khizmax@gmail.com>
Wed, 16 Nov 2016 07:20:31 +0000
(10:20 +0300)
cds/compiler/gcc/defs.h
patch
|
blob
|
history
diff --git
a/cds/compiler/gcc/defs.h
b/cds/compiler/gcc/defs.h
index
5c4fb8a
..
055fd10
100644
(file)
--- a/
cds/compiler/gcc/defs.h
+++ b/
cds/compiler/gcc/defs.h
@@
-104,7
+104,8
@@
// 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