From da066c4269c7992327bd2abdf51f075a1b1240f7 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Tue, 12 Apr 2022 00:16:37 +0000 Subject: Daily bump. --- libstdc++-v3/ChangeLog | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1b0000e..f0299ad 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,51 @@ +2022-04-11 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate): + Change [[unlikely]] attribute to [[likely]]. + +2022-04-11 Jonathan Wakely + + PR libstdc++/105031 + * include/std/stacktrace (basic_stacktrace::basic_stacktrace): + Fix allocator usage in constructors. + (basic_stacktrace::operator=(const basic_stacktrace&)): Do not + try to reallocate using const allocator. + (basic_stacktrace::operator=(basic_stacktrace&&)): Fix + if-constexpr with non-constant condition. Do not allocate new + storage if allocator propagates. Do not set _M_size if + allocation fails. + (basic_stacktrace::swap(basic_stacktrace&)): Fix typo. Add + assertion that non-propagating allocators are equal. + * testsuite/19_diagnostics/stacktrace/stacktrace.cc: New test. + +2022-04-11 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace::current): Duplicate + implementation into each overload. Add noinline attribute and + skip current frame. + (basic_stacktrace::max_size()): Call _Impl::_S_max_size. + (basic_stacktrace::_S_curr_cb()): New function defining lambda. + (basic_stacktrace::_Impl::_S_max_size): New function defining + maximum size in terms of allocator and size_type. + (basic_stacktrace::_Impl::_M_allocate): Check against + max_size(). + * testsuite/19_diagnostics/stacktrace/entry.cc: Call function + for non-constexpr checks. Check line number is correct. + +2022-04-11 Jonathan Wakely + + * testsuite/20_util/stacktrace/entry.cc: Moved to... + * testsuite/19_diagnostics/stacktrace/entry.cc: ...here. + * testsuite/20_util/stacktrace/synopsis.cc: Moved to... + * testsuite/19_diagnostics/stacktrace/synopsis.cc: ...here. + * testsuite/20_util/stacktrace/version.cc: Moved to... + * testsuite/19_diagnostics/stacktrace/version.cc: ...here. + +2022-04-11 Jonathan Wakely + + * include/experimental/bits/fs_path.h (path): Define special + members after path::_Cmpt is complete. + 2022-04-08 Jonathan Wakely PR libstdc++/105153 -- cgit v1.1