re PR libstdc++/89641 (std::atomic<T> no longer works)
authorJakub Jelinek <jakub@redhat.com>
Mon, 11 Mar 2019 11:49:13 +0000 (12:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 11 Mar 2019 11:49:13 +0000 (12:49 +0100)
commit8b9482b2d77da5b8db979845b49b3b91bcf898e9
tree5f76822dbb06a25bd266e93181e836d4a1c93b64
parent52eba77915ed77da53928905a731840249cf45d5
re PR libstdc++/89641 (std::atomic<T> no longer works)

PR libstdc++/89641
* include/std/atomic (atomic<T>::store, atomic<T>::load,
atomic<T>::exchange, atomic<T>::compare_exchange_weak,
atomic<T>::compare_exchange_strong): Cast __m or __s and __f to int.
* include/bits/atomic_base.h (__atomic_base<T>::operator++,
__atomic_base<T>::operator--, __atomic_base<T>::operator+=,
__atomic_base<T>::operator-=, __atomic_base<T>::operator&=,
__atomic_base<T>::operator|=, __atomic_base<T>::operator^=,
__atomic_base<T*>::operator++, __atomic_base<T*>::operator--,
__atomic_base<T*>::operator+=, __atomic_base<T*>::operator-=): Cast
memory_order_seq_cst to int.

From-SVN: r269582
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h
libstdc++-v3/include/std/atomic