From 2c4b1a39615f38d4ed5da7c6b47a714254bc1d99 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 29 Mar 2023 00:20:15 +0000 Subject: [PATCH] Daily bump. --- fixincludes/ChangeLog | 11 ++ gcc/ChangeLog | 10 ++ gcc/DATESTAMP | 2 +- gcc/testsuite/ChangeLog | 14 +++ libstdc++-v3/ChangeLog | 253 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 289 insertions(+), 1 deletion(-) diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 881a4610edaa..e210fb49bedd 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,14 @@ +2023-03-28 Xi Ruoyao + + Backported from master: + 2023-03-28 Xi Ruoyao + + 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. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8598a0260c31..e63f40da7b20 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2023-03-28 Eric Botcazou + + 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. + (fucmp8_vis): Move around. + (fpcmpu_vis): Likewise. + (vcondu): New VIS 4 expander. + 2023-03-22 Martin Jambor Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1f5084a29474..8696380a31ae 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230328 +20230329 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f10c09b50ed1..89e39cd6fe67 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2023-03-28 Eric Botcazou + + * 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 + + * 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 Backported from master: diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 74f83a2b8b75..3f20e2ca8f84 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,256 @@ +2023-03-28 Jonathan Wakely + + Backported from master: + 2022-12-16 Jonathan Wakely + + 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 + + Backported from master: + 2022-11-03 Jonathan Wakely + + * 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 + + Backported from master: + 2023-01-14 Björn Schäpers + + * include/std/stacktrace (stacktrace_entry::_S_demangle): Use + raw __name if __cxa_demangle could not demangle it. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2022-12-12 Jonathan Wakely + + * include/std/stacktrace (operator<<): Only output to narrow + ostreams (LWG 3515). + * testsuite/19_diagnostics/stacktrace/synopsis.cc: + +2023-03-28 Jonathan Wakely + + Backported from master: + 2022-12-09 Jonathan Wakely + + * 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 + + Backported from master: + 2022-12-09 Jonathan Wakely + + * include/bits/chrono.h (duration, time_point): Change 'struct' + to 'class'. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2023-01-26 Jonathan Wakely + + 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 + + Backported from master: + 2022-09-23 Jonathan Wakely + + * include/std/bitset (bitset::_M_copy_to_string): Find set bits + instead of iterating over individual bits. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2022-09-15 Jonathan Wakely + + * 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 + + Backported from master: + 2022-09-14 Jonathan Wakely + + * 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 + + Backported from master: + 2022-05-17 Jonathan Wakely + + * 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 + + Backported from master: + 2022-09-14 Jonathan Wakely + + * 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 + + Backported from master: + 2022-09-08 Jonathan Wakely + + * include/c_global/cstddef (byte): Add always_inline attribute + to all operator overloads. + (to_integer): Add always_inline attribute. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2022-09-08 Jonathan Wakely + + * 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 + + Backported from master: + 2022-05-17 Jonathan Wakely + + * 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 + + Backported from master: + 2022-05-13 Jonathan Wakely + + * 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 + + Backported from master: + 2022-05-13 Jonathan Wakely + + * include/std/system_error: Improve doxygen comments. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2023-02-16 Jonathan Wakely + + * include/ext/throw_allocator.h: Use reserved names for + parameters. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2022-11-25 Jonathan Wakely + + * 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 + + Backported from master: + 2023-01-12 Jonathan Wakely + + * doc/xml/manual/abi.xml: Add latest library versions. + * doc/html/manual/abi.html: Regenerate. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2023-03-28 Jonathan Wakely + + * 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 + + Backported from master: + 2023-03-28 Jonathan Wakely + + 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 + + Backported from master: + 2023-03-01 Jonathan Wakely + + * include/bits/cow_string.h: Fix typo in comment. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2023-02-16 Jonathan Wakely + + * include/experimental/optional: Fix header name in comment. + +2023-03-28 Jonathan Wakely + + Backported from master: + 2023-01-16 Jonathan Wakely + + 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 Backported from master: -- 2.47.3