diff options
author | Richard Henderson <rth@redhat.com> | 2014-02-20 09:43:53 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2014-02-20 09:43:53 -0800 |
commit | 672ce9397b78c077e21d785a2ddf9fffd51a1952 (patch) | |
tree | 8ec4b08823b9b5486cecde9c93f376b7f59cf42e /gcc/tree-ssa-uninit.c | |
parent | 95ce7613d537f5a3e9e36da0ca6aa752f60da8e0 (diff) | |
download | gcc-672ce9397b78c077e21d785a2ddf9fffd51a1952.zip gcc-672ce9397b78c077e21d785a2ddf9fffd51a1952.tar.gz gcc-672ce9397b78c077e21d785a2ddf9fffd51a1952.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
0 files changed, 0 insertions, 0 deletions