From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 8DABD38582BE; Fri, 8 Jul 2022 00:18:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DABD38582BE MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-10139] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 92f43710bbe5e861d90681ef4691c37b8c70aec6 X-Git-Newrev: 445fd0a4f0fd316de2d04cea079f728565c01c78 Message-Id: <20220708001859.8DABD38582BE@sourceware.org> Date: Fri, 8 Jul 2022 00:18:59 +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: Fri, 08 Jul 2022 00:18:59 -0000 https://gcc.gnu.org/g:445fd0a4f0fd316de2d04cea079f728565c01c78 commit r11-10139-g445fd0a4f0fd316de2d04cea079f728565c01c78 Author: GCC Administrator Date: Fri Jul 8 00:18:22 2022 +0000 Daily bump. Diff: --- gcc/DATESTAMP | 2 +- libstdc++-v3/ChangeLog | 294 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 295 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 56ceb7f4c69..aa8fe3c8911 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220707 +20220708 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 80e9bc2e885..8460d240ad8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,297 @@ +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-07-01 Jonathan Wakely + + PR libstdc++/106162 + * include/Makefile.am (largefile-config.h): Add + stamp-${host_alias} prerequisite. + * include/Makefile.in: Regenerate. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-06-23 Jonathan Wakely + + * testsuite/27_io/filesystem/iterators/error_reporting.cc: Use + rmdir to remove directories. + * testsuite/experimental/filesystem/iterators/error_reporting.cc: + Likewise. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-05-26 Jonathan Wakely + + * include/bits/stl_iterator.h (counted_iterator::operator++(int)): + Add 'constexpr' as per LWG 3643. + * testsuite/24_iterators/counted_iterator/lwg3643.cc: New test. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-05-27 Jonathan Wakely + + PR libstdc++/105671 + * include/std/sstream (basic_stringbuf::_M_high_mark): Add + always_inline attribute. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-05-13 Jonathan Wakely + + * include/std/future (launch): Make operators noexcept. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-12-13 Jonathan Wakely + + * include/bits/ranges_base.h (ranges::size, ranges::empty): Add + explicit check for unbounded arrays before using ranges::begin. + * testsuite/std/ranges/access/empty.cc: Check handling of unbounded + arrays. + * testsuite/std/ranges/access/size.cc: Likewise. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-28 Jonathan Wakely + + * include/bits/regex_automaton.h (_NFA_base::_SizeT): Remove. + * include/bits/regex_compiler.h (_Compiler::_IterT): Remove. + * include/bits/regex_compiler.tcc: Likewise. + * include/bits/regex_scanner.h (_Scanner::_IterT): Remove. + * include/bits/regex_scanner.tcc: Likewise. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-28 Jonathan Wakely + + * include/bits/regex.h (basic_regex, swap): Add noexcept to + non-throwing functions. + * include/bits/regex_automaton.h (_State_base, _State) + (_NFA_base): Likewise. + * include/bits/regex_compiler.h (_Compiler): Likewise. + * include/bits/regex_error.h (regex_error::code()): Likewise. + * include/bits/regex_scanner.h (_Scanner): Likewise. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-12-14 Jonathan Wakely + + PR libstdc++/102447 + * include/bits/regex_compiler.h (_Compiler::_BracketState): New + class. + (_Compiler::_BrackeyMatcher): New alias template. + (_Compiler::_M_expression_term): Change pair + parameter to _BracketState. Process first character for + ECMAScript syntax as well as POSIX. + * include/bits/regex_compiler.tcc + (_Compiler::_M_insert_bracket_matcher): Pass _BracketState. + (_Compiler::_M_expression_term): Use _BracketState to store + state between calls. Improve handling of dashes in ranges. + * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc: + Add more tests for ranges containing dashes. Check invalid + ranges with character class at the beginning. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-29 Jonathan Wakely + + * include/bits/regex_compiler.h (_Compiler::_S_validate): New + function. + * include/bits/regex_compiler.tcc (_Compiler::_Compiler): Use + _S_validate to check flags. + * include/bits/regex_error.h (_S_grammar): New error code for + internal use. + * testsuite/28_regex/basic_regex/ctors/grammar.cc: New test. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-28 Jonathan Wakely + + * include/bits/regex_compiler.tcc: Add line break in empty while + statement. + * include/bits/regex_executor.tcc: Avoid unused parameter + warning. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-01-10 Jonathan Wakely + + * testsuite/28_regex/algorithms/regex_replace/char/103664.cc: + Add dg-timeout-factor directive. + * testsuite/28_regex/basic_regex/84110.cc: Likewise. + * testsuite/28_regex/basic_regex/ctors/char/other.cc: Likewise. + * testsuite/28_regex/match_results/102667.cc: Likewise. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-29 Jonathan Wakely + + * include/bits/regex.h (__detail::__is_contiguous_iter): Move + here from . + (basic_regex::_M_compile): New function to compile an NFA from + a regular expression string. + (basic_regex::basic_regex): Use _M_compile instead of delegating + to other constructors. + (basic_regex::operator=(const basic_regex&)): Define as + defaulted. + (basic_regex::operator=(initializer_list)): Use _M_compile. + (basic_regex::assign(const basic_regex&)): Use copy assignment. + (basic_regex::assign(basic_regex&&)): Use move assignment. + (basic_regex::assign(const C*, flag_type)): Use _M_compile + instead of constructing a temporary string. + (basic_regex::assign(const C*, size_t, flag_type)): Likewise. + (basic_regex::assign(const basic_string&, flag_type)): + Use _M_compile instead of constructing a temporary basic_regex. + (basic_regex::assign(InputIter, InputIter, flag_type)): Avoid + constructing a temporary string for contiguous iterators of the + right value type. + * include/bits/regex_compiler.h (__is_contiguous_iter): Move to + . + (__enable_if_contiguous_iter, __disable_if_contiguous_iter) + (__compile_nfa): Remove. + * testsuite/28_regex/basic_regex/assign/exception_safety.cc: New + test. + * testsuite/28_regex/basic_regex/ctors/char/other.cc: New test. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-12-13 Jonathan Wakely + + PR libstdc++/103664 + * include/bits/regex.h (__regex_replace): Declare. + (regex_replace): Use it. + * include/bits/regex.tcc (__regex_replace): Replace regex_replace + definition with __regex_replace. + * testsuite/28_regex/algorithms/regex_replace/char/103664.cc: New test. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-10-15 Jonathan Wakely + + * include/std/variant (__detail::__variant::__get_storage): + Remove unused function. + (__variant_construct_by_index): Set index after construction is + complete. Rename to ... + (__detail::__variant::__construct_by_index): ... this. + (variant): Use new name for __variant_construct_by_index friend + declaration. Remove __get_storage friend declaration. + (variant::emplace): Use new name and remove try-blocks. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-10-01 Jonathan Wakely + + * include/bits/list.tcc (list::merge): Remove call to size() and + try-catch block. Use _Finalize_merge instead. + * include/bits/stl_list.h (list::_Finalize_merge): New + scope guard type to update _M_size members after a merge. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-10-01 Jonathan Wakely + + * include/bits/regex.h (basic_regex::multiline): Define for + non-strict C++11 and C++14 modes. + * include/bits/regex_constants.h (regex_constants::multiline): + Add _GLIBCXX_RESOLVE_LIB_DEFECTS comment. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-30 Jonathan Wakely + + * include/bits/regex.h (basic_regex::multiline): Fix #if + condition. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-29 Jonathan Wakely + + * include/bits/regex.h (basic_regex::multiline): Define constant + for C++17. + * include/bits/regex_constants.h (regex_constants::multiline): + Define constant for C++17. + (regex_constants::__multiline): Define duplicate constant for + internal use in C++11 and C++14. + * include/bits/regex_executor.h (_Executor::_M_match_multiline()): + New member function. + (_Executor::_M_is_line_terminator(_CharT)): New member function. + (_Executor::_M_at_begin(), _Executor::_M_at_end()): Use new + member functions to support multiline matches. + * testsuite/28_regex/algorithms/regex_match/multiline.cc: New test. + +2022-07-07 Rainer Orth + + Backported from master: + 2021-10-26 Rainer Orth + + * testsuite/28_regex/basic_regex/84110.cc (test01) + [__cpp_exceptions]: Disambiguate extended. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-09-29 Jonathan Wakely + + PR libstdc++/84110 + * include/bits/regex_error.h (regex_constants::_S_null): New + error code for internal use. + * include/bits/regex_scanner.tcc (_Scanner::_M_scan_normal()): + Check for null character. + * testsuite/28_regex/basic_regex/84110.cc: New test. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2021-10-15 Jonathan Wakely + + * include/std/variant (_Variant_storage::_M_storage()): Remove. + (__detail::__variant::__get_storage): Remove. + (variant): Remove friend declaration of __get_storage. + +2022-07-07 Jakub Jelinek + + Backported from master: + 2022-04-02 Jakub Jelinek + + PR libstdc++/105128 + * include/std/source_location (std::source_location::__impl): Move + definition before using __builtin_ret_type. + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-02-24 Jonathan Wakely + + PR libstdc++/104602 + * include/std/source_location (source_location::current): Use + deduced type of __builtin_source_location(). + +2022-07-07 Jonathan Wakely + + Backported from master: + 2022-04-26 Jonathan Wakely + + * include/bits/fs_path.h (hash): Define. + * testsuite/27_io/filesystem/path/nonmember/hash_value.cc: + Check std::hash specialization. + 2022-06-15 Jonathan Wakely Backported from master: