aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog264
1 files changed, 264 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index add47e4..42002a1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,267 @@
+2025-03-28 David Malcolm <dmalcolm@redhat.com>
+
+ * testsuite/17_intro/shared_with_static_deps.cc: Fix malformed
+ dg-require-static-libstdcxx directive.
+ * testsuite/17_intro/static.cc: Likewise.
+ * testsuite/18_support/type_info/110572.cc: Likewise.
+ * testsuite/20_util/to_chars/4.cc: Likewise.
+ * testsuite/std/time/tzdb_list/pr118811.cc: Likewise.
+
+2025-03-27 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/101587
+ * include/bits/ranges_uninitialized.h (__detail::__mindist):
+ New function object.
+ (ranges::uninitialized_copy, ranges::uninitialized_copy_n)
+ (ranges::uninitialized_move, ranges::uninitialized_move_n): Use
+ __mindist instead of std::min.
+ * testsuite/20_util/specialized_algorithms/uninitialized_copy/constrained.cc:
+ Check ranges with difference difference types.
+ * testsuite/20_util/specialized_algorithms/uninitialized_move/constrained.cc:
+ Likewise.
+
+2025-03-27 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/chrono_io.h (__formatter_chrono::_M_c): Use
+ const_cast when setting tm.tm_zone.
+
+2025-03-27 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/c++20/tzdata.zi: Import new file from 2025b release.
+
+2025-03-27 Sam James <sam@gentoo.org>
+
+ * testsuite/std/format/string_neg.cc: Add missing brace for dg-error.
+
+2025-03-27 Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
+
+ PR libstdc++/119488
+ * include/bits/version.def (constexpr_algorithms): Bump
+ the feature-testing macro.
+ * include/bits/version.h: Regenerate.
+ * testsuite/25_algorithms/cpp_lib_constexpr.cc: Test the
+ bumped value for the feature-testing macro.
+
+2025-03-27 Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
+
+ * include/bits/algorithmfwd.h (stable_partition): Mark it
+ as constexpr for C++26.
+ * include/bits/ranges_algo.h (__stable_partition_fn): Likewise.
+ * include/bits/stl_algo.h (stable_partition): Mark it as
+ constexpr for C++26; during constant evaluation use a new
+ codepath where a temporary buffer of 1 element is used.
+ * testsuite/25_algorithms/headers/algorithm/synopsis.cc
+ (stable_partition): Add constexpr.
+ * testsuite/25_algorithms/stable_partition/constexpr.cc: New test.
+
+2025-03-27 Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
+
+ * include/bits/algorithmfwd.h (inplace_merge): Mark it as
+ constexpr for C++26.
+ * include/bits/ranges_algo.h (__inplace_merge_fn): Likewise.
+ * include/bits/stl_algo.h (inplace_merge): Mark it as constexpr;
+ during constant evaluation, dispatch to the non-allocating
+ codepath.
+ * testsuite/25_algorithms/headers/algorithm/synopsis.cc
+ (inplace_merge): Add constexpr.
+ * testsuite/25_algorithms/inplace_merge/constexpr.cc: New test.
+
+2025-03-27 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/119469
+ * include/bits/iterator_concepts.h (_IterMove::__result): Use
+ decltype-specifier instead of an explicit type.
+ * testsuite/24_iterators/customization_points/iter_move.cc:
+ Check results for function references.
+
+2025-03-26 Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
+
+ * include/bits/version.def (constexpr_algorithms): Change
+ the value of the feature-testing macro.
+ * include/bits/version.h: Regenerate.
+ * testsuite/25_algorithms/cpp_lib_constexpr.cc: Amend the
+ check of the feature-testing macro.
+
+2025-03-26 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/119415
+ * include/std/flat_set (_Flat_set_impl:insert_range):
+ Replace __detail::__cpp17_input_iterator with __has_input_iter_cat.
+ * testsuite/23_containers/flat_multiset/1.cc: New tests
+ * testsuite/23_containers/flat_set/1.cc: New tests
+
+2025-03-26 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/111055
+ * include/bits/deque.tcc (deque::prepend_range, deque::append_range)
+ (deque::insert_range, __advance_dist): Define.
+ (deque::_M_range_prepend, deque::_M_range_append):
+ Extract from _M_range_insert_aux for _ForwardIterator(s).
+ * include/bits/stl_deque.h (deque::assign_range): Define.
+ (deque::prepend_range, deque::append_range, deque::insert_range):
+ Declare.
+ (deque(from_range_t, _Rg&&, const allocator_type&)): Define constructor
+ and deduction guide.
+ * include/debug/deque (deque::prepend_range, deque::append_range)
+ (deque::assign_range): Define.
+ (deque(from_range_t, _Rg&&, const allocator_type&)): Define constructor
+ and deduction guide.
+ * testsuite/23_containers/deque/cons/from_range.cc: New test.
+ * testsuite/23_containers/deque/modifiers/append_range.cc: New test.
+ * testsuite/23_containers/deque/modifiers/assign/assign_range.cc:
+ New test.
+ * testsuite/23_containers/deque/modifiers/prepend_range.cc: New test.
+ * testsuite/23_containers/deque/modifiers/insert/insert_range.cc: New file.
+
+2025-03-25 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/ranges (ranges::to): Allow unions as well as
+ non-union class types.
+ * testsuite/std/ranges/conv/lwg4229.cc: New test.
+
+2025-03-25 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/108487
+ * include/bits/stl_vector.h (vector(initializer_list)): Call
+ _M_range_initialize_n instead of _M_range_initialize.
+ (vector(InputIterator, InputIterator)): Use _M_range_initialize_n
+ for C++20 sized sentinels and forward iterators.
+ (vector(from_range_t, R&&)): Use _M_range_initialize_n for sized
+ ranges and forward ranges.
+ (vector::_M_range_initialize(FwIt, FwIt, forward_iterator_tag)):
+ Likewise.
+ (vector::_M_range_initialize_n): New function.
+ * testsuite/23_containers/vector/cons/108487.cc: New test.
+
+2025-03-25 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/debug/vector (vector::assign_range): Use change in
+ capacity to detect reallocation.
+ (vector::insert_range, vector::append_range): Likewise. Remove
+ unused variables.
+
+2025-03-25 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_bvector.h (vector::assign_range): More
+ efficient implementation for forward/sized ranges.
+ (vector::append_range): Handle potentially overlapping range.
+ * include/bits/stl_vector.h (vector(from_range_t, R&&, Alloc)):
+ Do not use append_range for non-sized input range case.
+ (vector::append_range): Handle potentially overlapping range.
+ * include/bits/vector.tcc (vector::insert_range): Forward range
+ instead of moving it.
+ * testsuite/23_containers/vector/bool/modifiers/insert/append_range.cc:
+ Test overlapping ranges.
+ * testsuite/23_containers/vector/modifiers/append_range.cc:
+ Likewise.
+
+2025-03-25 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/118699
+ * testsuite/27_io/filesystem/operations/copy.cc: Check copying a
+ file to a directory.
+
+2025-03-25 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/119429
+ * include/std/format (__format::_Scanner::_Scanner): Cast
+ default argument to size_t.
+
+2025-03-25 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/119415
+ * include/std/flat_set (_Flat_set_impl:insert_range):
+ Add __detail::__cpp17_input_iterator check.
+ * testsuite/23_containers/flat_multiset/1.cc: New tests
+ * testsuite/23_containers/flat_set/1.cc: New tests
+
+2025-03-24 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/xml/manual/policy_data_structures_biblio.xml: Fix two
+ broken links.
+ * doc/html/manual/policy_data_structures.html: Regenerate.
+
+2025-03-24 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/101527
+ * testsuite/24_iterators/common_iterator/101527.cc: New test.
+ * testsuite/24_iterators/counted_iterator/101527.cc: New test.
+
+2025-03-24 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_bvector.h (vector<bool, A>): Enforce the
+ C++20 requirement that the allocator's value_type matches the
+ container.
+ * testsuite/23_containers/vector/bool/cons/from_range.cc: Fix
+ incorrect allocator type.
+
+2025-03-21 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/117214
+ * configure.ac: Use AC_STRUCT_TIMEZONE.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * include/bits/chrono_io.h (__formatter_chrono::_M_c): Set
+ tm_isdst and tm_zone.
+ * testsuite/std/time/format/pr117214.cc: Check %c formatting of
+ zoned_time and local time.
+
+2025-03-21 XU Kailiang <xu2k3l4@outlook.com>
+ Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/117214
+ * include/bits/chrono_io.h (__formatter_chrono::_M_c): Use
+ _M_locale_fmt to format %c time point.
+ * testsuite/std/time/format/pr117214.cc: New test.
+
+2025-03-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/chrono_io.h (__formatter_chrono::_M_locale_fmt):
+ Imbue locale into ostringstream.
+ * testsuite/std/time/format/localized.cc: Check that correct
+ locale is used for call to time_put::put.
+
+2025-03-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_vector.h (vector(from_range_t, Alloc)): Use
+ delegating constructor instead of RAII guards. Use append_range
+ for unsized input range case.
+
+2025-03-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/c++23/std.compat.cc.in: Only export <stdbit.h> and
+ <stdckdint.h> contents for C++26 and later.
+
+2025-03-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/c++23/std.cc.in (tuple_element, tuple_element_t)
+ (tuple_size, tuple_size_v, get): Export.
+ (ranges::cache_latest_view, views::cache_latest): Export.
+ (ranges::to_input_view, views::to_input): Export.
+ (from_range_t, from_range): Export.
+
+2025-03-20 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * include/debug/unordered_map (unordered_map): Add from_range
+ constructors and deduction guides.
+ (unordered_multimap): Likewise.
+ * include/debug/unordered_set (unordered_set): Add from_range
+ constructors and deduction guides.
+ (unordered_multiset): Likewise.
+
+2025-03-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/debug/map.h (map): Add from_range constructors and
+ deduction guides.
+ * include/debug/multimap.h (multimap): Likewise.
+ * include/debug/multiset.h (multiset): Likewise.
+ * include/debug/set.h (set): Likewise.
+
+2025-03-20 Jakub Jelinek <jakub@redhat.com>
+
+ * testsuite/18_support/numeric_limits/traps.cc (main): Fix comment
+ typo.
+
2025-03-19 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/test.xml: Fix default for -std option.