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
testsuite
.gitignore
acinclude.m4
aclocal.m4
auto-config.h.in
cas_n.c
ChangeLog
configure
configure.ac
configure.tgt
exch_n.c
fadd_n.c
fand_n.c
fenv.c
fior_n.c
fnand_n.c
fop_n.c
fsub_n.c
fxor_n.c
gcas.c
gexch.c
glfree.c
gload.c
gstore.c
host-config.h
init.c
libatomic_i.h
libatomic.map
load_n.c
Makefile.am
Makefile.in
store_n.c
tas_n.c