gcc/libatomic
Richard Henderson 672ce9397b re PR c++/60272 (atomic<>::compare_exchange_weak has spurious store and can cause race conditions)
PR c++/60272

gcc/
	* builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
	on failure the store back into EXPECT.
libatomic/
	* cas_n.c (libat_compare_exchange): Conditionalize on failure
	the store back to EPTR.

From-SVN: r207966
2014-02-20 09:43:53 -08:00
..
config Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
testsuite Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
.gitignore
acinclude.m4 acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message. 2012-11-05 00:27:03 +01:00
aclocal.m4
auto-config.h.in tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
cas_n.c re PR c++/60272 (atomic<>::compare_exchange_weak has spurious store and can cause race conditions) 2014-02-20 09:43:53 -08:00
ChangeLog re PR c++/60272 (atomic<>::compare_exchange_weak has spurious store and can cause race conditions) 2014-02-20 09:43:53 -08:00
configure tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
configure.ac Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
configure.tgt Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
exch_n.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
fadd_n.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
fand_n.c
fenv.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
fior_n.c
fnand_n.c
fop_n.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
fsub_n.c
fxor_n.c
gcas.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
gexch.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
glfree.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
gload.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
gstore.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
host-config.h Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
init.c
libatomic_i.h Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
libatomic.map tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
load_n.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
Makefile.am Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
Makefile.in tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
store_n.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00
tas_n.c Update copyright years in libatomic/ 2014-01-02 22:24:30 +00:00