https://gcc.gnu.org/g:283f6e24c6b5c8a1b35003b27bfcad46af25a859
commit r15-2654-g283f6e24c6b5c8a1b35003b27bfcad46af25a859 Author: Jonathan Wakely <jwak...@redhat.com> Date: Sat Mar 9 00:19:11 2024 +0000 libstdc++: Remove unused parameters from atomic impl details libstdc++-v3/ChangeLog: * include/bits/atomic_base.h (__atomic_impl::compare_exchange_weak): Remove unused parameter. (__atomic_impl::compare_exchange_strong): Likewise. Diff: --- 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 1c2367b39b66..ae6819f119b6 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);