]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 29 Mar 2023 00:20:15 +0000 (00:20 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 29 Mar 2023 00:20:15 +0000 (00:20 +0000)
fixincludes/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index 881a4610edaaec033081dfc53a248218896e1f8f..e210fb49beddb05ceac4087aeefe07af5d975d01 100644 (file)
@@ -1,3 +1,14 @@
+2023-03-28  Xi Ruoyao  <xry111@xry111.site>
+
+       Backported from master:
+       2023-03-28  Xi Ruoyao  <xry111@xry111.site>
+
+       PR other/109293
+       * configure.ac (AC_CHECK_DECLS): Add memmem.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+       * system.h (memmem): Declare if HAVE_DECL_MEMMEM is zero.
+
 2022-08-19  Release Manager
 
        * GCC 12.2.0 released.
index 8598a0260c315025feba94e8c9e4433636f2db71..e63f40da7b20bf540d8953a5c5f88ad5ab6c4b70 100644 (file)
@@ -1,3 +1,13 @@
+2023-03-28  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR target/109140
+       * config/sparc/sparc.cc (sparc_expand_vcond): Call signed_condition
+       on operand #3 to get the final condition code.  Use std::swap.
+       * config/sparc/sparc.md (vcondv8qiv8qi): New VIS 4 expander.
+       (fucmp<gcond:code>8<P:mode>_vis): Move around.
+       (fpcmpu<gcond:code><GCM:gcm_name><P:mode>_vis): Likewise.
+       (vcondu<GCM:mode><GCM:mode>): New VIS 4 expander.
+
 2023-03-22  Martin Jambor  <mjambor@suse.cz>
 
        Backported from master:
index 1f5084a294747818e875f48b525d7a86cc789c35..8696380a31ae8e4bfa556abd4d1152dc539c2259 100644 (file)
@@ -1 +1 @@
-20230328
+20230329
index f10c09b50ed14ac41c7cc9eb4dcc0581432cc2e4..89e39cd6fe679a3f3d8184ed22136443c7a70efb 100644 (file)
@@ -1,3 +1,17 @@
+2023-03-28  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.target/sparc/20230328-1.c: New test.
+       * gcc.target/sparc/20230328-2.c: Likewise.
+       * gcc.target/sparc/20230328-3.c: Likewise.
+       * gcc.target/sparc/20230328-4.c: Likewise.
+
+2023-03-28  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.target/sparc/20230328-1.c: New test.
+       * gcc.target/sparc/20230328-2.c: Likewise.
+       * gcc.target/sparc/20230328-3.c: Likewise.
+       * gcc.target/sparc/20230328-4.c: Likewise.
+
 2023-03-27  Harald Anlauf  <anlauf@gmx.de>
 
        Backported from master:
index 74f83a2b8b75ace7f8119b679c3bb015a0e651f6..3f20e2ca8f84920cccc6e16d7083deb8c546e02e 100644 (file)
@@ -1,3 +1,256 @@
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-12-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/108118
+       * include/bits/shared_ptr_base.h (weak_ptr::operator=):
+       Implement as move-and-swap exactly as specified in the standard.
+       * testsuite/20_util/weak_ptr/cons/self_move.cc: New test.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-11-03  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/ranges_algobase.h (__detail::__copy_or_move):
+       Move output iterator.
+       * testsuite/25_algorithms/copy/constrained.cc: Check copying to
+       move-only output iterator.
+
+2023-03-28  Björn Schäpers  <bjoern@hazardy.de>
+
+       Backported from master:
+       2023-01-14  Björn Schäpers  <bjoern@hazardy.de>
+
+       * include/std/stacktrace (stacktrace_entry::_S_demangle): Use
+       raw __name if __cxa_demangle could not demangle it.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-12-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/stacktrace (operator<<): Only output to narrow
+       ostreams (LWG 3515).
+       * testsuite/19_diagnostics/stacktrace/synopsis.cc:
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-12-09  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/chrono.h (duration_cast, floor, round, abs, ceil)
+       (time_point_cast): Add [[nodiscard]] attribute and doxygen
+       comments.
+       (treat_as_floating_point): Add doxygen commen.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-12-09  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/chrono.h (duration, time_point): Change 'struct'
+       to 'class'.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-01-26  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/108554
+       * include/bits/stl_tree.h (_Rb_tree_insert_and_rebalance): Add
+       nonnull attribute.
+       (_Rb_tree_rebalance_for_erase): Add nonnull and returns_nonnull
+       attributes.
+       * testsuite/23_containers/map/modifiers/108554.cc: New test.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-09-23  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/bitset (bitset::_M_copy_to_string): Find set bits
+       instead of iterating over individual bits.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-09-15  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/shared_ptr_atomic.h (_GLIBCXX_TSAN_MUTEX_PRE_LOCK):
+       Replace with ...
+       (_GLIBCXX_TSAN_MUTEX_TRY_LOCK): ... this, add try_lock flag.
+       (_GLIBCXX_TSAN_MUTEX_TRY_LOCK_FAILED): New macro using
+       try_lock_failed flag
+       (_GLIBCXX_TSAN_MUTEX_POST_LOCK): Rename to ...
+       (_GLIBCXX_TSAN_MUTEX_LOCKED): ... this.
+       (_GLIBCXX_TSAN_MUTEX_PRE_UNLOCK): Remove invalid flag.
+       (_GLIBCXX_TSAN_MUTEX_POST_UNLOCK): Remove invalid flag.
+       (_Sp_atomic::_Atomic_count::lock): Use new macros.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-09-14  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/shared_ptr_atomic.h (_GLIBCXX_TSAN_MUTEX_DESTROY)
+       (_GLIBCXX_TSAN_MUTEX_PRE_LOCK, _GLIBCXX_TSAN_MUTEX_POST_LOCK)
+       (_GLIBCXX_TSAN_MUTEX_PRE_UNLOCK, _GLIBCXX_TSAN_MUTEX_POST_UNLOCK)
+       (_GLIBCXX_TSAN_MUTEX_PRE_SIGNAL, _GLIBCXX_TSAN_MUTEX_POST_SIGNAL):
+       Define macros for TSan annotation functions.
+       (_Sp_atomic::_Atomic_count): Add annotations.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-05-17  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/memory_resource (new_delete_resource): Add
+       nodiscard, returns_nonnull and const attributes.
+       (null_memory_resource): Likewise.
+       (set_default_resource, get_default_resource): Add returns_nonnull
+       attribute.
+       (memory_resource::is_equal): Add nodiscard attribute.
+       (operator==, operator!=): Likewise.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-09-14  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/future
+       (_State_baseV2::__setter(exception_ptr&, promise&)): Add
+       assertion for LWG 2276 precondition.
+       * testsuite/30_threads/promise/members/set_exception_neg.cc:
+       New test.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-09-08  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/c_global/cstddef (byte): Add always_inline attribute
+       to all operator overloads.
+       (to_integer): Add always_inline attribute.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-09-08  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/system_error (__adl_only::make_error_code): Add
+       deleted function.
+       (__adl_only::make_error_condition): Likewise.
+       (error_code::error_code(ErrorCodeEnum)): Add using-declaration
+       for deleted function.
+       (error_condition::error_condition(ErrorConditionEnum)):
+       Likewise.
+       * testsuite/19_diagnostics/error_code/cons/lwg3629.cc: New test.
+       * testsuite/19_diagnostics/error_condition/cons/lwg3629.cc: New test.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-05-17  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/ios_base.h (io_category): Add const and nodiscard
+       attributes.
+       (make_error_code, make_error_condition): Add nodiscard.
+       * include/std/future (future_category): Add const and nodiscard.
+       (make_error_code, make_error_condition): Add nodiscard.
+       * include/std/system_error (generic_category system_category):
+       Add nodiscard. Replace _GLIBCXX_CONST with C++11 attribute.
+       (error_code::value, error_code::category, error_code::operator bool)
+       (error_condition::value, error_condition::category)
+       (error_condition::operator bool, make_error_code)
+       (make_error_condition, operator==, operator!=, operator<=>): Add
+       nodiscard.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-05-13  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/std_thread.h (thread, thread::id): Improve
+       doxygen docs.
+       * include/std/future: Likewise.
+       * include/std/thread (jthread): Likewise.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-05-13  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/system_error: Improve doxygen comments.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-02-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/ext/throw_allocator.h: Use reserved names for
+       parameters.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-11-25  Jonathan Wakely  <jwakely@redhat.com>
+
+       * acinclude.m4 (GLIBCXX_CHECK_UCHAR_H): Don't use AC_MSG_RESULT
+       unless the AC_MSG_CHECKING happened.
+       * configure: Regenerate.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-01-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/xml/manual/abi.xml: Add latest library versions.
+       * doc/html/manual/abi.html: Regenerate.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/char_traits.h (char_traits::copy): Return without
+       using memcpy if n==0.
+       (char_traits::assign): Likewise for memset.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/109299
+       * include/bits/basic_string.h (basic_string::_M_is_local()): Add
+       hint for compiler that local strings fit in the local buffer.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-03-01  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/cow_string.h: Fix typo in comment.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-02-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/experimental/optional: Fix header name in comment.
+
+2023-03-28  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2023-01-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/108413
+       * include/c_compatibility/stdatomic.h: Change copyright line to
+       be consistent with other headers contributed under DCO terms.
+       * include/std/expected: Add full stop to copyright line.
+
 2023-03-21  Matthias Kretz  <m.kretz@gsi.de>
 
        Backported from master: