OSDN Git Service

PR libstdc++/51798
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 20:26:03 +0000 (20:26 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 20:26:03 +0000 (20:26 +0000)
commitec9b7e8abfd6d91cbc9d6a088a0b5a863252df07
tree5b7db7f79034ddfe2f779404f6d0f19901311e42
parent44eb672eba0123f2963b5a076eb329a1924c4284
PR libstdc++/51798
* config/cpu/generic/atomicity_builtins/atomicity.h
(__exchange_and_add, __atomic_add): Use __atomic_fetch_add
with __ATOMIC_ACQ_REL semantics instead of __sync_fetch_and_add.
* include/ext/atomicity.h (__exchange_and_add, __atomic_add):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183644 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/config/cpu/generic/atomicity_builtins/atomicity.h
libstdc++-v3/include/ext/atomicity.h