]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/ChangeLog
libstdc++: Fix testsuite with -Wformat
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
f38103f5
GA
12024-01-05 Jonathan Wakely <jwakely@redhat.com>
2
3 * src/c++17/fs_path.cc (path::_List::reserve): Limit maximum
4 size and check for overflows in arithmetic.
5 (path::operator/=(const path&)): Remove redundant exponential
6 growth calculation.
7
82024-01-05 Martin Küttler <martin.kuettler@kernkonzept.com>
9
10 * src/c++17/fs_path.cc (path::_List::reserve): Avoid
11 floating-point arithmetic.
12
132024-01-05 Jonathan Wakely <jwakely@redhat.com>
14
15 PR libstdc++/113241
16 * include/std/type_traits (is_convertible_v): Guard use of
17 built-in with preprocessor check.
18
192024-01-05 Jonathan Wakely <jwakely@redhat.com>
20
21 PR libstdc++/113200
22 * include/bits/char_traits.h (__gnu_cxx::char_traits::move): Use
23 __builtin_constant_p to check for unrelated pointers that cannot
24 be compared during constant evaluation.
25 * testsuite/21_strings/char_traits/requirements/113200.cc: New
26 test.
27
282024-01-05 Cassio Neri <cassio.neri@gmail.com>
29
30 * include/std/chrono: Fix + and - for months and weekdays.
31 * testsuite/std/time/month/1.cc: Add constexpr tests against overflow.
32 * testsuite/std/time/month/2.cc: New test for extreme values.
33 * testsuite/std/time/weekday/1.cc: Add constexpr tests against overflow.
34 * testsuite/std/time/weekday/2.cc: New test for extreme values.
35
362024-01-05 Jonathan Wakely <jwakely@redhat.com>
37
38 PR libstdc++/113099
39 * include/bits/locale_classes.tcc (__try_use_facet): Use
40 if-constexpr for C++11 and up.
41
81d1a6e9
GA
422024-01-05 Ken Matsui <kmatsui@gcc.gnu.org>
43
44 * include/std/type_traits: Use _GLIBCXX_USE_BUILTIN_TRAIT.
45
462024-01-04 Arsen Arsenović <arsen@aarsen.me>
47
48 * include/std/generator (_Subyield_state::_M_jump_in): Fix typo
49 reported by Will Hawkins <hawkinsw@obs.cr>.
50
512024-01-04 Arsen Arsenović <arsen@aarsen.me>
52
53 * include/std/generator (_Stateless_alloc): Rename typename _A
54 to _All.
55
eb84e8d3
GA
562024-01-03 Patrick Palka <ppalka@redhat.com>
57
58 PR testsuite/113175
59 * testsuite/std/ranges/iota/max_size_type.cc (test02): Reduce
60 'limit' to 100 from 1000 and adjust 'log2_limit' accordingly.
61 (test03): Likewise.
62
b4df5e92 63\f
8c22aed4 64Copyright (C) 2024 Free Software Foundation, Inc.
b4df5e92
JW
65
66Copying and distribution of this file, with or without modification,
67are permitted in any medium without royalty provided the copyright
68notice and this notice are preserved.