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
..
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00
2014-01-02 22:24:30 +00:00