From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 77FC73858403; Thu, 25 Nov 2021 00:19:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77FC73858403 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 r11-9309] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 56b3036c531929e0dae1103b9f5d20c82643415f X-Git-Newrev: 5062f6e719e33a0fece85fca2aa5ebfccb4fbc85 Message-Id: <20211125001907.77FC73858403@sourceware.org> Date: Thu, 25 Nov 2021 00:19:07 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2021 00:19:07 -0000 https://gcc.gnu.org/g:5062f6e719e33a0fece85fca2aa5ebfccb4fbc85 commit r11-9309-g5062f6e719e33a0fece85fca2aa5ebfccb4fbc85 Author: GCC Administrator Date: Thu Nov 25 00:18:36 2021 +0000 Daily bump. Diff: --- gcc/ChangeLog | 10 ++ gcc/DATESTAMP | 2 +- gcc/fortran/ChangeLog | 20 +++ gcc/jit/ChangeLog | 4 + gcc/testsuite/ChangeLog | 17 +++ libstdc++-v3/ChangeLog | 353 ++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 405 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c2379404fd..e2ef37ddb53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2021-11-24 Maciej W. Rozycki + + Backported from master: + 2021-11-24 Maciej W. Rozycki + + PR middle-end/103059 + * reload.c (find_reloads_address_1): Also accept the ASHIFT form + of indexed addressing. + (find_reloads): Adjust accordingly. + 2021-11-23 Bill Schmidt PR target/101985 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6a898735f7e..f9671d2b00c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211124 +20211125 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index af8ae57d419..28f0722a13a 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,23 @@ +2021-11-24 Harald Anlauf + + Backported from master: + 2021-11-23 Harald Anlauf + + PR fortran/103392 + * simplify.c (simplify_bound): Do not try to simplify + LBOUND/UBOUND for arrays with POINTER or ALLOCATABLE attribute. + +2021-11-24 Harald Anlauf + + Backported from master: + 2021-11-23 Harald Anlauf + + PR fortran/87711 + PR fortran/87851 + * trans-array.c (arg_evaluated_for_scalarization): Add LEN_TRIM to + list of intrinsics for which an optional KIND argument needs to be + removed before scalarization. + 2021-11-22 Harald Anlauf Backported from master: diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 7cf59f3147d..44218319fc2 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,7 @@ +2021-11-24 Martin Liska + + * jit-playback.c (function): Initialize m_blocks vector. + 2021-07-28 Release Manager * GCC 11.2.0 released. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f8776e57e71..335589517e7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,20 @@ +2021-11-24 Harald Anlauf + + Backported from master: + 2021-11-23 Harald Anlauf + + PR fortran/103392 + * gfortran.dg/bound_simplification_7.f90: New test. + +2021-11-24 Harald Anlauf + + Backported from master: + 2021-11-23 Harald Anlauf + + PR fortran/87711 + PR fortran/87851 + * gfortran.dg/len_trim.f90: New test. + 2021-11-23 Bill Schmidt PR target/101985 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 00e1a9cc5cf..1cbc31b27e8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,356 @@ +2021-11-24 François Dumont + + Backported from master: + 2021-08-08 François Dumont + + * testsuite/25_algorithms/copy/debug/constexpr_neg.cc: Replace 'failed_assertion' + dg-prune-output reason with 'builtin_unreachable'. + * testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc: Likewise. + * testsuite/25_algorithms/equal/debug/constexpr_neg.cc: Likewise. + * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc: Likewise. + * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc: Likewise. + * testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc: Likewise. + * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc: Likewise. + * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc: Likewise. + * testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc: Likewise. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-09 Jonathan Wakely + + * testsuite/23_containers/unordered_map/cons/default.cc: Add + equality comparison operators to allocator. + * testsuite/23_containers/unordered_set/cons/default.cc: + Likewise. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-05 Jonathan Wakely + + * include/std/utility (__is_in_place_type_v): Define + variable template to detect in_place_type_t specializations. + (__is_in_place_type): Replace class template with alias + template using __is_in_place_type_v. + * include/std/any (any(T&&)): Check __is_in_place_type first and + avoid instantiating is_copy_constructible unnecessarily. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-21 Jonathan Wakely + + * include/bits/alloc_traits.h: Suppress doxygen documentation. + * include/bits/allocated_ptr.h: Likewise. + * include/bits/enable_special_members.h: Likewise. + * include/bits/hashtable.h: Likewise. + * include/bits/hashtable_policy.h: Likewise. + * include/bits/uses_allocator.h: Likewise. + * include/bits/node_handle.h: Document node handles and suppress + documentation for protected members. + * include/std/any: Suppress documentation for implementation + details. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-10 Jonathan Wakely + + PR libstdc++/100748 + PR libstdc++/103133 + * config/os/gnu-linux/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): + Define for glibc 2.34 and later. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-09 Jonathan Wakely + + * testsuite/26_numerics/random/random_device/cons/token.cc: + Print results of random_device_available checks. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-09 Jonathan Wakely + + * testsuite/26_numerics/random/random_device/cons/token.cc: + Retry if random devices produce the same value. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-14 Jonathan Wakely + + * include/bits/stl_construct.h (_Construct): Use + std::construct_at when constant evaluated. + * include/std/optional (_Storage, _Optional_payload, optional): + Add constexpr as specified by P2231R1. + * include/std/version (__cpp_lib_optional): Update value for + C++20. + * testsuite/20_util/optional/requirements.cc: Check feature test + macro. + * testsuite/20_util/optional/constexpr/assign.cc: New test. + * testsuite/20_util/optional/constexpr/cons/conv.cc: New test. + * testsuite/20_util/optional/constexpr/modifiers.cc: New test. + * testsuite/20_util/optional/constexpr/swap.cc: New test. + * testsuite/20_util/optional/version.cc: New test. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-07-27 Jonathan Wakely + + * include/experimental/optional (__throw_bad_optional_access): + Replace GNU attribute with C++11 attribute. + (optional::value, optional::value_or): Use if statements + instead of conditional expressions. + * include/std/optional (__throw_bad_optional_access) + (optional::value, optional::value_or): Likewise. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-09-16 Jonathan Wakely + + * include/std/optional (nullptr_t): Make constructor noexcept. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-08 Jonathan Wakely + + PR libstdc++/98725 + * include/std/ostream (operator<<(basic_ostream&, wchar_t)) + (operator<<(basic_ostream&, const wchar_t*)): Always + define as deleted. Do not check _GLIBCXX_USE_WCHAR_T. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-05 Jonathan Wakely + + * include/std/ostream (operator<<(const volatile void*)): + Add new overload, as per P1147R1. + * testsuite/27_io/basic_ostream/inserters_other/char/volatile_ptr.cc: + New test. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-22 Jonathan Wakely + + PR libstdc++/102894 + * include/std/any (make_any): Add SFINAE constraint. + * testsuite/20_util/any/102894.cc: New test. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-09-23 Jonathan Wakely + + * src/c++11/system_error.cc (generic_error_category): Define + class and virtual functions as 'final'. + (generic_error_category::equivalent(int, const error_condition&)): + Override. + (system_error_category): Define class and virtual functions as + 'final'. + (system_error_category::equivalent(int, const error_condition&)): + Override. + (generic_category_instance, system_category_instance): Use + constinit union to make the objects immortal. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-31 Jonathan Wakely + + PR libstdc++/98421 + * include/std/span (span(Iter, size_type), span(Iter, Iter)): + Add valid range checks. + * testsuite/23_containers/span/cons_1_assert_neg.cc: New test. + * testsuite/23_containers/span/cons_2_assert_neg.cc: New test. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-28 Jonathan Wakely + + * include/bits/std_function.h (function::function(F&&)): Give + name to defaulted template parameter, to improve diagnostics. + Use markdown for more doxygen comments. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-26 Jonathan Wakely + + * include/bits/std_function.h (_function_base::_Base_manager): + Replace _M_init_functor with a function template using a + forwarding reference, and a pair of _M_create function + templates. Reuse _M_create for the clone operation. + (function::_Decay_t): New alias template. + (function::_Callable): Simplify by using _Decay. + (function::function(F)): Change parameter to forwarding + reference, as per LWG 2447. Add noexcept-specifier. Simplify + constraints. + (function::operator=(F&&)): Add noexcept-specifier. + * testsuite/20_util/function/cons/lwg2774.cc: New test. + * testsuite/20_util/function/cons/noexcept.cc: New test. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-19 Jonathan Wakely + + * doc/doxygen/user.cfg.in: Update to Doxygen 1.9.2 + +2021-11-24 Antony Polukhin + + Backported from master: + 2021-08-17 Antony Polukhin + Jonathan Wakely + + * include/bits/random.tcc (seed_seq::seed_seq): Reserve capacity + if distance is O(1). + * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error + line number. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-26 Jonathan Wakely + + * include/bits/std_function.h (function::function(F)): Add + static assertions to check constructibility requirements. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-07-22 Jonathan Wakely + + * include/bits/std_function.h (_Function_base): Add + default member initializers and define constructor as defaulted. + (function::_M_invoker): Add default member initializer. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-08-18 Jonathan Wakely + + * include/bits/stl_function.h: Improve doxygen comments. + +2021-11-24 Tim Adye + + Backported from master: + 2021-06-04 Tim Adye + + * include/std/any (any::_Manager::_S_access): New static + function to access the contained value. + (any::emplace, __any_caster): Use _S_access member of the + manager type. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-06-25 Jonathan Wakely + + * include/std/syncstream (basic_syncbuf::swap()): Remove + noexcept, as per LWG 3498. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-01 Jonathan Wakely + + PR libstdc++/100153 + * include/bits/vector.tcc (vector::_M_shrink_to_fit()): + When size() is zero just deallocate and reset. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-09-28 Jonathan Wakely + + * include/bits/move.h (forward(remove_reference_t&&)): + Improve text of static_assert. + * testsuite/20_util/forward/c_neg.cc: Adjust dg-error. + * testsuite/20_util/forward/f_neg.cc: Likewise. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-10-08 Jonathan Wakely + + * testsuite/22_locale/conversions/buffer/1.cc: Check + _GLIBCXX_USE_WCHAR_T. + * testsuite/22_locale/conversions/buffer/3.cc: Likewise. Add + test using char16_t. + * testsuite/22_locale/conversions/string/1.cc: Check + _GLIBCXX_USE_WCHAR_T. + * testsuite/27_io/filesystem/path/generic/generic_string.cc: + Likewise. + * testsuite/27_io/filesystem/path/modifiers/make_preferred.cc: + Likewise. + * testsuite/27_io/filesystem/path/native/alloc.cc: Likewise. + * testsuite/27_io/filesystem/path/native/string-char8_t.cc: + Likewise. + * testsuite/27_io/filesystem/path/native/string.cc: Likewise. + * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc: + Likewise. + * testsuite/experimental/filesystem/path/generic/generic_string.cc: + Likewise. + * testsuite/experimental/filesystem/path/native/alloc.cc: + Likewise. + * testsuite/experimental/filesystem/path/native/string-char8_t.cc: + Likewise. + * testsuite/experimental/filesystem/path/native/string.cc: + Likewise. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-05 Jonathan Wakely + + * testsuite/lib/gdb-test.exp: Add target selector support to the + dg-final directives. + * testsuite/libstdc++-prettyprinters/80276.cc: Add xfail for + C++20. + * testsuite/libstdc++-prettyprinters/libfundts.cc: Likewise. + * testsuite/libstdc++-prettyprinters/prettyprinters.exp: Tweak + comment. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-10 Jonathan Wakely + + PR libstdc++/100117 + * testsuite/17_intro/headers/c++1998/49745.cc: Explicitly list + all C++ headers instead of including + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-16 Jonathan Wakely + + * testsuite/21_strings/basic_string/modifiers/append/wchar_t/1.cc: + Fix reads past the end of strings. + * testsuite/21_strings/basic_string/operations/compare/wchar_t/1.cc: + Likewise. + * testsuite/experimental/string_view/operations/compare/wchar_t/1.cc: + Likewise. + +2021-11-24 Jonathan Wakely + + Backported from master: + 2021-11-23 Jonathan Wakely + + PR libstdc++/103086 + * testsuite/libstdc++-prettyprinters/cxx11.cc: Check unique_ptr + with non-empty pointer and non-empty deleter. + 2021-11-23 Jonathan Wakely Backported from master: