PR c++/60272
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Feb 2014 17:43:53 +0000 (17:43 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Feb 2014 17:43:53 +0000 (17:43 +0000)
commitd86e37524da30190b22017cc46a278c3ebfceb5c
tree8ec4b08823b9b5486cecde9c93f376b7f59cf42e
parent73e15dfcff00049654d5f5eba0889e2a7d3d80cf
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207966 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
libatomic/ChangeLog
libatomic/cas_n.c