summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-09-03 00:16:33 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-09-03 00:16:33 +0000
commit9f7c2bad52e51ec88a71c0d50826bfa2e6f44b15 (patch)
treef369270d1d1a548f368a253cb711c74a750ada81 /libstdc++-v3
parent93b6b2f614eb692d1d8126ec6cb946984a9d01d7 (diff)
downloadgcc-9f7c2bad52e51ec88a71c0d50826bfa2e6f44b15.tar.gz
Daily bump.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog35
1 files changed, 35 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e77bac43390..47666416818 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,38 @@
+2021-09-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/atomic_base.h (__atomic_base<P*>::compare_exchange_weak):
+ Add new functions.
+ * include/std/atomic (atomic<T*>::compare_exchange_weak): Use
+ it.
+
+2021-09-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/atomic: Tweak whitespace.
+
+2021-09-02 Jonathan Wakely <jwakely@redhat.com>
+
+ PR c++/102177
+ * include/bits/atomic_base.h (__is_valid_cmpexch_failure_order):
+ New function to check if a memory order is valid for the failure
+ case of compare exchange operations.
+ (__atomic_base<I>::compare_exchange_weak): Simplify assertions
+ by using __is_valid_cmpexch_failure_order.
+ (__atomic_base<I>::compare_exchange_strong): Likewise.
+ (__atomic_base<P*>::compare_exchange_weak): Likewise.
+ (__atomic_base<P*>::compare_exchange_strong): Likewise.
+ (__atomic_impl::compare_exchange_weak): Add assertion.
+ (__atomic_impl::compare_exchange_strong): Likewise.
+ * include/std/atomic (atomic::compare_exchange_weak): Likewise.
+ (atomic::compare_exchange_strong): Likewise.
+
+2021-09-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/functional (invoke_r): Define.
+ * include/std/version (__cpp_lib_invoke_r): Define.
+ * testsuite/20_util/function_objects/invoke/version.cc: Check
+ for __cpp_lib_invoke_r as well as __cpp_lib_invoke.
+ * testsuite/20_util/function_objects/invoke/4.cc: New test.
+
2021-08-31 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/98421