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
aclocal.m4
auto-config.h.in
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
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
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
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