Tested x86_64-linux. Pushed to trunk. -- >8 --
libstdc++-v3/ChangeLog: * include/bits/atomic_base.h (__atomic_impl::compare_exchange_weak): Remove unused parameter. (__atomic_impl::compare_exchange_strong): Likewise. --- libstdc++-v3/include/bits/atomic_base.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/include/bits/atomic_base.h b/libstdc++-v3/include/bits/atomic_base.h index 1c2367b39b6..ae6819f119b 100644 --- a/libstdc++-v3/include/bits/atomic_base.h +++ b/libstdc++-v3/include/bits/atomic_base.h @@ -1118,8 +1118,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_ALWAYS_INLINE bool compare_exchange_weak(_Tp* __ptr, _Val<_Tp>& __expected, _Val<_Tp> __desired, memory_order __success, - memory_order __failure, - bool __check_padding = false) noexcept + memory_order __failure) noexcept { return __atomic_impl::__compare_exchange<_AtomicRef>( *__ptr, __expected, __desired, true, __success, __failure); @@ -1129,8 +1128,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_ALWAYS_INLINE bool compare_exchange_strong(_Tp* __ptr, _Val<_Tp>& __expected, _Val<_Tp> __desired, memory_order __success, - memory_order __failure, - bool __ignore_padding = false) noexcept + memory_order __failure) noexcept { return __atomic_impl::__compare_exchange<_AtomicRef>( *__ptr, __expected, __desired, false, __success, __failure); -- 2.45.2