From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 039653858D39; Wed, 29 Mar 2023 00:20:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 039653858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680049255; bh=Qw+DeM+CpAr212fCtydI7Tnuy1EviaFLdh8cx6usomg=; h=From:To:Subject:Date:From; b=QLmsZqLySqcSL8p2390HNcOnvAgv84y3TP87+DWyFWMoepcyoAE16WmJGvOfWoYO+ Vy15t2CRoJX98hBVmiv2A9RXD+P3Is9ja5S2A4HRjUasCnr+mPMYXICrtTwVZk1Z+x 4wMdH7i/Cd3rZxUDl6+1110ItLHG//GeOsTSxRV4= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-9352] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 629ed996f32cb03dd712789eede1f7f2036e497b X-Git-Newrev: 2c4b1a39615f38d4ed5da7c6b47a714254bc1d99 Message-Id: <20230329002055.039653858D39@sourceware.org> Date: Wed, 29 Mar 2023 00:20:55 +0000 (GMT) List-Id: https://gcc.gnu.org/g:2c4b1a39615f38d4ed5da7c6b47a714254bc1d99 commit r12-9352-g2c4b1a39615f38d4ed5da7c6b47a714254bc1d99 Author: GCC Administrator Date: Wed Mar 29 00:20:15 2023 +0000 Daily bump. Diff: --- 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 881a4610eda..e210fb49bed 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 8598a0260c3..e63f40da7b2 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 1f5084a2947..8696380a31a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230328 +20230329 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f10c09b50ed..89e39cd6fe6 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 74f83a2b8b7..3f20e2ca8f8 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: