| 1 |
2026-06-25 Jakub Jelinek <[email protected]> |
| 2 |
|
| 3 |
Backported from master: |
| 4 |
2026-06-25 Jakub Jelinek <[email protected]> |
| 5 |
|
| 6 |
* src/c++23/Makefile.am (stamp-modules-bits): Use abs_builddir instead |
| 7 |
of abs_srcdir. |
| 8 |
* src/c++23/Makefile.in: Regenerate. |
| 9 |
|
| 10 |
2026-06-24 Alexandre Oliva <[email protected]> |
| 11 |
|
| 12 |
Backported from master: |
| 13 |
2026-06-24 Alexandre Oliva <[email protected]> |
| 14 |
|
| 15 |
* src/c++23/Makefile.am (libstdc++.modules.json): Rewrite |
| 16 |
without abspath make function. |
| 17 |
(stamp-modules-bits): Likewise. |
| 18 |
* src/c++23/Makefile.in: Rebuilt. |
| 19 |
|
| 20 |
2026-06-23 Jonathan Wakely <[email protected]> |
| 21 |
|
| 22 |
Backported from master: |
| 23 |
2026-06-23 Jonathan Wakely <[email protected]> |
| 24 |
|
| 25 |
* include/bits/chrono.h (std::chrono_literals): Fix typo in |
| 26 |
comment. |
| 27 |
|
| 28 |
2026-06-23 Jonathan Wakely <[email protected]> |
| 29 |
|
| 30 |
Backported from master: |
| 31 |
2026-06-23 Jonathan Wakely <[email protected]> |
| 32 |
|
| 33 |
* doc/xml/manual/debug_mode.xml: Remove 404 link to stlport |
| 34 |
website and modernise some text about debug modes in other |
| 35 |
implementations. |
| 36 |
* doc/html/manual/debug_mode_design.html: Regenerate. |
| 37 |
|
| 38 |
2026-06-12 Release Manager |
| 39 |
|
| 40 |
* GCC 15.3.0 released. |
| 41 |
|
| 42 |
2026-06-05 XU Kailiang <[email protected]> |
| 43 |
|
| 44 |
PR libstdc++/117214 |
| 45 |
* include/bits/chrono_io.h (__formatter_chrono::_M_a_A) |
| 46 |
(__formatter_chrono::_M_b_B, __formatter_chrono::_M_p): Use |
| 47 |
_M_locale_fmt to format %a/%A/%b/%B/%p. |
| 48 |
* testsuite/std/time/format/pr117214_custom_timeput.cc: New |
| 49 |
test. |
| 50 |
|
| 51 |
2026-06-04 Patrick Palka <[email protected]> |
| 52 |
|
| 53 |
Backported from master: |
| 54 |
2025-07-01 Patrick Palka <[email protected]> |
| 55 |
|
| 56 |
PR libstdc++/120789 |
| 57 |
* include/bits/ranges_algo.h (__remove_if_fn::operator()): Use |
| 58 |
ranges::iter_move(iter) instead of std::move(*iter). |
| 59 |
* testsuite/25_algorithms/remove_if/120789.cc: New test. |
| 60 |
|
| 61 |
2026-06-04 Patrick Palka <[email protected]> |
| 62 |
|
| 63 |
Backported from master: |
| 64 |
2025-07-01 Patrick Palka <[email protected]> |
| 65 |
|
| 66 |
PR libstdc++/120789 |
| 67 |
* include/bits/ranges_algo.h (__unique_fn::operator()): Use |
| 68 |
ranges::iter_move(iter) instead of std::move(*iter). |
| 69 |
* testsuite/25_algorithms/unique/120789.cc: New test. |
| 70 |
|
| 71 |
2026-06-04 Jonathan Wakely <[email protected]> |
| 72 |
|
| 73 |
Backported from master: |
| 74 |
2026-04-02 Jonathan Wakely <[email protected]> |
| 75 |
|
| 76 |
* include/ext/pb_ds/detail/gp_hash_table_map_/find_no_store_hash_fn_imps.hpp: |
| 77 |
Add missing #endif. |
| 78 |
|
| 79 |
2026-06-04 Jonathan Wakely <[email protected]> |
| 80 |
|
| 81 |
Backported from master: |
| 82 |
2026-06-04 Jonathan Wakely <[email protected]> |
| 83 |
|
| 84 |
* include/debug/safe_iterator.h: Remove trailing whitespace. |
| 85 |
|
| 86 |
2026-06-04 Tomasz Kamiński <[email protected]> |
| 87 |
|
| 88 |
Backported from master: |
| 89 |
2025-12-19 Tomasz Kamiński <[email protected]> |
| 90 |
|
| 91 |
* include/debug/helper_functions.h (__gnu_debug::__can_advance): |
| 92 |
Declare as _GLIBCXX20_CONSTEXPR. |
| 93 |
* include/debug/safe_iterator.h (__gnu_debug::__can_advance): |
| 94 |
Define as _GLIBCXX20_CONSTEXPR, and return true for constexpr |
| 95 |
evaluation. |
| 96 |
(__gnu_debug::__base): Define as _GLIBCXX20_CONSTEXPR. |
| 97 |
|
| 98 |
2026-06-04 François Dumont <[email protected]> |
| 99 |
|
| 100 |
PR libstdc++/119163 |
| 101 |
* include/debug/functions.h (__check_valid_range): Add C++20 constexpr. |
| 102 |
* include/debug/helper_functions.h (__valid_range): Likewise. |
| 103 |
* include/debug/safe_iterator.h (__valid_range): Likewise. |
| 104 |
|
| 105 |
2026-06-04 Jonathan Wakely <[email protected]> |
| 106 |
|
| 107 |
Backported from master: |
| 108 |
2025-10-22 Jonathan Wakely <[email protected]> |
| 109 |
|
| 110 |
PR libstdc++/122224 |
| 111 |
* include/bits/stl_iterator_base_funcs.h (prev): Compare |
| 112 |
distance as n > 0 instead of n != 0. |
| 113 |
* testsuite/24_iterators/range_operations/122224.cc: New test. |
| 114 |
|
| 115 |
2026-06-03 Jonathan Wakely <[email protected]> |
| 116 |
|
| 117 |
Backported from master: |
| 118 |
2025-06-02 Jonathan Wakely <[email protected]> |
| 119 |
|
| 120 |
PR libstdc++/120386 |
| 121 |
* include/bits/ranges_algo.h (__unique_copy_fn): Reorder |
| 122 |
arguments for third case to match the first two cases. |
| 123 |
* include/bits/stl_algo.h (__unique_copy): Replace three |
| 124 |
overloads with two, depending only on the iterator category of |
| 125 |
the input range. Dispatch to __unique_copy_1 for the |
| 126 |
non-forward case. |
| 127 |
(__unique_copy_1): New overloads for the case where the input |
| 128 |
range uses non-forward iterators. |
| 129 |
(unique_copy): Only pass the input range category to |
| 130 |
__unique_copy. |
| 131 |
* testsuite/25_algorithms/unique_copy/lwg2439.cc: New test. |
| 132 |
|
| 133 |
2026-06-03 Jonathan Wakely <[email protected]> |
| 134 |
|
| 135 |
Backported from master: |
| 136 |
2025-05-23 Jonathan Wakely <[email protected]> |
| 137 |
|
| 138 |
PR libstdc++/120384 |
| 139 |
* include/bits/stl_algo.h (__unique_copy): Remove all |
| 140 |
_BinaryPredicateConcept concept checks. |
| 141 |
(unique_copy): Check _BinaryPredicateConcept in overload that |
| 142 |
takes a predicate. |
| 143 |
* testsuite/25_algorithms/unique_copy/120384.cc: New test. |
| 144 |
|
| 145 |
2026-06-01 Jakub Jelinek <[email protected]> |
| 146 |
|
| 147 |
Backported from master: |
| 148 |
2026-03-18 Jakub Jelinek <[email protected]> |
| 149 |
|
| 150 |
* include/bits/regex_compiler.h (_Compiler::_M_pop): Uglify ret |
| 151 |
variable name. |
| 152 |
|
| 153 |
2026-05-21 Patrick Palka <[email protected]> |
| 154 |
|
| 155 |
Backported from master: |
| 156 |
2026-05-19 Patrick Palka <[email protected]> |
| 157 |
|
| 158 |
PR libstdc++/125374 |
| 159 |
* include/std/flat_map (_Flat_map_impl::_M_try_emplace): Forward |
| 160 |
instead of unconditionally moving __k when inserting it. |
| 161 |
* testsuite/23_containers/flat_map/1.cc (test10): New test. |
| 162 |
|
| 163 |
2026-05-21 Patrick Palka <[email protected]> |
| 164 |
|
| 165 |
Backported from master: |
| 166 |
2026-04-10 Patrick Palka <[email protected]> |
| 167 |
|
| 168 |
* include/std/ranges (lazy_split_view::begin): Add |
| 169 |
const _Pattern constraint on const overload as per LWG 3599. |
| 170 |
(lazy_split_view::end): Likewise. |
| 171 |
* testsuite/std/ranges/adaptors/lazy_split.cc (test14): New |
| 172 |
test. |
| 173 |
|
| 174 |
2026-05-20 Jonathan Wakely <[email protected]> |
| 175 |
|
| 176 |
Backported from master: |
| 177 |
2026-05-19 Jonathan Wakely <[email protected]> |
| 178 |
|
| 179 |
* src/c++20/tzdata.zi: Import new file from 2026b release. |
| 180 |
|
| 181 |
2026-05-20 Jonathan Wakely <[email protected]> |
| 182 |
|
| 183 |
Backported from master: |
| 184 |
2026-05-18 Jonathan Wakely <[email protected]> |
| 185 |
|
| 186 |
* testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc: |
| 187 |
Reduce iterations for debug mode. |
| 188 |
|
| 189 |
2026-05-20 Jonathan Wakely <[email protected]> |
| 190 |
|
| 191 |
Backported from master: |
| 192 |
2026-05-19 Jonathan Wakely <[email protected]> |
| 193 |
|
| 194 |
PR libstdc++/125369 |
| 195 |
* include/bits/chrono_io.h (__detail::_Parser::operator()): |
| 196 |
Check for errors when parsing digits for a %z format. |
| 197 |
* testsuite/std/time/parse/125369.cc: New test. |
| 198 |
|
| 199 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 200 |
|
| 201 |
Backported from master: |
| 202 |
2026-03-20 Jonathan Wakely <[email protected]> |
| 203 |
|
| 204 |
* src/c++17/fs_path.cc (path::operator+=): Use pointer |
| 205 |
comparison to detect aliasing instead of a loop. |
| 206 |
|
| 207 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 208 |
|
| 209 |
* testsuite/std/time/clock/local/io.cc: Call test_format. |
| 210 |
|
| 211 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 212 |
|
| 213 |
Backported from master: |
| 214 |
2026-01-07 Jonathan Wakely <[email protected]> |
| 215 |
|
| 216 |
PR libstdc++/123100 |
| 217 |
* include/std/sstream (basic_stringbuf::str()&&): Handle the |
| 218 |
case where _M_string is not being used for the buffer. |
| 219 |
* testsuite/27_io/basic_stringbuf/str/char/123100.cc: New test. |
| 220 |
|
| 221 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 222 |
|
| 223 |
Backported from master: |
| 224 |
2026-04-24 Jonathan Wakely <[email protected]> |
| 225 |
|
| 226 |
* include/std/chrono (chrono::__detail::__get_leap_second_info): |
| 227 |
Update expiry date for leap seconds list. |
| 228 |
* src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds): |
| 229 |
Likewise. |
| 230 |
* src/c++20/tzdata.zi: Import new file from 2026a release. |
| 231 |
|
| 232 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 233 |
|
| 234 |
Backported from master: |
| 235 |
2026-03-20 Jonathan Wakely <[email protected]> |
| 236 |
|
| 237 |
PR libstdc++/122567 |
| 238 |
* src/c++20/tzdb.cc (tzdb::current_zone): Loop over all trailing |
| 239 |
components of /etc/localtime path. Use readlink instead of |
| 240 |
std::filesystem::read_symlink. |
| 241 |
|
| 242 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 243 |
|
| 244 |
Backported from master: |
| 245 |
2026-03-19 Jonathan Wakely <[email protected]> |
| 246 |
|
| 247 |
PR libstdc++/124513 |
| 248 |
* src/c++20/tzdb.cc (operator>>(istream&, at_time::Indicator&)): |
| 249 |
Do not peek at the next character if eofbit is already set. |
| 250 |
(istream& operator>>(istream&, at_time&)): Skip whitespace |
| 251 |
before the first character. Handle EOF when parsing "-" as time. |
| 252 |
Do not peek for ":" or "." if eofbit already set. |
| 253 |
* testsuite/std/time/time_zone/116110.cc (test_apia): Remove |
| 254 |
offset of 24h now that the UNTIL time is parsed correctly. |
| 255 |
* testsuite/std/time/time_zone/124513.cc: New test. |
| 256 |
|
| 257 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 258 |
|
| 259 |
Backported from master: |
| 260 |
2026-03-19 Jonathan Wakely <[email protected]> |
| 261 |
|
| 262 |
PR libstdc++/116110 |
| 263 |
* src/c++20/tzdb.cc (operator>>(istream&, ZoneInfo&)): Adjust |
| 264 |
inf.m_until according to indicator suffix on AT time in UNTIL. |
| 265 |
* testsuite/std/time/time_zone/116110.cc (test_kiritimati): |
| 266 |
Remove FIXME now that the UNTIL time is adjusted for STDOFF. |
| 267 |
(test_apia): Adjust FIXME now that UNTIL time is adusted for |
| 268 |
STDOFF. |
| 269 |
* testsuite/std/time/time_zone/get_info_sys.cc: Adjust expected |
| 270 |
results to account for corrected logic. |
| 271 |
* testsuite/std/time/zoned_time/1.cc: Likewise. |
| 272 |
|
| 273 |
2026-05-14 Jonathan Wakely <[email protected]> |
| 274 |
|
| 275 |
Backported from master: |
| 276 |
2026-03-19 Jonathan Wakely <[email protected]> |
| 277 |
|
| 278 |
PR libstdc++/116110 |
| 279 |
* src/c++20/tzdb.cc (time_zone::_M_get_sys_info): Update |
| 280 |
info.offset and info.save to values from the active rule. |
| 281 |
* testsuite/std/time/time_zone/116110.cc: New test. |
| 282 |
|
| 283 |
2026-05-05 Jonathan Wakely <[email protected]> |
| 284 |
|
| 285 |
Backported from master: |
| 286 |
2026-05-05 Jonathan Wakely <[email protected]> |
| 287 |
|
| 288 |
PR libstdc++/109965 |
| 289 |
* doc/doxygen/mainpage.html: Link to topics.html instead of |
| 290 |
modules.html |
| 291 |
|
| 292 |
2026-05-05 Jonathan Wakely <[email protected]> |
| 293 |
|
| 294 |
Backported from master: |
| 295 |
2026-05-05 Jonathan Wakely <[email protected]> |
| 296 |
|
| 297 |
* include/bits/unique_ptr.h (unique_ptr::_Nothrow_deref): New |
| 298 |
helper for pre-C++20. |
| 299 |
(unique_ptr::operator*): Either constrain or use _Nothrow_deref. |
| 300 |
* testsuite/20_util/unique_ptr/lwg4324.cc: New test. |
| 301 |
|
| 302 |
2026-05-05 Jonathan Wakely <[email protected]> |
| 303 |
|
| 304 |
* doc/xml/manual/status_cxx2023.xml: Update status table. |
| 305 |
* doc/html/manual/status.html: Regenerate. |
| 306 |
|
| 307 |
2026-04-16 Tomasz Kamiński <[email protected]> |
| 308 |
|
| 309 |
Backported from master: |
| 310 |
2026-04-14 Tomasz Kamiński <[email protected]> |
| 311 |
|
| 312 |
* include/bits/version.def (stdbit_h, stdckdint_h): Define. |
| 313 |
* include/bits/version.h: Regenerate. |
| 314 |
* include/c_compatibility/stdbit.h (__cpp_lib_stdbit_h): Define |
| 315 |
and use it in guards. |
| 316 |
* include/c_compatibility/stdckdint.h (__cpp_lib_stdckdint_h): |
| 317 |
Define and use it in guards. |
| 318 |
|
| 319 |
2026-04-07 Patrick Palka <[email protected]> |
| 320 |
|
| 321 |
Backported from master: |
| 322 |
2026-04-02 Patrick Palka <[email protected]> |
| 323 |
|
| 324 |
* include/std/ranges (zip_view::size): Uglify 'sizes' |
| 325 |
parameter. |
| 326 |
|
| 327 |
2026-03-31 Jonathan Wakely <[email protected]> |
| 328 |
|
| 329 |
Backported from master: |
| 330 |
2026-03-17 Jonathan Wakely <[email protected]> |
| 331 |
|
| 332 |
PR libstdc++/124463 |
| 333 |
* include/bits/deque.tcc (__uninitialized_copy_a): Define |
| 334 |
overloads for input and output iterators being std::deque |
| 335 |
iterators, and for only the output iterator being a std::deque |
| 336 |
iterator. |
| 337 |
(__uninitialized_move_a): Overload for input and output |
| 338 |
iterators being std::deque iterators. |
| 339 |
* include/bits/stl_uninitialized.h (__uninitialized_copy_a) |
| 340 |
(__uninitialized_move_a): Declare overloads for std::deque |
| 341 |
iterators. |
| 342 |
|
| 343 |
2026-03-20 Jonathan Wakely <[email protected]> |
| 344 |
|
| 345 |
Backported from master: |
| 346 |
2026-03-20 Jonathan Wakely <[email protected]> |
| 347 |
|
| 348 |
* src/c++20/tzdb.cc [_AIX]: Change #ifndef to #ifdef. |
| 349 |
|
| 350 |
2026-03-20 Jonathan Wakely <[email protected]> |
| 351 |
|
| 352 |
Backported from master: |
| 353 |
2026-03-20 Jonathan Wakely <[email protected]> |
| 354 |
|
| 355 |
PR libstdc++/124568 |
| 356 |
* testsuite/24_iterators/istreambuf_iterator/105580.cc: Add |
| 357 |
no_pch option. |
| 358 |
|
| 359 |
2026-03-16 Tomasz Kamiński <[email protected]> |
| 360 |
|
| 361 |
Backported from master: |
| 362 |
2026-03-05 Tomasz Kamiński <[email protected]> |
| 363 |
|
| 364 |
PR libstdc++/124124 |
| 365 |
* testsuite/29_atomics/atomic/cons/zero_padding.cc: Limit size of |
| 366 |
test types to four bytes. |
| 367 |
|
| 368 |
2026-03-16 Tomasz Kamiński <[email protected]> |
| 369 |
|
| 370 |
PR libstdc++/105580 |
| 371 |
* include/std/streambuf (streambuf::gptr, streambuf::egptr) |
| 372 |
(streambuf::gbump): Surround with pragma disabling -Wnull-dereference. |
| 373 |
* testsuite/24_iterators/istreambuf_iterator/105580.cc: New test. |
| 374 |
(cherry picked from commits |
| 375 |
8758503918a91dacff4dbc7126eced21787fbfc9 |
| 376 |
bfc2b87f8244a13ab00e8e3fe2af1d6d18fcaa36 |
| 377 |
a523d1ecc89dcb7ea205e3de22d00443d4a0d91d) |
| 378 |
|
| 379 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 380 |
|
| 381 |
Backported from master: |
| 382 |
2026-02-11 Jonathan Wakely <[email protected]> |
| 383 |
|
| 384 |
PR libstdc++/124015 |
| 385 |
* include/bits/regex.tcc (regex_traits::lookup_classname): Fix |
| 386 |
handling of icase parameter. |
| 387 |
|
| 388 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 389 |
|
| 390 |
Backported from master: |
| 391 |
2026-02-11 Jonathan Wakely <[email protected]> |
| 392 |
|
| 393 |
PR libstdc++/124015 |
| 394 |
* testsuite/28_regex/traits/char/lookup_classname.cc: Check for |
| 395 |
correct result for unrecognized classname. Check that lookup is |
| 396 |
case insensitive. Check that all required classnames are |
| 397 |
recognized. Check that icase flag only affects "lower" and |
| 398 |
"upper". |
| 399 |
* testsuite/28_regex/traits/wchar_t/lookup_classname.cc: |
| 400 |
Likewise. |
| 401 |
|
| 402 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 403 |
|
| 404 |
Backported from master: |
| 405 |
2026-02-13 Jonathan Wakely <[email protected]> |
| 406 |
|
| 407 |
PR libstdc++/121771 |
| 408 |
* include/std/tuple (tuple::tuple(const Elements&...)): Use |
| 409 |
type_identity_t to prevent constructor being used for CTAD. |
| 410 |
(tuple::tuple(allocator_arg_t, const A&, const Elements&...)): |
| 411 |
Likewise. |
| 412 |
* testsuite/20_util/tuple/cons/121771.cc: New test. |
| 413 |
|
| 414 |
2026-03-09 Xi Ruoyao <[email protected]> |
| 415 |
|
| 416 |
Backported from master: |
| 417 |
2026-02-12 Xi Ruoyao <[email protected]> |
| 418 |
Jonathan Wakely <[email protected]> |
| 419 |
|
| 420 |
* testsuite/17_intro/badnames.cc (__unused): Do not define. |
| 421 |
* testsuite/17_intro/names.cc [glibc == 2.43] (__unused): Undef. |
| 422 |
|
| 423 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 424 |
|
| 425 |
Backported from master: |
| 426 |
2025-10-29 Jonathan Wakely <[email protected]> |
| 427 |
|
| 428 |
* include/bits/regex.tcc (regex_traits::value): Use __c instead |
| 429 |
of __ch. |
| 430 |
|
| 431 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 432 |
|
| 433 |
Backported from master: |
| 434 |
2025-11-21 Jonathan Wakely <[email protected]> |
| 435 |
|
| 436 |
* include/bits/regex_automaton.tcc [_GLIBCXX_DEBUG]: Include |
| 437 |
<ostream> so that _State_base::_M_print etc. can use it. |
| 438 |
|
| 439 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 440 |
|
| 441 |
Backported from master: |
| 442 |
2025-10-29 Jonathan Wakely <[email protected]> |
| 443 |
|
| 444 |
* include/bits/regex.tcc (regex_traits::value): Implement |
| 445 |
without using istringstream. |
| 446 |
* include/std/regex: Do not include <sstream>. |
| 447 |
|
| 448 |
2026-03-09 Jonathan Wakely <[email protected]> |
| 449 |
|
| 450 |
Backported from master: |
| 451 |
2025-04-29 Jonathan Wakely <[email protected]> |
| 452 |
|
| 453 |
* include/bits/regex_compiler.h: Replace _GLIBCXX17_CONSTEXPR |
| 454 |
with constexpr and disable diagnostics with pragmas. |
| 455 |
(_AnyMatcher::operator()): Use constexpr-if instead of tag |
| 456 |
dispatching. Postpone calls to _M_translate until after checking |
| 457 |
result of earlier calls. |
| 458 |
(_AnyMatcher::_M_apply): Remove both overloads. |
| 459 |
(_BracketMatcher::operator(), _BracketMatcher::_M_ready): |
| 460 |
Replace tag dispatching with 'if constexpr'. |
| 461 |
(_BracketMatcher::_M_apply(_CharT, true_type)): Remove. |
| 462 |
(_BracketMatcher::_M_apply(_CharT, false_type)): Remove second |
| 463 |
parameter. |
| 464 |
(_BracketMatcher::_M_make_cache): Remove both overloads. |
| 465 |
* include/bits/regex_compiler.tcc (_BracketMatcher::_M_apply): |
| 466 |
Remove second parameter. |
| 467 |
* include/bits/regex_executor.tcc: Replace _GLIBCXX17_CONSTEXPR |
| 468 |
with constexpr and disable diagnostics with pragmas. |
| 469 |
(_Executor::_M_handle_backref): Replace __glibcxx_assert with |
| 470 |
static_assert. |
| 471 |
(_Executor::_M_handle_accept): Mark _S_opcode_backref case as |
| 472 |
unreachable for non-DFS mode and do not instantiate |
| 473 |
_M_handle_backref for that case. |
| 474 |
|
| 475 |
2026-03-04 Jonathan Wakely <[email protected]> |
| 476 |
|
| 477 |
Backported from master: |
| 478 |
2026-03-04 Jonathan Wakely <[email protected]> |
| 479 |
|
| 480 |
PR libstdc++/124363 |
| 481 |
* include/std/string_view: Adjust comment on #endif to match #if |
| 482 |
condition. Likewise for header guard. |
| 483 |
|
| 484 |
2026-03-03 Patrick Palka <[email protected]> |
| 485 |
|
| 486 |
Backported from master: |
| 487 |
2026-02-12 Patrick Palka <[email protected]> |
| 488 |
|
| 489 |
PR libstdc++/114865 |
| 490 |
* include/std/atomic (atomic<_Tp>::atomic(_Tp)) [C++11]: |
| 491 |
Enable __builtin_clear_padding logic. |
| 492 |
* testsuite/29_atomics/atomic/compare_exchange_padding.cc: Enable |
| 493 |
this test in earlier modes, including C++11. |
| 494 |
* testsuite/29_atomics/atomic/cons/zero_padding.cc [C++11]: |
| 495 |
Enable tests verifying cleared padding bits for a non-static-init |
| 496 |
std::atomic object. |
| 497 |
|
| 498 |
2026-02-26 Tomasz Kamiński <[email protected]> |
| 499 |
|
| 500 |
PR libstdc++/123875 |
| 501 |
* include/bits/atomic_base.h (__atomic_impl::__clear_padding): |
| 502 |
Use if constexpr unconditionally. |
| 503 |
(__atomic_float<_Fp>::__atomic_float(_Fp)): Skip __clear_padding |
| 504 |
call for constant evaluation. |
| 505 |
* include/std/atomic (atomic<_Tp>::atomic(_Tp)): Likewise. |
| 506 |
* testsuite/29_atomics/atomic/cons/zero_padding.cc: New test. |
| 507 |
* testsuite/29_atomics/atomic_float/zero_padding.cc: New test. |
| 508 |
(cherry picked from commits |
| 509 |
6b550d69fe7cb62ea6e240ce7a4ba29ce33aa1b1 |
| 510 |
682c95b808724e6f876ea709b873ac6771704d7b |
| 511 |
060d7c2a9c1fe16d23d98a74287fdb7c73ddb784 |
| 512 |
f3ba5ad088cebe117f857329a35b95d18d97a808) |
| 513 |
|
| 514 |
2026-02-10 Jonathan Wakely <[email protected]> |
| 515 |
|
| 516 |
Backported from master: |
| 517 |
2025-11-24 Jonathan Wakely <[email protected]> |
| 518 |
|
| 519 |
* python/libstdcxx/v6/xmethods.py (ListMethodsMatcher.match): |
| 520 |
Fix lookup for node type. |
| 521 |
|
| 522 |
2026-02-10 Jonathan Wakely <[email protected]> |
| 523 |
|
| 524 |
Backported from master: |
| 525 |
2025-11-24 Jonathan Wakely <[email protected]> |
| 526 |
|
| 527 |
PR libstdc++/122821 |
| 528 |
* python/libstdcxx/v6/xmethods.py (_versioned_namespace): Remove |
| 529 |
global variable. |
| 530 |
(is_specialization_of): Do not use _versioned_namespace. Add |
| 531 |
__debug:: to regex. |
| 532 |
|
| 533 |
2026-02-10 Jonathan Wakely <[email protected]> |
| 534 |
|
| 535 |
Backported from master: |
| 536 |
2026-02-10 Jonathan Wakely <[email protected]> |
| 537 |
|
| 538 |
PR libstdc++/123991 |
| 539 |
* include/bits/basic_string.h (compare(size_type, size_type, T)): |
| 540 |
Remove noexcept-specifier. |
| 541 |
(compare(size_type, size_type, T, size_type, size_type)): |
| 542 |
Likewise. |
| 543 |
* include/bits/cow_string.h (compare(size_type, size_type, T)): |
| 544 |
Remove noexcept-specifier. |
| 545 |
(compare(size_type, size_type, T, size_type, size_type)): |
| 546 |
Likewise. |
| 547 |
* testsuite/21_strings/basic_string/operations/compare/char/123991.cc: |
| 548 |
New test. |
| 549 |
* testsuite/21_strings/basic_string/operations/compare/wchar_t/123991.cc: |
| 550 |
New test. |
| 551 |
|
| 552 |
2026-02-09 Jonathan Wakely <[email protected]> |
| 553 |
|
| 554 |
Backported from master: |
| 555 |
2026-02-09 Jonathan Wakely <[email protected]> |
| 556 |
|
| 557 |
PR libstdc++/124024 |
| 558 |
* include/bits/out_ptr.h (out_ptr): Fix doxygen comment to refer |
| 559 |
to the right function. |
| 560 |
(inout_ptr): Improve markup in doxygen comment. |
| 561 |
|
| 562 |
2026-02-06 Tomasz Kamiński <[email protected]> |
| 563 |
|
| 564 |
Backported from master: |
| 565 |
2025-08-26 Tomasz Kamiński <[email protected]> |
| 566 |
|
| 567 |
PR libstdc++/90192 |
| 568 |
* include/bits/stl_vector.h (vector<T>::_M_fill_append): Declare. |
| 569 |
(vector<T>::fill): Use _M_fill_append instead of _M_fill_insert. |
| 570 |
* include/bits/vector.tcc (vector<T>::_M_fill_append): Define |
| 571 |
(vector<T>::_M_fill_insert): Delegate to _M_fill_append when |
| 572 |
elements are appended. |
| 573 |
* testsuite/23_containers/vector/modifiers/moveable.cc: Updated |
| 574 |
copycount for inserting at the end (appending). |
| 575 |
* testsuite/23_containers/vector/modifiers/resize.cc: New test. |
| 576 |
* testsuite/backward/hash_set/check_construct_destroy.cc: Updated |
| 577 |
copycount, the hash_set constructor uses insert to fill buckets |
| 578 |
with nullptrs. |
| 579 |
|
| 580 |
2026-02-05 Tomasz Kamiński <[email protected]> |
| 581 |
|
| 582 |
Backported from master: |
| 583 |
2026-01-19 Tomasz Kamiński <[email protected]> |
| 584 |
|
| 585 |
PR libstdc++/114153 |
| 586 |
* include/bits/ranges_cmp.h (__detail::__less_builtin_ptr_cmp): |
| 587 |
Add __not_overloaded_spaceship spaceship check. |
| 588 |
* include/bits/stl_function.h (greater<void>::operator()) |
| 589 |
(less<void>::operator(), greater_equal<void>::operator()) |
| 590 |
(less_equal<void>::operator()): Implement using if constexpr. |
| 591 |
(greater<void>::__S_cmp, less<void>::__S_cmp) |
| 592 |
(greater_equal<void>::__ptr_comp, less_equal<void>::S_cmp): |
| 593 |
Remove. |
| 594 |
(greater<void>::__ptr_cmp, less<void>::__ptr_cmp) |
| 595 |
(greater_equal<void>::__ptr_comp, less_equal<void>::ptr_cmp): Change |
| 596 |
tostatic constexpr variable. Define in terms of requires expressions |
| 597 |
and __not_overloaded_spaceship check. |
| 598 |
* include/std/concepts: (__detail::__not_overloaded_spaceship): |
| 599 |
Define. |
| 600 |
* libsupc++/compare: (__detail::__3way_builtin_ptr_cmp): Use |
| 601 |
__not_overloaded_spaceship concept. |
| 602 |
* testsuite/20_util/function_objects/comparisons_pointer_spaceship.cc: New test. |
| 603 |
|
| 604 |
2026-01-22 Frank Scheiner <[email protected]> |
| 605 |
|
| 606 |
Backported from master: |
| 607 |
2026-01-22 Frank Scheiner <[email protected]> |
| 608 |
|
| 609 |
* config/abi/post/ia64-linux-gnu/baseline_symbols.txt: |
| 610 |
Regenerate. |
| 611 |
|
| 612 |
2026-01-22 Wang Jinghao <[email protected]> |
| 613 |
|
| 614 |
Backported from master: |
| 615 |
2026-01-10 Wang Jinghao <[email protected]> |
| 616 |
|
| 617 |
* src/c++11/system_error.cc (system_error_category) [_WIN32]: |
| 618 |
Use FormatMessageA function instead of FormatMessage macro. |
| 619 |
* testsuite/19_diagnostics/error_category/system_category.cc: |
| 620 |
Fix typo in __MINGW32__ macro name. Adjust behavior on the |
| 621 |
mingw32 target. |
| 622 |
|
| 623 |
2026-01-22 Jonathan Wakely <[email protected]> |
| 624 |
|
| 625 |
Backported from master: |
| 626 |
2025-12-19 Jonathan Wakely <[email protected]> |
| 627 |
|
| 628 |
PR libstdc++/123147 |
| 629 |
* include/bits/chrono_io.h (_Parser::operator()) <%S>: Use a |
| 630 |
buffer of narrow characters to be parsed by std::from_chars. |
| 631 |
* testsuite/std/time/parse/parse.cc: Check wchar_t parsing. |
| 632 |
|
| 633 |
2025-12-17 Jonathan Wakely <[email protected]> |
| 634 |
|
| 635 |
Backported from master: |
| 636 |
2025-12-16 Jonathan Wakely <[email protected]> |
| 637 |
|
| 638 |
* include/std/chrono (chrono::__detail::__get_leap_second_info): |
| 639 |
Update expiry date for leap seconds list. |
| 640 |
* src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds): |
| 641 |
Likewise. |
| 642 |
* src/c++20/tzdata.zi: Import new file from 2025c release. |
| 643 |
|
| 644 |
2025-12-17 Jonathan Wakely <[email protected]> |
| 645 |
|
| 646 |
Backported from master: |
| 647 |
2025-12-16 Jonathan Wakely <[email protected]> |
| 648 |
|
| 649 |
PR libstdc++/122907 |
| 650 |
* include/bits/cpp_type_traits.h (__memcpyable_integer<bool>): |
| 651 |
Define as false. |
| 652 |
* testsuite/25_algorithms/copy/122907.cc: New test. |
| 653 |
|
| 654 |
2025-12-17 Jonathan Wakely <[email protected]> |
| 655 |
|
| 656 |
Backported from master: |
| 657 |
2025-12-06 Jonathan Wakely <[email protected]> |
| 658 |
|
| 659 |
* include/bits/atomic_wait.h (__detail::__atomic_compare): Use |
| 660 |
std::addressof instead of &. |
| 661 |
* include/std/atomic (atomic::wait, atomic::notify_one) |
| 662 |
(atomic::notify_all): Likewise. |
| 663 |
|
| 664 |
2025-12-17 Vladimir Bespalov <[email protected]> |
| 665 |
|
| 666 |
Backported from master: |
| 667 |
2025-12-03 Vladimir Bespalov <[email protected]> |
| 668 |
|
| 669 |
PR libstdc++/122812 |
| 670 |
* python/libstdcxx/v6/printers.py (lookup_templ_spec): Use |
| 671 |
gdb.Type.tag if present. |
| 672 |
|
| 673 |
2025-12-17 Jonathan Wakely <[email protected]> |
| 674 |
|
| 675 |
Backported from master: |
| 676 |
2025-11-27 Jonathan Wakely <[email protected]> |
| 677 |
|
| 678 |
* testsuite/performance/23_containers/sort_search/list.cc: Cast |
| 679 |
results to void to suppress -Wunused-result warnings from |
| 680 |
nodiscard functions. |
| 681 |
* testsuite/performance/25_algorithms/equal_deque_iterators.cc: |
| 682 |
Likewise. |
| 683 |
* testsuite/performance/25_algorithms/search_n.cc: Likewise. |
| 684 |
|
| 685 |
2025-12-16 Patrick Palka <[email protected]> |
| 686 |
|
| 687 |
Backported from master: |
| 688 |
2025-12-05 Patrick Palka <[email protected]> |
| 689 |
|
| 690 |
PR libstdc++/120446 |
| 691 |
* include/bits/version.def (common_reference): New. |
| 692 |
* include/bits/version.h: Regenerate. |
| 693 |
* include/std/type_traits (__glibcxx_want_common_reference): |
| 694 |
Define. |
| 695 |
(__common_reference_impl<T1, T2, 1>): Add pointer convertibility |
| 696 |
constraints as per P2655R3. |
| 697 |
* testsuite/20_util/common_reference/p2655r3.cc: New test. |
| 698 |
|
| 699 |
2025-12-16 Patrick Palka <[email protected]> |
| 700 |
|
| 701 |
Backported from master: |
| 702 |
2025-12-05 Patrick Palka <[email protected]> |
| 703 |
|
| 704 |
PR c++/120446 |
| 705 |
* include/std/type_traits (__common_reference_impl): Rewrite |
| 706 |
partial specializations to use requires-clause instead of |
| 707 |
an additional void_t template parameter. Consolidate the |
| 708 |
partial specializations corresponding to bullet 1. |
| 709 |
|
| 710 |
2025-12-02 Patrick Palka <[email protected]> |
| 711 |
|
| 712 |
Backported from master: |
| 713 |
2025-12-01 Patrick Palka <[email protected]> |
| 714 |
|
| 715 |
PR libstdc++/122921 |
| 716 |
* include/std/flat_map (_Flat_map_impl::_Iterator::value_type): |
| 717 |
Remove const from key_type to make consistent with the |
| 718 |
container's value_type. |
| 719 |
* testsuite/23_containers/flat_map/1.cc (test09): New test. |
| 720 |
* testsuite/23_containers/flat_multimap/1.cc (test09): New test. |
| 721 |
|
| 722 |
2025-11-28 Patrick Palka <[email protected]> |
| 723 |
|
| 724 |
Backported from master: |
| 725 |
2025-11-28 Patrick Palka <[email protected]> |
| 726 |
|
| 727 |
PR libstdc++/122842 |
| 728 |
* include/bits/ranges_base.h (__access:_CBegin): Define in |
| 729 |
terms of const_iterator directly, not const_iterator_t. |
| 730 |
(__access::_CEnd): Likewise in terms of const_sentinel vs |
| 731 |
const_sentinel_t. |
| 732 |
(const_iterator_t): Move down definition and define in terms |
| 733 |
of ranges::cbegin as per LWG 3946. |
| 734 |
(const_sentinel_t): Likewise in terms of ranges::cend. |
| 735 |
* testsuite/24_iterators/const_iterator/1.cc (test02): Correct |
| 736 |
test for int[], std::array and std::vector. Also test |
| 737 |
std::string. |
| 738 |
|
| 739 |
2025-11-19 Jonathan Wakely <[email protected]> |
| 740 |
|
| 741 |
Backported from master: |
| 742 |
2025-11-19 Jonathan Wakely <[email protected]> |
| 743 |
|
| 744 |
PR libstdc++/122743 |
| 745 |
* doc/xml/manual/abi.xml: Add versions for GCC 15. |
| 746 |
* doc/html/manual/abi.html: Regenerate. |
| 747 |
|
| 748 |
2025-11-19 Jonathan Wakely <[email protected]> |
| 749 |
|
| 750 |
Backported from master: |
| 751 |
2025-11-19 Jonathan Wakely <[email protected]> |
| 752 |
|
| 753 |
* doc/xml/faq.xml: Remove unwanted whitespace inside |
| 754 |
programlisting elements. |
| 755 |
* doc/xml/manual/allocator.xml: Likewise. |
| 756 |
* doc/xml/manual/auto_ptr.xml: Likewise. |
| 757 |
* doc/xml/manual/backwards_compatibility.xml: Likewise. |
| 758 |
* doc/xml/manual/build_hacking.xml: Likewise. |
| 759 |
* doc/xml/manual/containers.xml: Likewise. |
| 760 |
* doc/xml/manual/diagnostics.xml: Likewise. |
| 761 |
* doc/xml/manual/extensions.xml: Likewise. |
| 762 |
* doc/xml/manual/intro.xml: Likewise. |
| 763 |
* doc/xml/manual/io.xml: Likewise. |
| 764 |
* doc/xml/manual/iterators.xml: Likewise. |
| 765 |
* doc/xml/manual/numerics.xml: Likewise. |
| 766 |
* doc/xml/manual/policy_data_structures.xml: Likewise. |
| 767 |
* doc/xml/manual/strings.xml: Likewise. |
| 768 |
* doc/xml/manual/support.xml: Likewise. |
| 769 |
* doc/xml/manual/test.xml: Likewise. |
| 770 |
* doc/xml/manual/using.xml: Likewise. |
| 771 |
* doc/xml/manual/utilities.xml: Likewise. |
| 772 |
* doc/html/*: Regenerate. |
| 773 |
|
| 774 |
2025-11-18 Jonathan Wakely <[email protected]> |
| 775 |
|
| 776 |
Backported from master: |
| 777 |
2025-11-17 Jonathan Wakely <[email protected]> |
| 778 |
|
| 779 |
PR libstdc++/122726 |
| 780 |
* src/filesystem/ops-common.h [_GLIBCXX_FILESYSTEM_IS_WINDOWS] |
| 781 |
(rename): Use __last_system_error to set errno accurately. |
| 782 |
* testsuite/27_io/filesystem/operations/rename.cc: Test |
| 783 |
error_code matches errc::no_such_file_or_directory. |
| 784 |
|
| 785 |
2025-11-17 Jonathan Wakely <[email protected]> |
| 786 |
|
| 787 |
Backported from master: |
| 788 |
2025-11-17 Jonathan Wakely <[email protected]> |
| 789 |
|
| 790 |
* src/c++23/std.cc.in [!__cpp_lib_syncbuf]: Disable exports for |
| 791 |
<syncstream> contents when not defined. |
| 792 |
[!_GLIBCXX_USE_CXX11_ABI]: Disable exports for pmr aliases in |
| 793 |
<string> when not defined. |
| 794 |
|
| 795 |
2025-11-14 Jonathan Wakely <[email protected]> |
| 796 |
|
| 797 |
Backported from master: |
| 798 |
2025-11-13 Jonathan Wakely <[email protected]> |
| 799 |
|
| 800 |
PR libstdc++/122661 |
| 801 |
* include/bits/forward_list.h (forward_list::assign(I, I)): Fix |
| 802 |
value category in is_assignable check. |
| 803 |
* testsuite/23_containers/forward_list/modifiers/122661.cc: |
| 804 |
New test. |
| 805 |
|
| 806 |
2025-10-20 Jonathan Wakely <[email protected]> |
| 807 |
|
| 808 |
Backported from master: |
| 809 |
2025-10-20 Jonathan Wakely <[email protected]> |
| 810 |
|
| 811 |
PR libstdc++/122322 |
| 812 |
* configure.ac (with_newlib) <*-rtems*>: Remove |
| 813 |
HAVE_SYS_IOCT4YL_H, _GLIBCXX_USE_LINK, _GLIBCXX_USE_READLINK, |
| 814 |
_GLIBCXX_USE_SYMLINK, _GLIBCXX_USE_TRUNCATE, and |
| 815 |
_GLIBCXX_USE_FDOPENDIR. Remove duplicates. |
| 816 |
* configure: Regenerate. |
| 817 |
|
| 818 |
2025-10-20 Jonathan Wakely <[email protected]> |
| 819 |
|
| 820 |
Backported from master: |
| 821 |
2025-09-26 Jonathan Wakely <[email protected]> |
| 822 |
|
| 823 |
PR libstdc++/122062 |
| 824 |
* include/bits/random.tcc (__detail::__normalize): Use void cast |
| 825 |
for operands of comma operator. |
| 826 |
(piecewise_linear_distribution): Likewise. |
| 827 |
* testsuite/26_numerics/random/piecewise_linear_distribution/cons/122062.cc: |
| 828 |
New test. |
| 829 |
|
| 830 |
2025-10-15 Chris Johns <[email protected]> |
| 831 |
|
| 832 |
* configure: Regenerate. |
| 833 |
* configure.ac (newlib, *-rtems*): Add HAVE_SYS_IOCTL_H, |
| 834 |
HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H, HAVE_S_ISREG, HAVE_UNISTD_H, |
| 835 |
HAVE_UNLINKAT, _GLIBCXX_USE_CHMOD, _GLIBCXX_USE_MKDIR, |
| 836 |
_GLIBCXX_USE_CHDIR, _GLIBCXX_USE_GETCWD, _GLIBCXX_USE_UTIME, |
| 837 |
_GLIBCXX_USE_LINK, _GLIBCXX_USE_READLINK, _GLIBCXX_USE_SYMLINK, |
| 838 |
_GLIBCXX_USE_TRUNCATE and _GLIBCXX_USE_FDOPENDIR. |
| 839 |
|
| 840 |
2025-09-24 Patrick Palka <[email protected]> |
| 841 |
|
| 842 |
Backported from master: |
| 843 |
2025-09-24 Patrick Palka <[email protected]> |
| 844 |
|
| 845 |
* testsuite/17_intro/names.cc: Undefine 'u' on s390*-linux. |
| 846 |
|
| 847 |
2025-09-24 Jakub Jelinek <[email protected]> |
| 848 |
|
| 849 |
Backported from master: |
| 850 |
2025-09-08 Jakub Jelinek <[email protected]> |
| 851 |
|
| 852 |
PR libstdc++/121827 |
| 853 |
* include/precompiled/extc++.h: Don't include ext/cast.h which is an |
| 854 |
internal header. |
| 855 |
* include/ext/pointer.h: Include bits/c++config.h before |
| 856 |
#if _GLIBCXX_HOSTED. |
| 857 |
|
| 858 |
2025-09-18 Patrick Palka <[email protected]> |
| 859 |
|
| 860 |
Backported from master: |
| 861 |
2025-09-17 Patrick Palka <[email protected]> |
| 862 |
|
| 863 |
* testsuite/20_util/bind/dangling_ref.cc: Compile with |
| 864 |
-Wsystem-headers. |
| 865 |
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise. |
| 866 |
* testsuite/20_util/unique_ptr/lwg4148.cc: Likewise. |
| 867 |
* testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: |
| 868 |
Likewise. |
| 869 |
* testsuite/30_threads/packaged_task/cons/dangling_ref.cc: |
| 870 |
Likewise. |
| 871 |
|
| 872 |
2025-09-12 Jonathan Wakely <[email protected]> |
| 873 |
|
| 874 |
Backported from master: |
| 875 |
2025-09-12 Jonathan Wakely <[email protected]> |
| 876 |
|
| 877 |
PR libstdc++/117276 |
| 878 |
* include/pstl/parallel_backend_tbb.h (__func_task::finalize): |
| 879 |
Make deallocation unconditional. |
| 880 |
|
| 881 |
2025-09-10 Jonathan Wakely <[email protected]> |
| 882 |
|
| 883 |
Backported from master: |
| 884 |
2025-09-10 Jonathan Wakely <[email protected]> |
| 885 |
|
| 886 |
* include/bits/unique_ptr.h: Remove blank line. |
| 887 |
|
| 888 |
2025-09-09 Tomasz Kamiński <[email protected]> |
| 889 |
|
| 890 |
Backported from master: |
| 891 |
2025-09-05 Tomasz Kamiński <[email protected]> |
| 892 |
|
| 893 |
* doc/html/manual/status.html: Regenerate. |
| 894 |
* doc/xml/manual/status_cxx2011.xml: Add entry for bad_function_call. |
| 895 |
* doc/xml/manual/status_cxx2017.xml: Add entries for bad_any_cast |
| 896 |
and nullptr_t output. Update entry for sf.cmath. Fix stable name for |
| 897 |
mem.res. |
| 898 |
|
| 899 |
2025-09-09 Tomasz Kamiński <[email protected]> |
| 900 |
|
| 901 |
Backported from master: |
| 902 |
2025-09-05 Tomasz Kamiński <[email protected]> |
| 903 |
|
| 904 |
* doc/html/manual/status.html: Regenerate the file. |
| 905 |
* doc/xml/manual/status_cxx2017.xml: Addd more entires. |
| 906 |
|
| 907 |
2025-09-08 Jonathan Wakely <[email protected]> |
| 908 |
|
| 909 |
Backported from master: |
| 910 |
2025-09-08 Jonathan Wakely <[email protected]> |
| 911 |
|
| 912 |
PR libstdc++/120698 |
| 913 |
* doc/xml/manual/configure.xml: Do not claim that vtv is enabled |
| 914 |
by default. |
| 915 |
* doc/html/manual/configure.html: Regenerate. |
| 916 |
|
| 917 |
2025-09-04 Yihan Wang <[email protected]> |
| 918 |
|
| 919 |
Backported from master: |
| 920 |
2025-09-03 Yihan Wang <[email protected]> |
| 921 |
|
| 922 |
* include/std/expected (expected(U&&)): Add missing constraint |
| 923 |
as per LWG 4222. |
| 924 |
* testsuite/20_util/expected/lwg4222.cc: New test. |
| 925 |
|
| 926 |
2025-09-04 Jonathan Wakely <[email protected]> |
| 927 |
|
| 928 |
Backported from master: |
| 929 |
2025-09-03 Jonathan Wakely <[email protected]> |
| 930 |
|
| 931 |
PR libstdc++/110853 |
| 932 |
* include/bits/stl_pair.h [C++20] (pair(const T1&, const T2&)): |
| 933 |
Use std::type_identity_t<T1> for first parameter. |
| 934 |
* testsuite/20_util/pair/cons/110853.cc: New test. |
| 935 |
|
| 936 |
2025-09-04 Jonathan Wakely <[email protected]> |
| 937 |
|
| 938 |
Backported from master: |
| 939 |
2025-09-03 Jonathan Wakely <[email protected]> |
| 940 |
|
| 941 |
PR libstdc++/121745 |
| 942 |
* include/bits/stl_pair.h (get): Use forward instead of move in |
| 943 |
std::get<T> overloads for rvalue pairs. |
| 944 |
* testsuite/20_util/pair/astuple/get_by_type.cc: Check all value |
| 945 |
categories and cv-qualification. |
| 946 |
|
| 947 |
2025-08-31 Jonathan Wakely <[email protected]> |
| 948 |
|
| 949 |
Backported from master: |
| 950 |
2025-08-21 Jonathan Wakely <[email protected]> |
| 951 |
|
| 952 |
PR libstdc++/121374 |
| 953 |
* include/std/limits (numeric_limits<__float128>::max_digits10): |
| 954 |
Fix value. |
| 955 |
* testsuite/18_support/numeric_limits/128bit.cc: Check value. |
| 956 |
|
| 957 |
2025-08-31 Jonathan Wakely <[email protected]> |
| 958 |
|
| 959 |
Backported from master: |
| 960 |
2025-08-21 Jonathan Wakely <[email protected]> |
| 961 |
|
| 962 |
PR libstdc++/121496 |
| 963 |
* include/std/mutex (__timed_mutex_impl::_M_try_wait_until): |
| 964 |
Change preprocessor condition to use #if instead of #ifdef. |
| 965 |
(recursive_timed_mutex::_M_clocklock): Likewise. |
| 966 |
* testsuite/30_threads/timed_mutex/121496.cc: New test. |
| 967 |
|
| 968 |
2025-08-31 Jonathan Wakely <[email protected]> |
| 969 |
|
| 970 |
Backported from master: |
| 971 |
2025-07-17 Jonathan Wakely <[email protected]> |
| 972 |
|
| 973 |
PR libstdc++/121097 |
| 974 |
* include/c_global/cmath (hypot): Use __promote_3 instead of |
| 975 |
__promoted. |
| 976 |
|
| 977 |
2025-08-31 Jonathan Wakely <[email protected]> |
| 978 |
|
| 979 |
Backported from master: |
| 980 |
2025-06-11 Jonathan Wakely <[email protected]> |
| 981 |
|
| 982 |
PR libstdc++/120390 |
| 983 |
* include/bits/stl_construct.h (_Destroy_aux::__destroy_n): New |
| 984 |
static member function. |
| 985 |
(_Destroy_aux<true>::__destroy_n): Likewise. |
| 986 |
(_Destroy_n_aux): Remove. |
| 987 |
(_Destroy(ForwardIterator, ForwardIterator)): Remove |
| 988 |
static_assert. Use is_trivially_destructible instead of |
| 989 |
__has_trivial_destructor. |
| 990 |
(_Destroy_n): Likewise. Use _Destroy_aux::__destroy_n instead of |
| 991 |
_Destroy_n_aux::__destroy_n. |
| 992 |
* testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc: |
| 993 |
Adjust dg-error strings. Move destroy_n tests to ... |
| 994 |
* testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_n_neg.cc: |
| 995 |
New test. |
| 996 |
* testsuite/23_containers/vector/cons/destructible_debug_neg.cc: |
| 997 |
Adjust dg-error strings. |
| 998 |
* testsuite/23_containers/vector/cons/destructible_neg.cc: |
| 999 |
Likewise. |
| 1000 |
|
| 1001 |
2025-08-19 Tomasz Kamiński <[email protected]> |
| 1002 |
|
| 1003 |
Backported from master: |
| 1004 |
2025-08-18 Tomasz Kamiński <[email protected]> |
| 1005 |
|
| 1006 |
PR libstdc++/121313 |
| 1007 |
* include/bits/vector.tcc (vector::insert_range): Add check for |
| 1008 |
empty size. |
| 1009 |
* testsuite/23_containers/vector/modifiers/insert/insert_range.cc: |
| 1010 |
New tests. |
| 1011 |
|
| 1012 |
2025-08-19 Tomasz Kamiński <[email protected]> |
| 1013 |
|
| 1014 |
Backported from master: |
| 1015 |
2025-07-08 Tomasz Kamiński <[email protected]> |
| 1016 |
|
| 1017 |
PR libstdc++/119861 |
| 1018 |
* include/std/format (formatter<_Rg, _CharT>::set_separator) |
| 1019 |
(formatter<_Rg, _CharT>::set_brackets): Constrain with |
| 1020 |
(format_kind<_Rg> == range_format::sequence). |
| 1021 |
* testsuite/std/format/ranges/pr119861_neg.cc: New test. |
| 1022 |
|
| 1023 |
2025-08-08 Jakub Jelinek <[email protected]> |
| 1024 |
|
| 1025 |
Backported from master: |
| 1026 |
2025-08-04 Jakub Jelinek <[email protected]> |
| 1027 |
hexne <[email protected]> |
| 1028 |
|
| 1029 |
PR libstdc++/121373 |
| 1030 |
* src/c++23/std.cc.in (std::ranges::shift_left, |
| 1031 |
std::ranges::shift_right): Only export for C++23 and later. |
| 1032 |
(std::ranges::fold_left_first_with_iter_result, |
| 1033 |
std::ranges::fold_left_with_iter_result): Export. |
| 1034 |
(std::byteswap): Export for C++23 and later. |
| 1035 |
(std::ranges::iter_move, std::ranges::iter_swap): Export. |
| 1036 |
(std::projected_value_t): Export for C++26 and later. |
| 1037 |
(std::out_ptr_t, std::inout_ptr_t): Export. |
| 1038 |
(std::ranges::iota_result): Export. |
| 1039 |
(std::regex_constants): Export a lot of constants. |
| 1040 |
(std::is_scoped_enum, std::is_scoped_enum_v): Export. |
| 1041 |
|
| 1042 |
2025-08-08 Release Manager |
| 1043 |
|
| 1044 |
* GCC 15.2.0 released. |
| 1045 |
|
| 1046 |
2025-07-24 Patrick Palka <[email protected]> |
| 1047 |
|
| 1048 |
Backported from master: |
| 1049 |
2025-07-15 Patrick Palka <[email protected]> |
| 1050 |
|
| 1051 |
PR libstdc++/119962 |
| 1052 |
* include/std/ranges (join_view::_Iterator::_M_outer): Initialize. |
| 1053 |
(lazy_split_view::_OuterIter::_M_current): Initialize. |
| 1054 |
(join_with_view::_Iterator::_M_outer_it): Initialize. |
| 1055 |
* testsuite/std/ranges/adaptors/join.cc (test15): New test. |
| 1056 |
* testsuite/std/ranges/adaptors/join_with/1.cc (test05): New test. |
| 1057 |
* testsuite/std/ranges/adaptors/lazy_split.cc (test13): New test. |
| 1058 |
|
| 1059 |
2025-07-19 H.J. Lu <[email protected]> |
| 1060 |
|
| 1061 |
Backported from master: |
| 1062 |
2025-07-09 H.J. Lu <[email protected]> |
| 1063 |
|
| 1064 |
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: |
| 1065 |
Updated. |
| 1066 |
|
| 1067 |
2025-07-11 Jonathan Wakely <[email protected]> |
| 1068 |
|
| 1069 |
Backported from master: |
| 1070 |
2025-07-09 Jonathan Wakely <[email protected]> |
| 1071 |
|
| 1072 |
PR libstdc++/119754 |
| 1073 |
* include/bits/stl_uninitialized.h (__uninitialized_default): |
| 1074 |
Do not use optimized implementation for constexpr case. Use |
| 1075 |
_GLIBCXX20_CONSTEXPR instead of _GLIBCXX26_CONSTEXPR. |
| 1076 |
|
| 1077 |
2025-07-11 Jonathan Wakely <[email protected]> |
| 1078 |
|
| 1079 |
Backported from master: |
| 1080 |
2025-07-09 Jonathan Wakely <[email protected]> |
| 1081 |
|
| 1082 |
PR libstdc++/120997 |
| 1083 |
* include/std/span (span::first, span::last, span::subspan): Do |
| 1084 |
not use braced-init-list for return statements. |
| 1085 |
* testsuite/23_containers/span/120997.cc: New test. |
| 1086 |
|
| 1087 |
2025-07-11 Jonathan Wakely <[email protected]> |
| 1088 |
|
| 1089 |
Backported from master: |
| 1090 |
2025-07-08 Jonathan Wakely <[email protected]> |
| 1091 |
|
| 1092 |
PR libstdc++/118681 |
| 1093 |
* src/c++17/memory_resource.cc (choose_block_size): New |
| 1094 |
function. |
| 1095 |
(synchronized_pool_resource::do_allocate): Use choose_block_size |
| 1096 |
to determine appropriate block size. |
| 1097 |
(synchronized_pool_resource::do_deallocate): Likewise |
| 1098 |
(unsynchronized_pool_resource::do_allocate): Likewise. |
| 1099 |
(unsynchronized_pool_resource::do_deallocate): Likewise |
| 1100 |
* testsuite/20_util/synchronized_pool_resource/118681.cc: New |
| 1101 |
test. |
| 1102 |
* testsuite/20_util/unsynchronized_pool_resource/118681.cc: New |
| 1103 |
test. |
| 1104 |
|
| 1105 |
2025-07-08 Jonathan Wakely <[email protected]> |
| 1106 |
|
| 1107 |
Backported from master: |
| 1108 |
2025-07-04 Jonathan Wakely <[email protected]> |
| 1109 |
|
| 1110 |
* include/bits/stl_algobase.h (__size_to_integer): Move |
| 1111 |
misplaced unsigned keyword on __size_to_integer overloads for |
| 1112 |
__GLIBCXX_TYPE_INT_N_3 integer type. |
| 1113 |
|
| 1114 |
2025-07-03 Patrick Palka <[email protected]> |
| 1115 |
|
| 1116 |
Backported from master: |
| 1117 |
2025-07-03 Patrick Palka <[email protected]> |
| 1118 |
|
| 1119 |
PR libstdc++/120934 |
| 1120 |
* include/std/ranges (concat_view::end): Refine condition |
| 1121 |
for returning an iterator instead of default_sentinel as |
| 1122 |
per the updated P/R for LWG 4166. |
| 1123 |
* testsuite/std/ranges/concat/1.cc (test05): New test. |
| 1124 |
|
| 1125 |
2025-07-03 Jonathan Wakely <[email protected]> |
| 1126 |
|
| 1127 |
Backported from master: |
| 1128 |
2025-07-03 Jonathan Wakely <[email protected]> |
| 1129 |
|
| 1130 |
PR libstdc++/120931 |
| 1131 |
* include/bits/stl_uninitialized.h (__uninitialized_fill<true>): |
| 1132 |
Fix typo resulting in call to __do_uninit_copy instead of |
| 1133 |
__do_uninit_fill. |
| 1134 |
* testsuite/20_util/specialized_algorithms/uninitialized_fill/120931.cc: |
| 1135 |
New test. |
| 1136 |
|
| 1137 |
2025-07-01 Tomasz Kamiński <[email protected]> |
| 1138 |
|
| 1139 |
Backported from master: |
| 1140 |
2025-06-13 Tomasz Kamiński <[email protected]> |
| 1141 |
|
| 1142 |
PR libstdc++/120648 |
| 1143 |
* include/bits/chrono_io.h (__formatter_chrono::_M_format_to): |
| 1144 |
Handle %c, %r, %x and %X by passing them to _M_c_r_x_X. |
| 1145 |
(__formatter_chrono::_M_c_r_x_X): Reworked from _M_c. |
| 1146 |
(__formatter_chrono::_M_c): Renamed into above. |
| 1147 |
(__formatter_chrono::_M_r, __formatter_chrono::_M_x) |
| 1148 |
(__formatter_chrono::_M_X): Removed. |
| 1149 |
* testsuite/std/time/format/pr117214.cc: New tests for %r, %x, |
| 1150 |
%X with date, time and durations. |
| 1151 |
|
| 1152 |
2025-06-30 Tomasz Kamiński <[email protected]> |
| 1153 |
|
| 1154 |
Backported from master: |
| 1155 |
2025-06-25 Tomasz Kamiński <[email protected]> |
| 1156 |
|
| 1157 |
PR libstdc++/120650 |
| 1158 |
* include/bits/chrono_io.h |
| 1159 |
(formatter<chrono::month_day_last,_CharT>::parse): Call _M_parse with |
| 1160 |
only Month being available. |
| 1161 |
|
| 1162 |
2025-06-12 Jonathan Wakely <[email protected]> |
| 1163 |
|
| 1164 |
Backported from master: |
| 1165 |
2025-06-12 Jonathan Wakely <[email protected]> |
| 1166 |
|
| 1167 |
PR libstdc++/120625 |
| 1168 |
* include/std/format (__format::__disabled): Remove. |
| 1169 |
(__formatter_disabled): New type. |
| 1170 |
(formatter<char*, wchar_t>, formatter<const char*, wchar_t>) |
| 1171 |
(formatter<char[N], wchar_t>, formatter<string, wchar_t>) |
| 1172 |
(formatter<string_view, wchar_t>): Use __formatter_disabled as |
| 1173 |
base class instead of formatter<__disabled, wchar_t>. |
| 1174 |
* testsuite/std/format/formatter/120625.cc: New test. |
| 1175 |
|
| 1176 |
2025-06-10 Jonathan Wakely <[email protected]> |
| 1177 |
|
| 1178 |
Backported from master: |
| 1179 |
2025-06-04 Jonathan Wakely <[email protected]> |
| 1180 |
|
| 1181 |
PR libstdc++/99832 |
| 1182 |
* include/bits/chrono.h (system_clock::to_time_t): Add |
| 1183 |
always_inline attribute to be agnostic to the underlying type of |
| 1184 |
time_t. |
| 1185 |
(system_clock::from_time_t): Add always_inline for consistency |
| 1186 |
with to_time_t. |
| 1187 |
* testsuite/20_util/system_clock/99832.cc: New test. |
| 1188 |
|
| 1189 |
2025-06-10 Jonathan Wakely <[email protected]> |
| 1190 |
|
| 1191 |
Backported from master: |
| 1192 |
2025-06-05 Jonathan Wakely <[email protected]> |
| 1193 |
|
| 1194 |
PR libstdc++/120548 |
| 1195 |
* include/std/format (__formatter_fp::_M_localize): Do not |
| 1196 |
include a leading sign character in the string to be grouped. |
| 1197 |
* testsuite/std/format/functions/format.cc: Check grouping when |
| 1198 |
sign is present in the output. |
| 1199 |
|
| 1200 |
2025-06-06 Patrick Palka <[email protected]> |
| 1201 |
|
| 1202 |
Backported from master: |
| 1203 |
2025-06-06 Patrick Palka <[email protected]> |
| 1204 |
|
| 1205 |
PR libstdc++/120432 |
| 1206 |
* include/std/flat_map (flat_map::operator[]): Make the |
| 1207 |
non-template overloads call try_emplace directly. Remove |
| 1208 |
non-standard same_as constraint on the template overload. |
| 1209 |
* testsuite/23_containers/flat_map/1.cc (test08): New test. |
| 1210 |
|
| 1211 |
2025-06-06 Tomasz Kamiński <[email protected]> |
| 1212 |
|
| 1213 |
Backported from master: |
| 1214 |
2025-06-04 Tomasz Kamiński <[email protected]> |
| 1215 |
|
| 1216 |
* include/bits/chrono_io.h (__formatter_chrono:_M_s): Add missing |
| 1217 |
__out argument to format_to call. |
| 1218 |
|
| 1219 |
2025-06-01 Patrick Palka <[email protected]> |
| 1220 |
|
| 1221 |
Backported from master: |
| 1222 |
2025-05-29 Patrick Palka <[email protected]> |
| 1223 |
|
| 1224 |
* include/std/flat_map (_Flat_map_impl::operator==): Compare |
| 1225 |
keys and values separately. |
| 1226 |
|
| 1227 |
2025-06-01 Patrick Palka <[email protected]> |
| 1228 |
|
| 1229 |
Backported from master: |
| 1230 |
2025-05-29 Patrick Palka <[email protected]> |
| 1231 |
Jonathan Wakely <[email protected]> |
| 1232 |
|
| 1233 |
PR libstdc++/120465 |
| 1234 |
* include/std/flat_map (_Flat_map_impl::_M_erase_if): Use a |
| 1235 |
projection with ranges::remove_if to pass a pair instead of |
| 1236 |
a tuple to the predicate. |
| 1237 |
* testsuite/23_containers/flat_map/1.cc (test07): Strengthen |
| 1238 |
to expect the argument passed to the predicate is a pair. |
| 1239 |
* testsuite/23_containers/flat_multimap/1.cc (test07): Likewise. |
| 1240 |
|
| 1241 |
2025-05-27 Jonathan Wakely <[email protected]> |
| 1242 |
|
| 1243 |
Backported from master: |
| 1244 |
2025-05-22 Jonathan Wakely <[email protected]> |
| 1245 |
|
| 1246 |
* testsuite/util/pstl/test_utils.h (ForwardIterator::operator++): |
| 1247 |
Fix return type. |
| 1248 |
(BidirectionalIterator::operator++): Likewise. |
| 1249 |
(BidirectionalIterator::operator--): Likewise. |
| 1250 |
|
| 1251 |
2025-05-27 Jonathan Wakely <[email protected]> |
| 1252 |
|
| 1253 |
Backported from master: |
| 1254 |
2025-05-22 Jonathan Wakely <[email protected]> |
| 1255 |
|
| 1256 |
PR libstdc++/120367 |
| 1257 |
* include/bits/stl_vector.h (_M_range_initialize): Initialize |
| 1258 |
_M_impl._M_finish. |
| 1259 |
* testsuite/23_containers/vector/cons/from_range.cc: Check with |
| 1260 |
a type that throws on construction. |
| 1261 |
exceptions during construction. |
| 1262 |
|
| 1263 |
2025-05-20 Jonathan Wakely <[email protected]> |
| 1264 |
|
| 1265 |
Backported from master: |
| 1266 |
2025-05-20 Jonathan Wakely <[email protected]> |
| 1267 |
|
| 1268 |
* doc/xml/faq.xml: Update URL for archived SGI STL docs. |
| 1269 |
* doc/xml/manual/containers.xml: Likewise. |
| 1270 |
* doc/xml/manual/extensions.xml: Likewise. |
| 1271 |
* doc/xml/manual/using.xml: Likewise. |
| 1272 |
* doc/xml/manual/utilities.xml: Likewise. |
| 1273 |
* doc/html/*: Regenerate. |
| 1274 |
|
| 1275 |
2025-05-19 Jonathan Wakely <[email protected]> |
| 1276 |
|
| 1277 |
Backported from master: |
| 1278 |
2025-05-19 Jonathan Wakely <[email protected]> |
| 1279 |
|
| 1280 |
* include/std/ranges (_ZipTransform::operator()): Remove name of |
| 1281 |
unused parameter. |
| 1282 |
(chunk_view::_Iterator, stride_view::_Iterator): Likewise. |
| 1283 |
(join_with_view): Declare _Iterator and _Sentinel as class |
| 1284 |
instead of struct. |
| 1285 |
(repeat_view): Declare _Iterator as class instead of struct. |
| 1286 |
|
| 1287 |
2025-05-19 Jonathan Wakely <[email protected]> |
| 1288 |
|
| 1289 |
Backported from master: |
| 1290 |
2025-05-19 Jonathan Wakely <[email protected]> |
| 1291 |
|
| 1292 |
PR libstdc++/120293 |
| 1293 |
* include/bits/chrono_io.h (_M_format_to_ostream): Add special |
| 1294 |
case for local_time convertible to local_days. |
| 1295 |
* testsuite/std/time/clock/local/io.cc: Check formatting of |
| 1296 |
chrono::local_days. |
| 1297 |
|
| 1298 |
2025-05-19 Jonathan Wakely <[email protected]> |
| 1299 |
|
| 1300 |
Backported from master: |
| 1301 |
2025-05-06 Jonathan Wakely <[email protected]> |
| 1302 |
|
| 1303 |
PR libstdc++/120029 |
| 1304 |
* src/c++17/fs_path.cc (path::operator+=(const path&)): Handle |
| 1305 |
parameters that alias the path or one of its components. |
| 1306 |
* testsuite/27_io/filesystem/path/concat/120029.cc: New test. |
| 1307 |
* testsuite/experimental/filesystem/path/concat/120029.cc: New |
| 1308 |
test. |
| 1309 |
|
| 1310 |
2025-05-19 Jonathan Wakely <[email protected]> |
| 1311 |
|
| 1312 |
Backported from master: |
| 1313 |
2025-05-15 Jonathan Wakely <[email protected]> |
| 1314 |
|
| 1315 |
PR libstdc++/120190 |
| 1316 |
* include/std/format (format_kind): Adjust primary template to |
| 1317 |
not depend on itself. |
| 1318 |
* testsuite/std/format/ranges/format_kind_neg.cc: Adjust |
| 1319 |
expected errors. Check more invalid specializations. |
| 1320 |
|
| 1321 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1322 |
|
| 1323 |
Backported from master: |
| 1324 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1325 |
|
| 1326 |
PR libstdc++/120187 |
| 1327 |
* include/c_global/ciso646: Only give deprecated warning for |
| 1328 |
C++20 and later. |
| 1329 |
* include/c_global/ccomplex: Add @since to Doxygen comment. |
| 1330 |
* include/c_global/cstdalign: Likewise. |
| 1331 |
* include/c_global/cstdbool: Likewise. |
| 1332 |
* include/c_global/ctgmath: Likewise. |
| 1333 |
* testsuite/18_support/headers/ciso646/macros.cc: Remove |
| 1334 |
dg-warning for c++17_only effective target. |
| 1335 |
* testsuite/18_support/headers/ciso646/macros-2.cc: New test. |
| 1336 |
|
| 1337 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1338 |
|
| 1339 |
Backported from master: |
| 1340 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1341 |
|
| 1342 |
PR libstdc++/120198 |
| 1343 |
* include/bits/version.def (scoped_lock): Do not depend on |
| 1344 |
gthreads or hosted. |
| 1345 |
* include/bits/version.h: Regenerate. |
| 1346 |
* include/std/mutex (scoped_lock): Update comment. |
| 1347 |
* testsuite/30_threads/scoped_lock/requirements/typedefs.cc: |
| 1348 |
Remove dg-require-gthreads and use custom lockable type instead |
| 1349 |
of std::mutex. Check that typedef is only present for a single |
| 1350 |
template argument. |
| 1351 |
|
| 1352 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1353 |
|
| 1354 |
Backported from master: |
| 1355 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1356 |
|
| 1357 |
* doc/xml/manual/status_cxx2023.xml: Update status of proposals |
| 1358 |
implemented after GCC 14.2 release. |
| 1359 |
* doc/html/*: Regenerate. |
| 1360 |
|
| 1361 |
2025-05-12 Patrick Palka <[email protected]> |
| 1362 |
|
| 1363 |
Backported from master: |
| 1364 |
2025-05-12 Patrick Palka <[email protected]> |
| 1365 |
|
| 1366 |
PR libstdc++/119714 |
| 1367 |
PR libstdc++/112490 |
| 1368 |
* include/std/expected (expected::operator==): Replace |
| 1369 |
non-dependent std::expected function parameter with a dependent |
| 1370 |
one of type expected<_Vp, _Er> where _Vp matches _Tp. |
| 1371 |
* testsuite/20_util/expected/119714.cc: New test. |
| 1372 |
|
| 1373 |
2025-05-12 Patrick Palka <[email protected]> |
| 1374 |
|
| 1375 |
Backported from master: |
| 1376 |
2025-04-29 Patrick Palka <[email protected]> |
| 1377 |
|
| 1378 |
PR libstdc++/119427 |
| 1379 |
* include/std/flat_map (_Flat_map_impl::erase_if): Replace |
| 1380 |
this hidden friend with ... |
| 1381 |
(_Flat_map_impl::_M_erase_if): ... this member function. |
| 1382 |
(flat_map): Export _Flat_map_impl::_M_erase_if. |
| 1383 |
(erase_if(flat_map)): Define. |
| 1384 |
(flat_multimap): Export _Flat_map_impl::_M_erase_if. |
| 1385 |
(erase_if(flat_multimap)): Define. |
| 1386 |
* include/std/flat_set (_Flat_set_impl::erase_if): Replace |
| 1387 |
with ... |
| 1388 |
(_Flat_set_impl::_M_erase_if): ... this member function. |
| 1389 |
(flat_set): Export _Flat_set_impl::_M_erase_if. |
| 1390 |
(erase_if(flat_set)): Define. |
| 1391 |
(flat_multiset): Export _Flat_set_impl::_M_erase_if. |
| 1392 |
(erase_if(flat_multiset)): Define. |
| 1393 |
* testsuite/23_containers/flat_map/1.cc (test07): New test. |
| 1394 |
* testsuite/23_containers/flat_multimap/1.cc (test07): New test. |
| 1395 |
* testsuite/23_containers/flat_multiset/1.cc (test09): New test. |
| 1396 |
* testsuite/23_containers/flat_set/1.cc (test09): New test. |
| 1397 |
|
| 1398 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1399 |
|
| 1400 |
Backported from master: |
| 1401 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1402 |
|
| 1403 |
PR libstdc++/118260 |
| 1404 |
* python/hook.in: Suppress output from gdb.execute calls to |
| 1405 |
register skips. |
| 1406 |
|
| 1407 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1408 |
|
| 1409 |
Backported from master: |
| 1410 |
2025-05-12 Jonathan Wakely <[email protected]> |
| 1411 |
|
| 1412 |
* doc/xml/manual/status_cxx2017.xml: Update status for |
| 1413 |
std::to_chars and std::from_chars. |
| 1414 |
* doc/html/manual/*: Regenerate. |
| 1415 |
|
| 1416 |
2025-05-07 Jonathan Wakely <[email protected]> |
| 1417 |
|
| 1418 |
Backported from master: |
| 1419 |
2025-05-07 Jonathan Wakely <[email protected]> |
| 1420 |
|
| 1421 |
PR libstdc++/120159 |
| 1422 |
* src/c++23/std.cc.in (is_layout_compatible_v): Export. |
| 1423 |
|
| 1424 |
2025-05-07 Tomasz Kamiński <[email protected]> |
| 1425 |
|
| 1426 |
Backported from master: |
| 1427 |
2025-05-07 Tomasz Kamiński <[email protected]> |
| 1428 |
|
| 1429 |
PR libstdc++/120114 |
| 1430 |
* include/bits/chrono_io.h (__formatter_chrono::_M_format): Use __field_width. |
| 1431 |
* testsuite/std/time/format/pr120114.cc: New test. |
| 1432 |
|
| 1433 |
2025-05-06 Dhruv Chawla <[email protected]> |
| 1434 |
|
| 1435 |
Backported from master: |
| 1436 |
2025-05-02 Dhruv Chawla <[email protected]> |
| 1437 |
|
| 1438 |
* include/std/memory: Define __glibcxx_want_addressof_constexpr. |
| 1439 |
* testsuite/20_util/headers/memory/version.cc: Test for macro |
| 1440 |
value. |
| 1441 |
|
| 1442 |
2025-05-06 Jonathan Wakely <[email protected]> |
| 1443 |
|
| 1444 |
Backported from master: |
| 1445 |
2025-04-24 Jonathan Wakely <[email protected]> |
| 1446 |
|
| 1447 |
* testsuite/23_containers/forward_list/48101_neg.cc: Remove |
| 1448 |
dg-prune-output that doesn't match anything. |
| 1449 |
* testsuite/23_containers/list/48101_neg.cc: Likewise. |
| 1450 |
* testsuite/23_containers/multiset/48101_neg.cc: Likewise. |
| 1451 |
* testsuite/23_containers/set/48101_neg.cc: Likewise. |
| 1452 |
|
| 1453 |
2025-05-06 ZENG Hao <[email protected]> |
| 1454 |
|
| 1455 |
Backported from master: |
| 1456 |
2025-04-23 ZENG Hao <[email protected]> |
| 1457 |
|
| 1458 |
* src/c++23/std.cc.in (atomic_signed_lock_free): Guard with |
| 1459 |
preprocessor check for __cpp_lib_atomic_lock_free_type_aliases. |
| 1460 |
(atomic_unsigned_lock_free): Likewise. |
| 1461 |
|
| 1462 |
2025-04-30 François Dumont <[email protected]> |
| 1463 |
|
| 1464 |
Backported from master: |
| 1465 |
2025-04-30 François Dumont <[email protected]> |
| 1466 |
Jonathan Wakely <[email protected]> |
| 1467 |
|
| 1468 |
* testsuite/lib/libstdc++.exp (v3_target_compile): Strip version namespace |
| 1469 |
from compiler output. |
| 1470 |
* testsuite/20_util/aligned_storage/value.cc [_GLIBCXX_INLINE_VERSION]: |
| 1471 |
Avoid align_msa check. |
| 1472 |
* testsuite/20_util/function/cons/70692.cc: Remove now useless __8 namespace |
| 1473 |
pattern. |
| 1474 |
* testsuite/23_containers/map/48101_neg.cc: Likewise. |
| 1475 |
* testsuite/23_containers/multimap/48101_neg.cc: Likewise. |
| 1476 |
|
| 1477 |
2025-04-25 Tomasz Kamiński <[email protected]> |
| 1478 |
|
| 1479 |
Backported from master: |
| 1480 |
2025-04-25 Tomasz Kamiński <[email protected]> |
| 1481 |
|
| 1482 |
PR libstdc++/109162 |
| 1483 |
* include/bits/version.def (format_ranges): Remove no_stdname and |
| 1484 |
update value. |
| 1485 |
* include/bits/version.h: Regenerate. |
| 1486 |
* src/c++23/std.cc.in: Replace __glibcxx_format_ranges with |
| 1487 |
__cpp_lib_format_ranges. |
| 1488 |
* testsuite/std/format/formatter/lwg3944.cc: Likewise. |
| 1489 |
* testsuite/std/format/parse_ctx.cc: Likewise. |
| 1490 |
* testsuite/std/format/string.cc: Likewise. |
| 1491 |
* testsuite/std/format/ranges/feature_test.cc: New test. |
| 1492 |
|
| 1493 |
2025-04-25 Tomasz Kamiński <[email protected]> |
| 1494 |
|
| 1495 |
Backported from master: |
| 1496 |
2025-04-25 Tomasz Kamiński <[email protected]> |
| 1497 |
|
| 1498 |
PR libstdc++/109162 |
| 1499 |
* include/bits/formatfwd.h (__format::__parsable_with) |
| 1500 |
(__format::__formattable_with, __format::__formattable_impl) |
| 1501 |
(__format::__has_debug_format, __format::__const_formattable_range) |
| 1502 |
(__format::__maybe_const_range, __format::__maybe_const) |
| 1503 |
(std::formattable): Moved from std/format. |
| 1504 |
(__format::Iter_for, std::range_formatter): Forward declare. |
| 1505 |
* include/bits/stl_queue.h (std::formatter): Forward declare. |
| 1506 |
(std::queue, std::priority_queue): Befriend formatter specializations. |
| 1507 |
* include/bits/stl_stack.h (std::formatter): Forward declare. |
| 1508 |
(std::stack): Befriend formatter specializations. |
| 1509 |
* include/std/format (__format::_Iter_for): Define as struct with |
| 1510 |
(__format::__parsable_with, __format::__formattable_with) |
| 1511 |
(__format::__formattable_impl, __format::__has_debug_format) |
| 1512 |
(_format::__const_formattable_range, __format::__maybe_const_range) |
| 1513 |
(__format::__maybe_const, std::formattable): Moved to bits/formatfwd.h. |
| 1514 |
(std::range_formatter): Remove default argument specified in declaration |
| 1515 |
in bits/formatfwd.h. |
| 1516 |
* include/std/queue: Include bits/version.h before bits/stl_queue.h. |
| 1517 |
(formatter<queue<_Tp, _Container, _Compare>, _CharT>) |
| 1518 |
(formatter<priority_queue<_Tp, _Container, _Compare>, _CharT>): Define. |
| 1519 |
* include/std/stack: Include bits/version.h before bits/stl_stack.h |
| 1520 |
(formatter<stack<_Tp, _Container, _Compare>, _CharT>): Define. |
| 1521 |
* testsuite/std/format/ranges/adaptors.cc: New test. |
| 1522 |
|
| 1523 |
2025-04-25 Release Manager |
| 1524 |
|
| 1525 |
* GCC 15.1.0 released. |
| 1526 |
|
| 1527 |
2025-04-22 Patrick Palka <[email protected]> |
| 1528 |
|
| 1529 |
Revert: |
| 1530 |
2024-08-22 Patrick Palka <[email protected]> |
| 1531 |
|
| 1532 |
* include/bits/iterator_concepts.h (__detail::__projected): Define |
| 1533 |
an optimized partial specialization for when the projection is |
| 1534 |
std::identity. |
| 1535 |
* testsuite/24_iterators/indirect_callable/projected.cc: Verify the |
| 1536 |
optimization. |
| 1537 |
|
| 1538 |
2025-04-22 Andreas Schwab <[email protected]> |
| 1539 |
|
| 1540 |
Backported from master: |
| 1541 |
2025-04-22 Andreas Schwab <[email protected]> |
| 1542 |
|
| 1543 |
* config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update. |
| 1544 |
|
| 1545 |
2025-04-22 Andreas Schwab <[email protected]> |
| 1546 |
|
| 1547 |
Backported from master: |
| 1548 |
2025-04-22 Andreas Schwab <[email protected]> |
| 1549 |
|
| 1550 |
* config/abi/post/riscv64-linux-gnu/baseline_symbols.txt: Update. |
| 1551 |
|
| 1552 |
2025-04-22 Rainer Orth <[email protected]> |
| 1553 |
|
| 1554 |
Backported from master: |
| 1555 |
2025-04-22 Rainer Orth <[email protected]> |
| 1556 |
|
| 1557 |
* config/abi/post/sparc64-linux-gnu/baseline_symbols.txt: Regenerate. |
| 1558 |
* config/abi/post/sparc64-linux-gnu/32/baseline_symbols.txt: Likewise. |
| 1559 |
|
| 1560 |
2025-04-22 Rainer Orth <[email protected]> |
| 1561 |
|
| 1562 |
Backported from master: |
| 1563 |
2025-04-22 Rainer Orth <[email protected]> |
| 1564 |
|
| 1565 |
* config/abi/post/i386-solaris/baseline_symbols.txt: Regenerate. |
| 1566 |
* config/abi/post/i386-solaris/amd64/baseline_symbols.txt: |
| 1567 |
Likewise. |
| 1568 |
* config/abi/post/sparc-solaris/baseline_symbols.txt: Likewise. |
| 1569 |
* config/abi/post/sparc-solaris/sparcv9/baseline_symbols.txt: |
| 1570 |
Likewise. |
| 1571 |
|
| 1572 |
2025-04-22 Jakub Jelinek <[email protected]> |
| 1573 |
|
| 1574 |
Backported from master: |
| 1575 |
2025-04-22 Jakub Jelinek <[email protected]> |
| 1576 |
|
| 1577 |
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update. |
| 1578 |
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update. |
| 1579 |
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update. |
| 1580 |
* config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update. |
| 1581 |
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update. |
| 1582 |
* config/abi/post/powerpc64le-linux-gnu/baseline_symbols.txt: Update. |
| 1583 |
|
| 1584 |
2025-04-17 Jonathan Wakely <[email protected]> |
| 1585 |
|
| 1586 |
* doc/html/manual/status.html: Regenerate. |
| 1587 |
* doc/xml/manual/status_cxx1998.xml: Replace references to |
| 1588 |
mainline GCC. |
| 1589 |
* doc/xml/manual/status_cxx2011.xml: Likewise. |
| 1590 |
* doc/xml/manual/status_cxx2014.xml: Likewise. |
| 1591 |
* doc/xml/manual/status_cxx2017.xml: Likewise. |
| 1592 |
* doc/xml/manual/status_cxx2020.xml: Likewise. |
| 1593 |
* doc/xml/manual/status_cxx2023.xml: Likewise. |
| 1594 |
* doc/xml/manual/status_cxxtr1.xml: Likewise. |
| 1595 |
* doc/xml/manual/status_cxxtr24733.xml: Likewise. |
| 1596 |
|
| 1597 |
2025-04-17 Tomasz Kamiński <[email protected]> |
| 1598 |
|
| 1599 |
PR libstdc++/119840 |
| 1600 |
* include/std/format (_M_parse_fill_and_align): Cast elements of |
| 1601 |
__not_fill to _CharT. |
| 1602 |
|
| 1603 |
2025-04-17 Jonathan Wakely <[email protected]> |
| 1604 |
|
| 1605 |
* include/std/format (format_kind): Do not use 'not' |
| 1606 |
alternative token to make the primary template ill-formed. Use |
| 1607 |
the undeclared identifier __primary_template_not_defined and a |
| 1608 |
comment that will appear in diagnostics. |
| 1609 |
* testsuite/std/format/ranges/format_kind_neg.cc: New test. |
| 1610 |
|
| 1611 |
2025-04-17 Tomasz Kamiński <[email protected]> |
| 1612 |
|
| 1613 |
PR libstdc++/109162 |
| 1614 |
* include/std/format (__format::__simply_formattable_range): Define. |
| 1615 |
(range_formatter::format): Do not instantiate _M_format for mutable |
| 1616 |
_Rg if const _Rg can be used. |
| 1617 |
|
| 1618 |
2025-04-16 Tomasz Kamiński <[email protected]> |
| 1619 |
|
| 1620 |
PR libstdc++/109162 |
| 1621 |
* include/std/format (range_formatter::format): Format const range, |
| 1622 |
only if reference type is not changed. |
| 1623 |
* testsuite/std/format/ranges/formatter.cc: New tests. |
| 1624 |
|
| 1625 |
2025-04-16 Tomasz Kamiński <[email protected]> |
| 1626 |
|
| 1627 |
PR libstdc++/109162 |
| 1628 |
* include/std/format (__formatter_int::_M_format_character_escaped) |
| 1629 |
(__formatter_str::format): Use __sink.out() to produce _Sink_iter. |
| 1630 |
(__format::__const_formattable_range): Moved closer to range_formatter. |
| 1631 |
(__format::__maybe_const_range): Use `__conditional_t` and moved closer |
| 1632 |
to range_formatter. |
| 1633 |
(__format::__format_padded, __format::maybe_const) |
| 1634 |
(__format::__indexed_formatter_storage, __format::__tuple_formatter) |
| 1635 |
(std::formatter<pair<_Fp, _Sp>, _CharT>>) |
| 1636 |
(std::formatter<tuple<_Tps...>, _CharT): Define. |
| 1637 |
(std::formatter<_Rg, _CharT>::format): Cast incoming range to |
| 1638 |
__format::__maybe_const_range<_Rg, _CharT>&. |
| 1639 |
(std::formatter<_Rg, _CharT>::_M_format): Extracted from format, |
| 1640 |
and use __format_padded. |
| 1641 |
(std::formatter<_Rg, _CharT>::_M_format_no_padding): Rename... |
| 1642 |
(std::formatter<_Rg, _CharT>::_M_format_elems): ...to this. |
| 1643 |
(std::formatter<_Rg, _CharT>::_M_format_with_padding): Extracted as |
| 1644 |
__format_padded. |
| 1645 |
* testsuite/util/testsuite_iterators.h (test_input_range_nocopy): |
| 1646 |
Define. |
| 1647 |
* testsuite/std/format/ranges/formatter.cc: Tests for `m` specifier. |
| 1648 |
* testsuite/std/format/ranges/sequence.cc: Tests for array and subrange. |
| 1649 |
* testsuite/std/format/ranges/map.cc: New test. |
| 1650 |
* testsuite/std/format/tuple.cc: New test. |
| 1651 |
|
| 1652 |
2025-04-15 Jonathan Wakely <[email protected]> |
| 1653 |
|
| 1654 |
* include/std/ranges (__glibcxx_want_ranges_iota): Do not |
| 1655 |
define. |
| 1656 |
|
| 1657 |
2025-04-15 Jonathan Wakely <[email protected]> |
| 1658 |
|
| 1659 |
* include/std/numeric (ranges): Only declare namespace for C++23 |
| 1660 |
and later. |
| 1661 |
(ranges::iota_result): Fix indentation. |
| 1662 |
* testsuite/17_intro/names.cc: Check ranges is not used as an |
| 1663 |
identifier before C++20. |
| 1664 |
|
| 1665 |
2025-04-15 Tomasz Kamiński <[email protected]> |
| 1666 |
|
| 1667 |
PR libstdc++/109162 |
| 1668 |
* include/std/format (__format::__has_debug_format, _Pres_type::_Pres_seq) |
| 1669 |
(_Pres_type::_Pres_str, __format::__Stackbuf_size): Define. |
| 1670 |
(_Separators::_S_squares, _Separators::_S_parens, _Separators::_S_comma) |
| 1671 |
(_Separators::_S_colon): Define additional constants. |
| 1672 |
(_Spec::_M_parse_fill_and_align): Define overload accepting |
| 1673 |
list of excluded characters for fill, and forward existing overload. |
| 1674 |
(__formatter_str::_M_format_range): Define. |
| 1675 |
(__format::_Buf_sink) Use __Stackbuf_size for size of array. |
| 1676 |
(__format::__is_map_formattable, std::range_formatter) |
| 1677 |
(std::formatter<_Rg, _CharT>): Define. |
| 1678 |
* src/c++23/std.cc.in (std::format_kind, std::range_format) |
| 1679 |
(std::range_formatter): Export. |
| 1680 |
* testsuite/std/format/formatter/lwg3944.cc: Guarded tests with |
| 1681 |
__glibcxx_format_ranges. |
| 1682 |
* testsuite/std/format/formatter/requirements.cc: Adjusted for standard |
| 1683 |
behavior. |
| 1684 |
* testsuite/23_containers/vector/bool/format.cc: Test vector<bool> formatting. |
| 1685 |
* testsuite/std/format/ranges/format_kind.cc: New test. |
| 1686 |
* testsuite/std/format/ranges/formatter.cc: New test. |
| 1687 |
* testsuite/std/format/ranges/sequence.cc: New test. |
| 1688 |
* testsuite/std/format/ranges/string.cc: New test. |
| 1689 |
|
| 1690 |
2025-04-15 Jonathan Wakely <[email protected]> |
| 1691 |
|
| 1692 |
PR libstdc++/119748 |
| 1693 |
* include/bits/basic_string.h (_S_copy_chars): Only optimize for |
| 1694 |
contiguous iterators that are convertible to const charT*. Use |
| 1695 |
explicit conversion to charT after dereferencing iterator. |
| 1696 |
(_S_copy_range): Likewise for contiguous ranges. |
| 1697 |
* include/bits/basic_string.tcc (_M_construct): Use explicit |
| 1698 |
conversion to charT after dereferencing iterator. |
| 1699 |
* include/bits/cow_string.h (_S_copy_chars): Likewise. |
| 1700 |
(basic_string(from_range_t, R&&, const Allocator&)): Likewise. |
| 1701 |
Only optimize for contiguous iterators that are convertible to |
| 1702 |
const charT*. |
| 1703 |
* testsuite/21_strings/basic_string/cons/char/119748.cc: New |
| 1704 |
test. |
| 1705 |
* testsuite/21_strings/basic_string/cons/wchar_t/119748.cc: |
| 1706 |
New test. |
| 1707 |
|
| 1708 |
2025-04-15 Jonathan Wakely <[email protected]> |
| 1709 |
|
| 1710 |
* testsuite/util/testsuite_iterators.h (test_container): Define |
| 1711 |
array constructor for C++98 as well. |
| 1712 |
|
| 1713 |
2025-04-14 Jonathan Wakely <[email protected]> |
| 1714 |
|
| 1715 |
PR libstdc++/21334 |
| 1716 |
* doc/xml/manual/using.xml: Document that container data race |
| 1717 |
avoidance rules do not apply to COW std::string. |
| 1718 |
* doc/html/*: Regenerate. |
| 1719 |
|
| 1720 |
2025-04-14 Tomasz Kamiński <[email protected]> |
| 1721 |
|
| 1722 |
PR libstdc++/119725 |
| 1723 |
* testsuite/std/format/debug.cc: Updated dg-options. |
| 1724 |
* testsuite/std/format/debug_nonunicode.cc: Updated dg-options. |
| 1725 |
|
| 1726 |
2025-04-11 Jonathan Wakely <[email protected]> |
| 1727 |
|
| 1728 |
* src/c++17/fast_float/LOCAL_PATCHES: Update. |
| 1729 |
|
| 1730 |
2025-04-11 Evgeny Karpov <[email protected]> |
| 1731 |
|
| 1732 |
* src/c++17/fast_float/fast_float.h (full_multiplication): |
| 1733 |
Support aarch64-w64-mingw32 target. |
| 1734 |
|
| 1735 |
2025-04-11 Jonathan Wakely <[email protected]> |
| 1736 |
|
| 1737 |
* include/bits/basic_string.h (_S_copy_chars): Replace overloads |
| 1738 |
with constexpr-if and extend optimization to all contiguous |
| 1739 |
iterators. |
| 1740 |
* src/c++11/string-inst.cc: Extend comment. |
| 1741 |
|
| 1742 |
2025-04-11 Tomasz Kamiński <[email protected]> |
| 1743 |
|
| 1744 |
PR libstdc++/111055 |
| 1745 |
* include/bits/version.def (containers_ranges): Define. |
| 1746 |
* include/bits/version.h: Regenerate. |
| 1747 |
* include/bits/ranges_base.h (__detail::__container_compatible_range) |
| 1748 |
(__detail::__range_to_alloc_type, __detail::__range_mapped_type) |
| 1749 |
(__detail::__range_key_type): Depend on __glibcxx_containers_ranges |
| 1750 |
instead of __glibcxx_ranges_to_container. |
| 1751 |
* include/bits/basic_string.h: Replace __glibcxx_ranges_to_container with |
| 1752 |
__glibcxx_containers_ranges. |
| 1753 |
* include/bits/cow_string.h: Likewise. |
| 1754 |
* include/bits/deque.tcc: Likewise. |
| 1755 |
* include/bits/forward_list.h: Likewise. |
| 1756 |
* include/bits/stl_bvector.h: Likewise. |
| 1757 |
* include/bits/stl_deque.h: Likewise. |
| 1758 |
* include/bits/stl_list.h: Likewise. |
| 1759 |
* include/bits/stl_map.h: Likewise. |
| 1760 |
* include/bits/stl_multimap.h: Likewise. |
| 1761 |
* include/bits/stl_multiset.h: Likewise. |
| 1762 |
* include/bits/stl_queue.h: Likewise. |
| 1763 |
* include/bits/stl_set.h: Likewise. |
| 1764 |
* include/bits/stl_stack.h: Likewise. |
| 1765 |
* include/bits/stl_vector.h: Likewise. |
| 1766 |
* include/bits/unordered_map.h: Likewise. |
| 1767 |
* include/bits/unordered_set.h: Likewise. |
| 1768 |
* include/bits/vector.tcc: Likewise. |
| 1769 |
* include/debug/deque: Likewise. |
| 1770 |
* include/debug/forward_list: Likewise. |
| 1771 |
* include/debug/list: Likewise. |
| 1772 |
* include/debug/map.h: Likewise. |
| 1773 |
* include/debug/multimap.h: Likewise. |
| 1774 |
* include/debug/multiset.h: Likewise. |
| 1775 |
* include/debug/set.h: Likewise. |
| 1776 |
* include/debug/unordered_map: Likewise. |
| 1777 |
* include/debug/unordered_set: Likewise. |
| 1778 |
* include/debug/vector: Likewise. |
| 1779 |
* include/std/deque: Provide __cpp_lib_containers_ranges. |
| 1780 |
* include/std/forward_list: Likewise. |
| 1781 |
* include/std/list: Likewise. |
| 1782 |
* include/std/map: Likewise. |
| 1783 |
* include/std/queue: Likewise. |
| 1784 |
* include/std/set: Likewise. |
| 1785 |
* include/std/stack: Likewise. |
| 1786 |
* include/std/string: Likewise. |
| 1787 |
* include/std/unordered_map: Likewise. |
| 1788 |
* include/std/unordered_set: Likewise. |
| 1789 |
* include/std/vector: Likewise. |
| 1790 |
* testsuite/21_strings/basic_string/cons/from_range.cc: Test for value |
| 1791 |
__cpp_lib_containers_ranges. |
| 1792 |
* testsuite/23_containers/deque/cons/from_range.cc: Likewise. |
| 1793 |
* testsuite/23_containers/forward_list/cons/from_range.cc: Likewise. |
| 1794 |
* testsuite/23_containers/list/cons/from_range.cc: Likewise. |
| 1795 |
* testsuite/23_containers/map/cons/from_range.cc: Likewise. |
| 1796 |
* testsuite/23_containers/multimap/cons/from_range.cc: Likewise. |
| 1797 |
* testsuite/23_containers/multiset/cons/from_range.cc: Likewise. |
| 1798 |
* testsuite/23_containers/priority_queue/cons_from_range.cc: Likewise. |
| 1799 |
* testsuite/23_containers/queue/cons_from_range.cc: Likewise. |
| 1800 |
* testsuite/23_containers/set/cons/from_range.cc: Likewise. |
| 1801 |
* testsuite/23_containers/stack/cons_from_range.cc: Likewise. |
| 1802 |
* testsuite/23_containers/unordered_map/cons/from_range.cc: Likewise. |
| 1803 |
* testsuite/23_containers/unordered_multimap/cons/from_range.cc: Likewise. |
| 1804 |
* testsuite/23_containers/unordered_multiset/cons/from_range.cc: Likewise. |
| 1805 |
* testsuite/23_containers/unordered_set/cons/from_range.cc: Likewise. |
| 1806 |
* testsuite/23_containers/vector/bool/cons/from_range.cc: Likewise. |
| 1807 |
* testsuite/23_containers/vector/cons/from_range.cc: Likewise. |
| 1808 |
|
| 1809 |
2025-04-11 Jonathan Wakely <[email protected]> |
| 1810 |
Tomasz Kamiński <[email protected]> |
| 1811 |
|
| 1812 |
PR libstdc++/111055 |
| 1813 |
* include/bits/basic_string.h (_S_copy_range): New function. |
| 1814 |
(basic_string(from_range_t, R%%, const Alloc&)): New |
| 1815 |
constructor. |
| 1816 |
(append_range, assign_range, insert_range, replace_with_range): |
| 1817 |
New functions. |
| 1818 |
* include/bits/cow_string.h: Likewise. |
| 1819 |
* testsuite/21_strings/basic_string/cons/from_range.cc: New |
| 1820 |
test. |
| 1821 |
* testsuite/21_strings/basic_string/modifiers/append/append_range.cc: |
| 1822 |
New test. |
| 1823 |
* testsuite/21_strings/basic_string/modifiers/assign/assign_range.cc: |
| 1824 |
New test. |
| 1825 |
* testsuite/21_strings/basic_string/modifiers/insert/insert_range.cc: |
| 1826 |
New test. |
| 1827 |
* testsuite/21_strings/basic_string/modifiers/replace/replace_with_range.cc: |
| 1828 |
New test. |
| 1829 |
|
| 1830 |
2025-04-11 Tomasz Kamiński <[email protected]> |
| 1831 |
|
| 1832 |
PR libstdc++/109162 |
| 1833 |
* include/bits/chrono_io.h (__detail::_Widen): Moved to std/format file. |
| 1834 |
* include/bits/unicode-data.h: Regnerate. |
| 1835 |
* include/bits/unicode.h (__unicode::_Utf_iterator::_M_units) |
| 1836 |
(__unicode::__should_escape_category): Define. |
| 1837 |
* include/std/format (_GLIBCXX_WIDEN_, _GLIBCXX_WIDEN): Copied from |
| 1838 |
include/bits/chrono_io.h. |
| 1839 |
(__format::_Widen): Moved from include/bits/chrono_io.h. |
| 1840 |
(__format::_Term_char, __format::_Escapes, __format::_Separators) |
| 1841 |
(__format::__should_escape_ascii, __format::__should_escape_unicode) |
| 1842 |
(__format::__write_escape_seq, __format::__write_escaped_char) |
| 1843 |
(__format::__write_escaped_acii, __format::__write_escaped_unicode) |
| 1844 |
(__format::__write_escaped): Define. |
| 1845 |
(__formatter_str::_S_trunc): Extracted truncation of character |
| 1846 |
sequences. |
| 1847 |
(__formatter_str::format): Handle _Pres_esc. |
| 1848 |
(__formatter_int::_M_do_parse) [__glibcxx_format_ranges]: Parse '?'. |
| 1849 |
(__formatter_int::_M_format_character_escaped): Define. |
| 1850 |
(formatter<_CharT, _CharT>::format, formatter<char, wchar_t>::format): |
| 1851 |
Handle _Pres_esc. |
| 1852 |
(__formatter_str::set_debug_format, formatter<...>::set_debug_format) |
| 1853 |
Guard with __glibcxx_format_ranges. |
| 1854 |
(__format::_Fixedbuf_sink): Define. |
| 1855 |
* testsuite/23_containers/vector/bool/format.cc: Use __format::_Widen |
| 1856 |
and remove unnecessary <chrono> include. |
| 1857 |
* testsuite/std/format/debug.cc: New test. |
| 1858 |
* testsuite/std/format/debug_nonunicode.cc: New test. |
| 1859 |
* testsuite/std/format/parse_ctx.cc (escaped_strings_supported): Define |
| 1860 |
to true if __glibcxx_format_ranges is defined. |
| 1861 |
* testsuite/std/format/string.cc (escaped_strings_supported): Define to |
| 1862 |
true if __glibcxx_format_ranges is defined. |
| 1863 |
|
| 1864 |
2025-04-10 Jonathan Wakely <[email protected]> |
| 1865 |
|
| 1866 |
* include/bits/version.def (constrained_equality): Only define |
| 1867 |
as 202411 for C++23 and later, use 202403 for C++20. |
| 1868 |
* include/bits/version.h: Regenerate. |
| 1869 |
* testsuite/20_util/expected/equality_constrained.cc: Remove |
| 1870 |
TODO comment. |
| 1871 |
|
| 1872 |
2025-04-10 John David Anglin <[email protected]> |
| 1873 |
|
| 1874 |
* config/os/hpux/os_defines.h: Remove _GLIBCXX_USE_LONG_LONG |
| 1875 |
define. |
| 1876 |
|
| 1877 |
2025-04-09 Patrick Palka <[email protected]> |
| 1878 |
|
| 1879 |
PR libstdc++/115046 |
| 1880 |
PR libstdc++/112490 |
| 1881 |
* include/bits/stl_iterator.h (basic_const_iterator::operator-): |
| 1882 |
Replace non-dependent basic_const_iterator function parameter with |
| 1883 |
a dependent one of type basic_const_iterator<_It2> where _It2 |
| 1884 |
matches _It. |
| 1885 |
* testsuite/std/ranges/adaptors/as_const/1.cc (test04): New test. |
| 1886 |
|
| 1887 |
2025-04-08 Jonathan Wakely <[email protected]> |
| 1888 |
|
| 1889 |
PR libstdc++/119671 |
| 1890 |
* include/std/format (__formatter_fp::format): Do not invalidate |
| 1891 |
__wstr unless _M_localized returns a valid string. |
| 1892 |
* testsuite/std/format/functions/format.cc: Check wide string |
| 1893 |
formatting of floating-point types with classic locale. |
| 1894 |
|
| 1895 |
2025-04-07 Jonathan Wakely <[email protected]> |
| 1896 |
|
| 1897 |
PR libstdc++/119642 |
| 1898 |
* include/bits/formatfwd.h: Remove stray pragma. |
| 1899 |
|
| 1900 |
2025-04-07 Jonathan Wakely <[email protected]> |
| 1901 |
|
| 1902 |
* include/precompiled/stdc++.h: Include <stdbit.h> and |
| 1903 |
<stdckdint.h>. Include <stacktrace> unconditionally. |
| 1904 |
|
| 1905 |
2025-04-07 Jonathan Wakely <[email protected]> |
| 1906 |
|
| 1907 |
* doc/doxygen/user.cfg.in (INPUT): Add flat_map, flat_set, |
| 1908 |
text_encoding, stdbit.h and stdckdint.h. |
| 1909 |
|
| 1910 |
2025-04-07 Thomas Schwinge <[email protected]> |
| 1911 |
|
| 1912 |
PR target/119645 |
| 1913 |
* acinclude.m4 (GLIBCXX_ENABLE_LOCK_POLICY) [GCN, nvptx]: |
| 1914 |
Hard-code results. |
| 1915 |
* configure: Regenerate. |
| 1916 |
* configure.host [GCN, nvptx] (atomicity_dir): Set to |
| 1917 |
'cpu/generic/atomicity_builtins'. |
| 1918 |
|
| 1919 |
2025-04-04 Patrick Palka <[email protected]> |
| 1920 |
|
| 1921 |
PR libstdc++/119620 |
| 1922 |
* include/std/flat_set (_Flat_set_impl::_M_try_emplace): Split |
| 1923 |
out into two overloads, one taking at least one argument and one |
| 1924 |
taking zero arguments. Turn __k into an auto&& reference bound |
| 1925 |
to __arg if it's already a value_type and otherwise bound to a |
| 1926 |
lifetime-extended value_type temporary. |
| 1927 |
* testsuite/23_containers/flat_multiset/1.cc (test08): New test. |
| 1928 |
* testsuite/23_containers/flat_set/1.cc (test08): New test. |
| 1929 |
|
| 1930 |
2025-04-04 Jonathan Wakely <[email protected]> |
| 1931 |
|
| 1932 |
PR libstdc++/101587 |
| 1933 |
* include/bits/ranges_uninitialized.h (__detail::__mindist): |
| 1934 |
Remove. |
| 1935 |
(ranges::uninitialized_copy, ranges::uninitialized_copy_n) |
| 1936 |
(ranges::uninitialized_move, ranges::uninitialized_move_n): Use |
| 1937 |
comparison and assignment instead of __mindist. |
| 1938 |
* testsuite/20_util/specialized_algorithms/uninitialized_copy/constrained.cc: |
| 1939 |
Check with ranges that use integer-like class type for |
| 1940 |
difference type. |
| 1941 |
* testsuite/20_util/specialized_algorithms/uninitialized_move/constrained.cc: |
| 1942 |
Likewise. |
| 1943 |
|
| 1944 |
2025-04-04 Tomasz Kamiński <[email protected]> |
| 1945 |
|
| 1946 |
PR libstdc++/109162 |
| 1947 |
* include/Makefile.am: Add bits/formatfwd.h. |
| 1948 |
* include/Makefile.in: Add bits/formatfwd.h. |
| 1949 |
* include/bits/version.def: Define __glibcxx_format_ranges without |
| 1950 |
corresponding std name. |
| 1951 |
* include/bits/version.h: Regenerate. |
| 1952 |
* include/std/format (basic_format_context, __format::__char): |
| 1953 |
Move declartions to bits/formatfwd.h. |
| 1954 |
(formatter<_Tp, _CharT>): Remove default argument for _CharT |
| 1955 |
parameter, now specified in forward declaration in bits/formatfwd.h. |
| 1956 |
* include/std/vector (formatter<_Bit_reference, _CharT>): Define. |
| 1957 |
* include/bits/formatfwd.h: New file with forward declarations |
| 1958 |
for bits of std/format. |
| 1959 |
* testsuite/23_containers/vector/bool/format.cc: New test. |
| 1960 |
|
| 1961 |
2025-04-04 Jonathan Wakely <[email protected]> |
| 1962 |
|
| 1963 |
* include/bits/basic_string.h: Check __glibcxx_string_view and |
| 1964 |
__glibcxx_variant instead of __cplusplus >= 2017L. |
| 1965 |
* include/bits/cow_string.h: Likewise. |
| 1966 |
|
| 1967 |
2025-04-04 Jonathan Wakely <[email protected]> |
| 1968 |
|
| 1969 |
* include/bits/basic_string.tcc: Fix whitespace. |
| 1970 |
|
| 1971 |
2025-04-04 Arsen Arsenović <[email protected]> |
| 1972 |
|
| 1973 |
* include/bits/version.tpl: Implement no_stdname. |
| 1974 |
* include/bits/version.def: Document no_stdname. |
| 1975 |
|
| 1976 |
2025-04-03 Thomas Schwinge <[email protected]> |
| 1977 |
|
| 1978 |
* config/cpu/nvptx/t-nvptx: Remove. |
| 1979 |
* configure.host [nvptx]: Adjust. |
| 1980 |
|
| 1981 |
2025-04-03 Thomas Schwinge <[email protected]> |
| 1982 |
|
| 1983 |
PR target/119573 |
| 1984 |
* config/cpu/nvptx/t-nvptx (AM_MAKEFLAGS): Don't amend. |
| 1985 |
|
| 1986 |
2025-04-03 Tomasz Kamiński <[email protected]> |
| 1987 |
|
| 1988 |
* testsuite/std/format/functions/format.cc: Restored line. |
| 1989 |
|
| 1990 |
2025-04-03 Tomasz Kamiński <[email protected]> |
| 1991 |
|
| 1992 |
PR libstdc++/119593 |
| 1993 |
* include/bits/unicode.h |
| 1994 |
(__unicode::__literal_encoding_is_unicode<_CharT>): |
| 1995 |
Corrected handing for UTF-16 and UTF-32 with "LE" or "BE" suffix. |
| 1996 |
* include/std/format (__formatter_str::_S_character_width): |
| 1997 |
Define. |
| 1998 |
(__formatter_str::_S_character_width): Updated passed char |
| 1999 |
length. |
| 2000 |
* testsuite/std/format/functions/format.cc: Test for wchar_t. |
| 2001 |
|
| 2002 |
2025-04-02 John David Anglin <[email protected]> |
| 2003 |
|
| 2004 |
* config/os/hpux/os_defines.h: Only use long long when |
| 2005 |
__cplusplus >= 201103L. |
| 2006 |
|
| 2007 |
2025-04-02 Iain Sandoe <[email protected]> |
| 2008 |
|
| 2009 |
* testsuite/lib/prune.exp: Prune ld warning about duplicatei |
| 2010 |
rpaths. |
| 2011 |
|
| 2012 |
2025-04-01 Jonathan Wakely <[email protected]> |
| 2013 |
|
| 2014 |
PR libstdc++/114945 |
| 2015 |
* include/bits/vector.tcc (vector::_M_default_append): Add |
| 2016 |
unreachable condition so the compiler knows that _M_finish is |
| 2017 |
not null. |
| 2018 |
* testsuite/23_containers/vector/capacity/114945.cc: New test. |
| 2019 |
|
| 2020 |
2025-04-01 Thomas Schwinge <[email protected]> |
| 2021 |
|
| 2022 |
PR target/119369 |
| 2023 |
* config/cpu/gcn/cpu_defines.h: New. |
| 2024 |
* configure.host [GCN] (cpu_defines_dir): Point to it. |
| 2025 |
|
| 2026 |
2025-03-31 Jonathan Wakely <[email protected]> |
| 2027 |
|
| 2028 |
PR libstdc++/110498 |
| 2029 |
* include/bits/vector.tcc (vector<bool, A>::_M_reallocate): |
| 2030 |
Hoist loads of begin() and end() before allocation and use them |
| 2031 |
to state an unreachable condition. |
| 2032 |
* testsuite/23_containers/vector/bool/capacity/110498.cc: New |
| 2033 |
test. |
| 2034 |
|
| 2035 |
2025-03-31 Jonathan Wakely <[email protected]> |
| 2036 |
|
| 2037 |
PR libstdc++/114758 |
| 2038 |
* include/bits/vector.tcc (vector<bool, A>::_M_fill_insert): |
| 2039 |
Hoist loads of begin() and end() before allocation. |
| 2040 |
* testsuite/23_containers/vector/bool/capacity/114758.cc: New |
| 2041 |
test. |
| 2042 |
|
| 2043 |
2025-03-31 Jonathan Wakely <[email protected]> |
| 2044 |
|
| 2045 |
PR libstdc++/119550 |
| 2046 |
* acinclude.m4 (GLIBCXX_STRUCT_TM_TM_ZONE): New macro. |
| 2047 |
* config.h.in: Regenerate. |
| 2048 |
* configure: Regenerate. |
| 2049 |
* configure.ac: Use GLIBCXX_STRUCT_TM_TM_ZONE. |
| 2050 |
* include/bits/chrono_io.h (__formatter_chrono::_M_c): Check |
| 2051 |
_GLIBCXX_USE_STRUCT_TM_TM_ZONE instead of |
| 2052 |
_GLIBCXX_HAVE_STRUCT_TM_TM_ZONE. |
| 2053 |
|
| 2054 |
2025-03-31 Jonathan Wakely <[email protected]> |
| 2055 |
|
| 2056 |
* config/abi/pre/gnu.ver (GLIBCXX_3.4.21): Make |
| 2057 |
std::basic_string::_M_construct patterns more precise. |
| 2058 |
|
| 2059 |
2025-03-31 Jonathan Wakely <[email protected]> |
| 2060 |
|
| 2061 |
PR libstdc++/119545 |
| 2062 |
* include/std/tuple (operator==): Convert comparison results to |
| 2063 |
bool. |
| 2064 |
* testsuite/20_util/tuple/comparison_operators/119545.cc: New |
| 2065 |
test. |
| 2066 |
|
| 2067 |
2025-03-31 Tomasz Kamiński <[email protected]> |
| 2068 |
|
| 2069 |
PR libstdc++/119517 |
| 2070 |
* include/bits/chrono_io.h (formatter): |
| 2071 |
Add __format::__char for _CharT and adjust parse and format |
| 2072 |
method signatures. |
| 2073 |
* testsuite/std/time/format/pr119517.cc: New test. |
| 2074 |
|
| 2075 |
2025-03-31 Jakub Jelinek <[email protected]> |
| 2076 |
|
| 2077 |
PR tree-optimization/103827 |
| 2078 |
PR tree-optimization/80331 |
| 2079 |
PR tree-optimization/87502 |
| 2080 |
* config/abi/pre/gnu.ver (GLIBCXX_3.4.34): Use [jmy] rather than m |
| 2081 |
in pattern for _M_construct<bool>(char const*, size_t). |
| 2082 |
|
| 2083 |
2025-03-30 Jan Hubicka <[email protected]> |
| 2084 |
|
| 2085 |
PR tree-optimization/103827 |
| 2086 |
PR tree-optimization/80331 |
| 2087 |
PR tree-optimization/87502 |
| 2088 |
* config/abi/pre/gnu.ver: Add version for _M_construct<bool> |
| 2089 |
* include/bits/basic_string.h: (basic_string::_M_construct<bool>): Declare. |
| 2090 |
(basic_string constructors): Use it. |
| 2091 |
* include/bits/basic_string.tcc: (basic_string::_M_construct<bool>): New template. |
| 2092 |
* src/c++11/string-inst.cc: Instantated S::_M_construct<bool>. |
| 2093 |
|
| 2094 |
2025-03-28 Jonathan Wakely <[email protected]> |
| 2095 |
|
| 2096 |
PR libstdc++/117983 |
| 2097 |
* testsuite/23_containers/vector/modifiers/insert/117983.cc: New |
| 2098 |
test. |
| 2099 |
|
| 2100 |
2025-03-28 David Malcolm <[email protected]> |
| 2101 |
|
| 2102 |
* testsuite/17_intro/shared_with_static_deps.cc: Fix malformed |
| 2103 |
dg-require-static-libstdcxx directive. |
| 2104 |
* testsuite/17_intro/static.cc: Likewise. |
| 2105 |
* testsuite/18_support/type_info/110572.cc: Likewise. |
| 2106 |
* testsuite/20_util/to_chars/4.cc: Likewise. |
| 2107 |
* testsuite/std/time/tzdb_list/pr118811.cc: Likewise. |
| 2108 |
|
| 2109 |
2025-03-27 Jonathan Wakely <[email protected]> |
| 2110 |
|
| 2111 |
PR libstdc++/101587 |
| 2112 |
* include/bits/ranges_uninitialized.h (__detail::__mindist): |
| 2113 |
New function object. |
| 2114 |
(ranges::uninitialized_copy, ranges::uninitialized_copy_n) |
| 2115 |
(ranges::uninitialized_move, ranges::uninitialized_move_n): Use |
| 2116 |
__mindist instead of std::min. |
| 2117 |
* testsuite/20_util/specialized_algorithms/uninitialized_copy/constrained.cc: |
| 2118 |
Check ranges with difference difference types. |
| 2119 |
* testsuite/20_util/specialized_algorithms/uninitialized_move/constrained.cc: |
| 2120 |
Likewise. |
| 2121 |
|
| 2122 |
2025-03-27 Jonathan Wakely <[email protected]> |
| 2123 |
|
| 2124 |
* include/bits/chrono_io.h (__formatter_chrono::_M_c): Use |
| 2125 |
const_cast when setting tm.tm_zone. |
| 2126 |
|
| 2127 |
2025-03-27 Jonathan Wakely <[email protected]> |
| 2128 |
|
| 2129 |
* src/c++20/tzdata.zi: Import new file from 2025b release. |
| 2130 |
|
| 2131 |
2025-03-27 Sam James <[email protected]> |
| 2132 |
|
| 2133 |
* testsuite/std/format/string_neg.cc: Add missing brace for dg-error. |
| 2134 |
|
| 2135 |
2025-03-27 Giuseppe D'Angelo <[email protected]> |
| 2136 |
|
| 2137 |
PR libstdc++/119488 |
| 2138 |
* include/bits/version.def (constexpr_algorithms): Bump |
| 2139 |
the feature-testing macro. |
| 2140 |
* include/bits/version.h: Regenerate. |
| 2141 |
* testsuite/25_algorithms/cpp_lib_constexpr.cc: Test the |
| 2142 |
bumped value for the feature-testing macro. |
| 2143 |
|
| 2144 |
2025-03-27 Giuseppe D'Angelo <[email protected]> |
| 2145 |
|
| 2146 |
* include/bits/algorithmfwd.h (stable_partition): Mark it |
| 2147 |
as constexpr for C++26. |
| 2148 |
* include/bits/ranges_algo.h (__stable_partition_fn): Likewise. |
| 2149 |
* include/bits/stl_algo.h (stable_partition): Mark it as |
| 2150 |
constexpr for C++26; during constant evaluation use a new |
| 2151 |
codepath where a temporary buffer of 1 element is used. |
| 2152 |
* testsuite/25_algorithms/headers/algorithm/synopsis.cc |
| 2153 |
(stable_partition): Add constexpr. |
| 2154 |
* testsuite/25_algorithms/stable_partition/constexpr.cc: New test. |
| 2155 |
|
| 2156 |
2025-03-27 Giuseppe D'Angelo <[email protected]> |
| 2157 |
|
| 2158 |
* include/bits/algorithmfwd.h (inplace_merge): Mark it as |
| 2159 |
constexpr for C++26. |
| 2160 |
* include/bits/ranges_algo.h (__inplace_merge_fn): Likewise. |
| 2161 |
* include/bits/stl_algo.h (inplace_merge): Mark it as constexpr; |
| 2162 |
during constant evaluation, dispatch to the non-allocating |
| 2163 |
codepath. |
| 2164 |
* testsuite/25_algorithms/headers/algorithm/synopsis.cc |
| 2165 |
(inplace_merge): Add constexpr. |
| 2166 |
* testsuite/25_algorithms/inplace_merge/constexpr.cc: New test. |
| 2167 |
|
| 2168 |
2025-03-27 Jonathan Wakely <[email protected]> |
| 2169 |
|
| 2170 |
PR libstdc++/119469 |
| 2171 |
* include/bits/iterator_concepts.h (_IterMove::__result): Use |
| 2172 |
decltype-specifier instead of an explicit type. |
| 2173 |
* testsuite/24_iterators/customization_points/iter_move.cc: |
| 2174 |
Check results for function references. |
| 2175 |
|
| 2176 |
2025-03-26 Giuseppe D'Angelo <[email protected]> |
| 2177 |
|
| 2178 |
* include/bits/version.def (constexpr_algorithms): Change |
| 2179 |
the value of the feature-testing macro. |
| 2180 |
* include/bits/version.h: Regenerate. |
| 2181 |
* testsuite/25_algorithms/cpp_lib_constexpr.cc: Amend the |
| 2182 |
check of the feature-testing macro. |
| 2183 |
|
| 2184 |
2025-03-26 Tomasz Kamiński <[email protected]> |
| 2185 |
|
| 2186 |
PR libstdc++/119415 |
| 2187 |
* include/std/flat_set (_Flat_set_impl:insert_range): |
| 2188 |
Replace __detail::__cpp17_input_iterator with __has_input_iter_cat. |
| 2189 |
* testsuite/23_containers/flat_multiset/1.cc: New tests |
| 2190 |
* testsuite/23_containers/flat_set/1.cc: New tests |
| 2191 |
|
| 2192 |
2025-03-26 Tomasz Kamiński <[email protected]> |
| 2193 |
|
| 2194 |
PR libstdc++/111055 |
| 2195 |
* include/bits/deque.tcc (deque::prepend_range, deque::append_range) |
| 2196 |
(deque::insert_range, __advance_dist): Define. |
| 2197 |
(deque::_M_range_prepend, deque::_M_range_append): |
| 2198 |
Extract from _M_range_insert_aux for _ForwardIterator(s). |
| 2199 |
* include/bits/stl_deque.h (deque::assign_range): Define. |
| 2200 |
(deque::prepend_range, deque::append_range, deque::insert_range): |
| 2201 |
Declare. |
| 2202 |
(deque(from_range_t, _Rg&&, const allocator_type&)): Define constructor |
| 2203 |
and deduction guide. |
| 2204 |
* include/debug/deque (deque::prepend_range, deque::append_range) |
| 2205 |
(deque::assign_range): Define. |
| 2206 |
(deque(from_range_t, _Rg&&, const allocator_type&)): Define constructor |
| 2207 |
and deduction guide. |
| 2208 |
* testsuite/23_containers/deque/cons/from_range.cc: New test. |
| 2209 |
* testsuite/23_containers/deque/modifiers/append_range.cc: New test. |
| 2210 |
* testsuite/23_containers/deque/modifiers/assign/assign_range.cc: |
| 2211 |
New test. |
| 2212 |
* testsuite/23_containers/deque/modifiers/prepend_range.cc: New test. |
| 2213 |
* testsuite/23_containers/deque/modifiers/insert/insert_range.cc: New file. |
| 2214 |
|
| 2215 |
2025-03-25 Jonathan Wakely <[email protected]> |
| 2216 |
|
| 2217 |
* include/std/ranges (ranges::to): Allow unions as well as |
| 2218 |
non-union class types. |
| 2219 |
* testsuite/std/ranges/conv/lwg4229.cc: New test. |
| 2220 |
|
| 2221 |
2025-03-25 Jonathan Wakely <[email protected]> |
| 2222 |
|
| 2223 |
PR libstdc++/108487 |
| 2224 |
* include/bits/stl_vector.h (vector(initializer_list)): Call |
| 2225 |
_M_range_initialize_n instead of _M_range_initialize. |
| 2226 |
(vector(InputIterator, InputIterator)): Use _M_range_initialize_n |
| 2227 |
for C++20 sized sentinels and forward iterators. |
| 2228 |
(vector(from_range_t, R&&)): Use _M_range_initialize_n for sized |
| 2229 |
ranges and forward ranges. |
| 2230 |
(vector::_M_range_initialize(FwIt, FwIt, forward_iterator_tag)): |
| 2231 |
Likewise. |
| 2232 |
(vector::_M_range_initialize_n): New function. |
| 2233 |
* testsuite/23_containers/vector/cons/108487.cc: New test. |
| 2234 |
|
| 2235 |
2025-03-25 Jonathan Wakely <[email protected]> |
| 2236 |
|
| 2237 |
* include/debug/vector (vector::assign_range): Use change in |
| 2238 |
capacity to detect reallocation. |
| 2239 |
(vector::insert_range, vector::append_range): Likewise. Remove |
| 2240 |
unused variables. |
| 2241 |
|
| 2242 |
2025-03-25 Jonathan Wakely <[email protected]> |
| 2243 |
|
| 2244 |
* include/bits/stl_bvector.h (vector::assign_range): More |
| 2245 |
efficient implementation for forward/sized ranges. |
| 2246 |
(vector::append_range): Handle potentially overlapping range. |
| 2247 |
* include/bits/stl_vector.h (vector(from_range_t, R&&, Alloc)): |
| 2248 |
Do not use append_range for non-sized input range case. |
| 2249 |
(vector::append_range): Handle potentially overlapping range. |
| 2250 |
* include/bits/vector.tcc (vector::insert_range): Forward range |
| 2251 |
instead of moving it. |
| 2252 |
* testsuite/23_containers/vector/bool/modifiers/insert/append_range.cc: |
| 2253 |
Test overlapping ranges. |
| 2254 |
* testsuite/23_containers/vector/modifiers/append_range.cc: |
| 2255 |
Likewise. |
| 2256 |
|
| 2257 |
2025-03-25 Jonathan Wakely <[email protected]> |
| 2258 |
|
| 2259 |
PR libstdc++/118699 |
| 2260 |
* testsuite/27_io/filesystem/operations/copy.cc: Check copying a |
| 2261 |
file to a directory. |
| 2262 |
|
| 2263 |
2025-03-25 Jonathan Wakely <[email protected]> |
| 2264 |
|
| 2265 |
PR libstdc++/119429 |
| 2266 |
* include/std/format (__format::_Scanner::_Scanner): Cast |
| 2267 |
default argument to size_t. |
| 2268 |
|
| 2269 |
2025-03-25 Tomasz Kamiński <[email protected]> |
| 2270 |
|
| 2271 |
PR libstdc++/119415 |
| 2272 |
* include/std/flat_set (_Flat_set_impl:insert_range): |
| 2273 |
Add __detail::__cpp17_input_iterator check. |
| 2274 |
* testsuite/23_containers/flat_multiset/1.cc: New tests |
| 2275 |
* testsuite/23_containers/flat_set/1.cc: New tests |
| 2276 |
|
| 2277 |
2025-03-24 Jonathan Wakely <[email protected]> |
| 2278 |
|
| 2279 |
* doc/xml/manual/policy_data_structures_biblio.xml: Fix two |
| 2280 |
broken links. |
| 2281 |
* doc/html/manual/policy_data_structures.html: Regenerate. |
| 2282 |
|
| 2283 |
2025-03-24 Jonathan Wakely <[email protected]> |
| 2284 |
|
| 2285 |
PR libstdc++/101527 |
| 2286 |
* testsuite/24_iterators/common_iterator/101527.cc: New test. |
| 2287 |
* testsuite/24_iterators/counted_iterator/101527.cc: New test. |
| 2288 |
|
| 2289 |
2025-03-24 Jonathan Wakely <[email protected]> |
| 2290 |
|
| 2291 |
* include/bits/stl_bvector.h (vector<bool, A>): Enforce the |
| 2292 |
C++20 requirement that the allocator's value_type matches the |
| 2293 |
container. |
| 2294 |
* testsuite/23_containers/vector/bool/cons/from_range.cc: Fix |
| 2295 |
incorrect allocator type. |
| 2296 |
|
| 2297 |
2025-03-21 Jonathan Wakely <[email protected]> |
| 2298 |
|
| 2299 |
PR libstdc++/117214 |
| 2300 |
* configure.ac: Use AC_STRUCT_TIMEZONE. |
| 2301 |
* config.h.in: Regenerate. |
| 2302 |
* configure: Regenerate. |
| 2303 |
* include/bits/chrono_io.h (__formatter_chrono::_M_c): Set |
| 2304 |
tm_isdst and tm_zone. |
| 2305 |
* testsuite/std/time/format/pr117214.cc: Check %c formatting of |
| 2306 |
zoned_time and local time. |
| 2307 |
|
| 2308 |
2025-03-21 XU Kailiang <[email protected]> |
| 2309 |
Jonathan Wakely <[email protected]> |
| 2310 |
|
| 2311 |
PR libstdc++/117214 |
| 2312 |
* include/bits/chrono_io.h (__formatter_chrono::_M_c): Use |
| 2313 |
_M_locale_fmt to format %c time point. |
| 2314 |
* testsuite/std/time/format/pr117214.cc: New test. |
| 2315 |
|
| 2316 |
2025-03-21 Jonathan Wakely <[email protected]> |
| 2317 |
|
| 2318 |
* include/bits/chrono_io.h (__formatter_chrono::_M_locale_fmt): |
| 2319 |
Imbue locale into ostringstream. |
| 2320 |
* testsuite/std/time/format/localized.cc: Check that correct |
| 2321 |
locale is used for call to time_put::put. |
| 2322 |
|
| 2323 |
2025-03-21 Jonathan Wakely <[email protected]> |
| 2324 |
|
| 2325 |
* include/bits/stl_vector.h (vector(from_range_t, Alloc)): Use |
| 2326 |
delegating constructor instead of RAII guards. Use append_range |
| 2327 |
for unsized input range case. |
| 2328 |
|
| 2329 |
2025-03-21 Jonathan Wakely <[email protected]> |
| 2330 |
|
| 2331 |
* src/c++23/std.compat.cc.in: Only export <stdbit.h> and |
| 2332 |
<stdckdint.h> contents for C++26 and later. |
| 2333 |
|
| 2334 |
2025-03-21 Jonathan Wakely <[email protected]> |
| 2335 |
|
| 2336 |
* src/c++23/std.cc.in (tuple_element, tuple_element_t) |
| 2337 |
(tuple_size, tuple_size_v, get): Export. |
| 2338 |
(ranges::cache_latest_view, views::cache_latest): Export. |
| 2339 |
(ranges::to_input_view, views::to_input): Export. |
| 2340 |
(from_range_t, from_range): Export. |
| 2341 |
|
| 2342 |
2025-03-20 Tomasz Kamiński <[email protected]> |
| 2343 |
|
| 2344 |
* include/debug/unordered_map (unordered_map): Add from_range |
| 2345 |
constructors and deduction guides. |
| 2346 |
(unordered_multimap): Likewise. |
| 2347 |
* include/debug/unordered_set (unordered_set): Add from_range |
| 2348 |
constructors and deduction guides. |
| 2349 |
(unordered_multiset): Likewise. |
| 2350 |
|
| 2351 |
2025-03-20 Jonathan Wakely <[email protected]> |
| 2352 |
|
| 2353 |
* include/debug/map.h (map): Add from_range constructors and |
| 2354 |
deduction guides. |
| 2355 |
* include/debug/multimap.h (multimap): Likewise. |
| 2356 |
* include/debug/multiset.h (multiset): Likewise. |
| 2357 |
* include/debug/set.h (set): Likewise. |
| 2358 |
|
| 2359 |
2025-03-20 Jakub Jelinek <[email protected]> |
| 2360 |
|
| 2361 |
* testsuite/18_support/numeric_limits/traps.cc (main): Fix comment |
| 2362 |
typo. |
| 2363 |
|
| 2364 |
2025-03-19 Jonathan Wakely <[email protected]> |
| 2365 |
|
| 2366 |
* doc/xml/manual/test.xml: Fix default for -std option. |
| 2367 |
* doc/html/manual/test.html: Regenerate. |
| 2368 |
|
| 2369 |
2025-03-19 Jonathan Wakely <[email protected]> |
| 2370 |
|
| 2371 |
* include/bits/locale_facets_nonio.tcc (time_put::do_put): Fix |
| 2372 |
typo in comment. |
| 2373 |
|
| 2374 |
2025-03-19 François Dumont <[email protected]> |
| 2375 |
|
| 2376 |
* testsuite/23_containers/set/requirements/explicit_instantiation/alloc_ptr.cc: |
| 2377 |
Activate the template member tests involving __cpp_lib_ranges_to_container |
| 2378 |
support. |
| 2379 |
|
| 2380 |
2025-03-19 Jonathan Wakely <[email protected]> |
| 2381 |
|
| 2382 |
* testsuite/20_util/stdbit/1.cc: Include <climits> instead of |
| 2383 |
<limits.h>. |
| 2384 |
|
| 2385 |
2025-03-19 Tomasz Kamiński <[email protected]> |
| 2386 |
|
| 2387 |
* include/bits/ranges_base.h (__detail::__range_key_type): |
| 2388 |
Replace RV::first_type with tuple_element_t<0, RV>. |
| 2389 |
(__detail::__range_mapped_type) Replace RV::second_type |
| 2390 |
with tuple_element_t<1, RV>. |
| 2391 |
* testsuite/23_containers/flat_map/1.cc: New tests. |
| 2392 |
* testsuite/23_containers/flat_multimap/1.cc: New tests. |
| 2393 |
* testsuite/23_containers/map/cons/from_range.cc: New tests. |
| 2394 |
* testsuite/23_containers/multimap/cons/from_range.cc: New tests. |
| 2395 |
* testsuite/23_containers/unordered_map/cons/from_range.cc: New tests. |
| 2396 |
* testsuite/23_containers/unordered_multimap/cons/from_range.cc: |
| 2397 |
New tests. |
| 2398 |
|
| 2399 |
2025-03-19 Tomasz Kamiński <[email protected]> |
| 2400 |
|
| 2401 |
* include/bits/unordered_map.h |
| 2402 |
(unordered_map(from_range_t, _Rg&&, const allocator_type&)) |
| 2403 |
(unordered_multimap(from_range_t, _Rg&&, const allocator_type&)): |
| 2404 |
Define. |
| 2405 |
* include/bits/unordered_set.h |
| 2406 |
(unordered_set(from_range_t, _Rg&&, const allocator_type&)) |
| 2407 |
(unordered_multiset(from_range_t, _Rg&&, const allocator_type&)): |
| 2408 |
Define. |
| 2409 |
* testsuite/23_containers/unordered_map/cons/from_range.cc: New tests. |
| 2410 |
New tests. |
| 2411 |
* testsuite/23_containers/unordered_multimap/cons/from_range.cc: |
| 2412 |
New tests. |
| 2413 |
* testsuite/23_containers/unordered_multiset/cons/from_range.cc: |
| 2414 |
New tests. |
| 2415 |
* testsuite/23_containers/unordered_set/cons/from_range.cc: New tests. |
| 2416 |
* testsuite/std/ranges/conv/1.cc: New tests. |
| 2417 |
|
| 2418 |
2025-03-19 Tomasz Kamiński <[email protected]> |
| 2419 |
|
| 2420 |
PR libstdc++/119358 |
| 2421 |
* include/bits/unordered_map.h (unordered_multimap::insert_range): |
| 2422 |
Cast ranges::distance to size_type before passing to _M_rehash_insert. |
| 2423 |
* include/bits/unordered_set.h (unordered_multiset::insert_range): |
| 2424 |
Same as unordered_multimap::insert_range. |
| 2425 |
* testsuite/23_containers/unordered_multimap/cons/from_range.cc: |
| 2426 |
New tests. |
| 2427 |
* testsuite/23_containers/unordered_multiset/cons/from_range.cc: |
| 2428 |
New tests. |
| 2429 |
|
| 2430 |
2025-03-18 Tomasz Kamiński <[email protected]> |
| 2431 |
|
| 2432 |
PR libstdc++/111055 |
| 2433 |
* include/bits/unordered_map.h (unordered_map): Define from_range |
| 2434 |
constructors and insert_range member. |
| 2435 |
(unordered_multimap): Likewise. |
| 2436 |
* testsuite/23_containers/unordered_multimap/cons/from_range.cc: |
| 2437 |
New test. |
| 2438 |
* testsuite/23_containers/unordered_multimap/modifiers/insert_range.cc: |
| 2439 |
New test. |
| 2440 |
* testsuite/23_containers/unordered_map/cons/from_range.cc: |
| 2441 |
New test. |
| 2442 |
* testsuite/23_containers/unordered_map/modifiers/insert_range.cc: |
| 2443 |
New test. |
| 2444 |
|
| 2445 |
2025-03-18 Tomasz Kamiński <[email protected]> |
| 2446 |
|
| 2447 |
PR libstdc++/111055 |
| 2448 |
* include/bits/hashtable.h (_M_rehash_insert) |
| 2449 |
(_M_insert_range_multi): Extracted rehashing for range insertion |
| 2450 |
to separate function. |
| 2451 |
* include/bits/unordered_set.h (unordered_set): Define from_range |
| 2452 |
constructors and insert_range member. |
| 2453 |
(unordered_multiset) Likewise. |
| 2454 |
* testsuite/23_containers/unordered_multiset/cons/from_range.cc: |
| 2455 |
New test. |
| 2456 |
* testsuite/23_containers/unordered_multiset/modifiers/insert_range.cc: |
| 2457 |
New test. |
| 2458 |
* testsuite/23_containers/unordered_set/cons/from_range.cc: |
| 2459 |
New test. |
| 2460 |
* testsuite/23_containers/unordered_set/modifiers/insert_range.cc: |
| 2461 |
New test. |
| 2462 |
|
| 2463 |
2025-03-18 Tomasz Kamiński <[email protected]> |
| 2464 |
|
| 2465 |
PR libstdc++/111055 |
| 2466 |
* include/bits/stl_multiset.h: (inser_range) |
| 2467 |
(multiset(from_range_t, _Rg&&, const _Compare&, const _Alloc&)) |
| 2468 |
(multiset(from_range_t, _Rg&&, const _Alloc&)): Define. |
| 2469 |
* include/bits/stl_set.h: (set(from_range_t, _Rg&&, const _Alloc&)) |
| 2470 |
(set(from_range_t, _Rg&&, const _Compare&, const _Alloc&), insert_range): |
| 2471 |
Define. |
| 2472 |
* testsuite/23_containers/multiset/cons/from_range.cc: New test. |
| 2473 |
* testsuite/23_containers/multiset/modifiers/insert/insert_range.cc: |
| 2474 |
New test. |
| 2475 |
* testsuite/23_containers/set/cons/from_range.cc: New test. |
| 2476 |
* testsuite/23_containers/set/modifiers/insert/insert_range.cc: |
| 2477 |
New test. |
| 2478 |
|
| 2479 |
2025-03-18 Tomasz Kamiński <[email protected]> |
| 2480 |
|
| 2481 |
PR libstdc++/111055 |
| 2482 |
* include/bits/ranges_base.h (__detail::__range_to_alloc_type): |
| 2483 |
Define. |
| 2484 |
* include/bits/stl_multimap.h: (inser_range) |
| 2485 |
(multimap(from_range_t, _Rg&&, const _Compare&, const _Alloc&)) |
| 2486 |
(multimap(from_range_t, _Rg&&, const _Alloc&)): Define. |
| 2487 |
* include/bits/stl_map.h: (map(from_range_t, _Rg&&, const _Alloc&)) i |
| 2488 |
(map(from_range_t, _Rg&&, const _Compare&, const _Alloc&), insert_range): |
| 2489 |
Define. |
| 2490 |
* testsuite/23_containers/multimap/cons/from_range.cc: New test. |
| 2491 |
* testsuite/23_containers/multimap/modifiers/insert/insert_range.cc: New test. |
| 2492 |
* testsuite/23_containers/map/cons/from_range.cc: New test. |
| 2493 |
* testsuite/23_containers/map/modifiers/insert/insert_range.cc: New test. |
| 2494 |
|
| 2495 |
2025-03-14 Patrick Palka <[email protected]> |
| 2496 |
|
| 2497 |
PR libstdc++/119282 |
| 2498 |
* include/bits/stl_vector.h (vector::vector(from_range_t)): Add |
| 2499 |
missing 'constexpr' to local class _Clear. |
| 2500 |
* testsuite/std/ranges/conv/1.cc (test_pr119282): New test. |
| 2501 |
|
| 2502 |
2025-03-14 Tomasz Kamiński <[email protected]> |
| 2503 |
|
| 2504 |
PR libstdc++/111138 |
| 2505 |
* include/std/ranges (_ZipTransform::operator()): |
| 2506 |
Create separate overload for calls with empty range pack, |
| 2507 |
and add move_constructible, regular_invocable and |
| 2508 |
is_object_v<invoke_result_t<...>>> constraints. |
| 2509 |
* testsuite/std/ranges/zip_transform/1.cc: New tests |
| 2510 |
Jonathan Wakely <[email protected]> |
| 2511 |
|
| 2512 |
2025-03-14 Thomas Schwinge <[email protected]> |
| 2513 |
|
| 2514 |
PR target/92713 |
| 2515 |
PR target/101544 |
| 2516 |
* config/cpu/nvptx/cpu_defines.h: New. |
| 2517 |
* config/cpu/nvptx/t-nvptx: Likewise. |
| 2518 |
* configure.host: Handle GCN, nvptx. |
| 2519 |
|
| 2520 |
2025-03-14 Tomasz Kamiński <[email protected]> |
| 2521 |
|
| 2522 |
* testsuite/23_containers/priority_queue/cons_from_range.cc: |
| 2523 |
Add `#include <algorithm>. |
| 2524 |
* testsuite/23_containers/priority_queue/members/push_range.cc: |
| 2525 |
Add `#include <algorithm>. |
| 2526 |
|
| 2527 |
2025-03-14 Giuseppe D'Angelo <[email protected]> |
| 2528 |
|
| 2529 |
* include/bits/shared_ptr_base.h (lock): Fixed a compile error |
| 2530 |
when calling lock() on a weak_ptr<T[]>, by removing an |
| 2531 |
erroneous usage of element_type from within lock(). |
| 2532 |
* testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc: |
| 2533 |
Add more tests for array types. |
| 2534 |
* testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc: |
| 2535 |
Likewise. |
| 2536 |
* testsuite/20_util/shared_ptr/requirements/1.cc: New test. |
| 2537 |
* testsuite/20_util/weak_ptr/requirements/1.cc: New test. |
| 2538 |
|
| 2539 |
2025-03-13 Patrick Palka <[email protected]> |
| 2540 |
|
| 2541 |
PR libstdc++/116440 |
| 2542 |
* include/std/tuple (tuple::tuple(const _Elements&...)) |
| 2543 |
[C++20]: Turn into a template. |
| 2544 |
* testsuite/20_util/tuple/116440.C: New test. |
| 2545 |
|
| 2546 |
2025-03-13 Jonathan Wakely <[email protected]> |
| 2547 |
Tomasz Kamiński <[email protected]> |
| 2548 |
|
| 2549 |
PR libstdc++/111055 |
| 2550 |
* include/bits/stl_queue.h (queue(from_range_t, _Rg&&)) |
| 2551 |
(queue(from_range_t, _Rg&&, const _Alloc&), push_range): |
| 2552 |
Define. |
| 2553 |
(priority_queue(from_range_t, R&&, const Compare&)) |
| 2554 |
(push_range): Define. |
| 2555 |
* include/bits/stl_stack.h (stack(from_range_t, R&&)) |
| 2556 |
(stack(from_range_t, R&&, const Alloc&), push_range): Define. |
| 2557 |
* testsuite/util/testsuite_iterators.h (test_range_nocopy): Define. |
| 2558 |
* testsuite/23_containers/priority_queue/cons_from_range.cc: New test. |
| 2559 |
* testsuite/23_containers/priority_queue/members/push_range.cc: New test. |
| 2560 |
* testsuite/23_containers/queue/cons_from_range.cc: New test. |
| 2561 |
* testsuite/23_containers/queue/members/push_range.cc: New test. |
| 2562 |
* testsuite/23_containers/stack/cons_from_range.cc: New test. |
| 2563 |
* testsuite/23_containers/stack/members/push_range.cc: New test. |
| 2564 |
|
| 2565 |
2025-03-13 Jonathan Wakely <[email protected]> |
| 2566 |
|
| 2567 |
* include/Makefile.am: Add stdckdint.h. |
| 2568 |
* include/Makefile.in: Regenerate. |
| 2569 |
* src/c++23/std.compat.cc.in: Export <stdckdint.h> functions. |
| 2570 |
* include/c_compatibility/stdckdint.h: New file. |
| 2571 |
* testsuite/26_numerics/stdckdint/1.cc: New test. |
| 2572 |
* testsuite/26_numerics/stdckdint/2_neg.cc: New test. |
| 2573 |
|
| 2574 |
2025-03-13 Jonathan Wakely <[email protected]> |
| 2575 |
|
| 2576 |
* include/Makefile.am: Add stdbit.h. |
| 2577 |
* include/Makefile.in: Regenerate. |
| 2578 |
* src/c++23/std.compat.cc.in: Export <stdbit.h> functions. |
| 2579 |
* include/c_compatibility/stdbit.h: New file. |
| 2580 |
* testsuite/20_util/stdbit/1.cc: New test. |
| 2581 |
* testsuite/20_util/stdbit/2_neg.cc: New test. |
| 2582 |
|
| 2583 |
2025-03-13 Patrick Palka <[email protected]> |
| 2584 |
|
| 2585 |
PR libstdc++/119135 |
| 2586 |
* include/std/ranges: Include <utility>. |
| 2587 |
(views::__detail::__is_ref_view): Replace with ... |
| 2588 |
(views::__detail::__is_constable_ref_view): ... this. |
| 2589 |
(views::_AsConst::operator()): Replace bogus use of element_type |
| 2590 |
in the ref_view branch. |
| 2591 |
* testsuite/std/ranges/adaptors/as_const/1.cc (test03): Extend |
| 2592 |
test. |
| 2593 |
|
| 2594 |
2025-03-13 Thomas Schwinge <[email protected]> |
| 2595 |
|
| 2596 |
* acinclude.m4 (GLIBCXX_ENABLE_CXX_FLAGS): Append to |
| 2597 |
'EXTRA_CXX_FLAGS' any additional flags. |
| 2598 |
* configure: Regenerate. |
| 2599 |
* configure.host: Document 'EXTRA_CFLAGS', 'EXTRA_CXX_FLAGS'. |
| 2600 |
|
| 2601 |
2025-03-13 Tomasz Kamiński <[email protected]> |
| 2602 |
|
| 2603 |
PR libstdc++/108053 |
| 2604 |
* include/std/format (basic_format_arg::_M_visit_user): |
| 2605 |
Helper function for wrapping extension types into handle. |
| 2606 |
(visit_format_arg): Call `_M_visit_user` instead of `_M_visit`. |
| 2607 |
(basic_format_arg::visit): As above. |
| 2608 |
(__format::__visit_format_arg): Provides direct access to |
| 2609 |
values stored in basic_format_arg. |
| 2610 |
(__format::__int_from_arg): Use __format::__visit_format_arg |
| 2611 |
instead of std::visit_format_arg. |
| 2612 |
(_Formatting_scanner::_M_format_arg): As above. |
| 2613 |
(_Checking_scanner::__do_vformat_to): As above. |
| 2614 |
* testsuite/std/format/arguments/args.cc: New tests. |
| 2615 |
* testsuite/std/format/string.cc: Test for using __int128 |
| 2616 |
as width/precision. |
| 2617 |
|
| 2618 |
2025-03-12 Patrick Palka <[email protected]> |
| 2619 |
|
| 2620 |
* include/bits/version.def (ranges_to_input): Define. |
| 2621 |
* include/bits/version.h: Regenerate. |
| 2622 |
* include/std/ranges (ranges::to_input_view): Define for C++26. |
| 2623 |
(views::__detail::__can_to_input): Likewise. |
| 2624 |
(views::_ToInput, views::to_input): Likewise. |
| 2625 |
* testsuite/std/ranges/adaptors/to_input/1.cc: New test. |
| 2626 |
|
| 2627 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2628 |
|
| 2629 |
* include/std/format: Include <bits/monostate.h> instead of |
| 2630 |
<variant>. |
| 2631 |
|
| 2632 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2633 |
|
| 2634 |
* include/std/format (basic_format_parse_context::__once): New |
| 2635 |
variable template. |
| 2636 |
(basic_format_parse_context::__valid_types_for_check_dynamic_spec): |
| 2637 |
New function template for checking argument types. |
| 2638 |
(basic_format_parse_context::__check_dynamic_spec): New function |
| 2639 |
template to implement the common check_dynamic_spec logic. |
| 2640 |
(basic_format_parse_context::check_dynamic_spec_integral): Call |
| 2641 |
__check_dynamic_spec instead of check_dynamic_spec. |
| 2642 |
(basic_format_parse_context::check_dynamic_spec_string): |
| 2643 |
Likewise. Use _CharT instead of char_type consistently. |
| 2644 |
(basic_format_parse_context::check_dynamic_spec): Use |
| 2645 |
__valid_types_for_check_dynamic_spec for precondition checks and |
| 2646 |
call __check_dynamic_spec for checking the arg id. |
| 2647 |
* testsuite/std/format/parse_ctx_neg.cc: Adjust expected errors. |
| 2648 |
|
| 2649 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2650 |
|
| 2651 |
* include/std/future (packaged_task::packaged_task(F&&)): Add |
| 2652 |
static_assert. |
| 2653 |
* testsuite/30_threads/packaged_task/cons/dangling_ref.cc: Add |
| 2654 |
dg-error for new static assertion. |
| 2655 |
* testsuite/30_threads/packaged_task/cons/lwg4154_neg.cc: New |
| 2656 |
test. |
| 2657 |
|
| 2658 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2659 |
|
| 2660 |
* include/std/chrono (__detail::__get_leap_second_info): Update |
| 2661 |
expiry date for leap seconds list. |
| 2662 |
* src/c++20/tzdata.zi: Import new file from 2025a release. |
| 2663 |
* src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds) |
| 2664 |
Update expiry date for leap seconds list. |
| 2665 |
|
| 2666 |
2025-03-12 Tomasz Kamiński <[email protected]> |
| 2667 |
|
| 2668 |
* include/std/format (formatter<_Float16, _CharT>): Define only if |
| 2669 |
_GLIBCXX_FLOAT_IS_IEEE_BINARY32 macro is defined. |
| 2670 |
(formatter<_Float16, _CharT>): As above. |
| 2671 |
(formatter<__gnu_cxx::__bfloat16_t, _CharT>): As above. |
| 2672 |
(formatter<_Float64, _CharT>): Define only if |
| 2673 |
_GLIBCXX_DOUBLE_IS_IEEE_BINARY64 is defined. |
| 2674 |
(basic_format_arg::_S_to_arg_type): Normalize _Float32 and _Float64 |
| 2675 |
only to float and double respectivelly. |
| 2676 |
(basic_format_arg::_S_to_enum): Remove handling of _Float32 and _Float64. |
| 2677 |
|
| 2678 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2679 |
|
| 2680 |
* doc/xml/manual/strings.xml: Tweak formatting. Add example |
| 2681 |
using lambda. |
| 2682 |
* doc/html/manual/strings.html: Regenerate. |
| 2683 |
|
| 2684 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2685 |
|
| 2686 |
* include/bits/unique_ptr.h (unique_ptr::operator*): Add |
| 2687 |
static_assert to check for dangling reference, as per LWG 4148. |
| 2688 |
* testsuite/20_util/unique_ptr/lwg4148.cc: New test. |
| 2689 |
|
| 2690 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2691 |
|
| 2692 |
* include/bits/ranges_util.h (ranges::_detail::__has_arrow): |
| 2693 |
Require operator->() to be valid on const-qualified type, as per |
| 2694 |
LWG 4112. |
| 2695 |
* testsuite/std/ranges/adaptors/lwg4112.cc: New test. |
| 2696 |
|
| 2697 |
2025-03-12 Jonathan Wakely <[email protected]> |
| 2698 |
|
| 2699 |
* include/std/format |
| 2700 |
(basic_format_parse_context::check_dynamic_spec): Require a |
| 2701 |
non-empty parameter pack, as per LWG 4142. |
| 2702 |
* testsuite/std/format/parse_ctx.cc: Remove call of |
| 2703 |
check_dynamic_spec with empty template argument list. |
| 2704 |
* testsuite/std/format/parse_ctx_neg.cc: Add dg-error to call of |
| 2705 |
check_dynamic_spec with empty template argument list. |
| 2706 |
|
| 2707 |
2025-03-08 Giuseppe D'Angelo <[email protected]> |
| 2708 |
|
| 2709 |
* include/bits/version.def (atomic_value_initialization): |
| 2710 |
Guard the FTM with the language concepts FTM. |
| 2711 |
* include/bits/version.h: Regenerate. |
| 2712 |
* include/std/atomic (atomic): When atomic value init is |
| 2713 |
defined, change the defaulted default constructor to |
| 2714 |
a non-defaulted one, constraining it as per LWG4169. |
| 2715 |
Otherwise, keep the existing constructor. |
| 2716 |
Remove the NSDMI for the _M_i member. |
| 2717 |
(_GLIBCXX20_INIT): Drop the macro, as it is not needed any more. |
| 2718 |
* testsuite/29_atomics/atomic/69301.cc: Test that |
| 2719 |
an atomic wrapping a non-default-constructible type is |
| 2720 |
always itself non-default-constructible (in all language |
| 2721 |
modes). |
| 2722 |
* testsuite/29_atomics/atomic/cons/trivial.cc: New test. |
| 2723 |
|
| 2724 |
2025-03-08 Jonathan Wakely <[email protected]> |
| 2725 |
|
| 2726 |
* include/bits/stl_algobase.h (__nothrow_contiguous_iterator): |
| 2727 |
Remove. |
| 2728 |
(__memcpyable_iterators): Simplify. |
| 2729 |
(__copy_move_a2, __copy_n_a, __copy_move_backward_a2): Call |
| 2730 |
std::to_address on the iterators after advancing them. |
| 2731 |
* testsuite/25_algorithms/copy/contiguous.cc: New test. |
| 2732 |
* testsuite/25_algorithms/copy_backward/contiguous.cc: New test. |
| 2733 |
* testsuite/25_algorithms/copy_n/contiguous.cc: New test. |
| 2734 |
|
| 2735 |
2025-03-07 Jonathan Wakely <[email protected]> |
| 2736 |
|
| 2737 |
* include/std/forward_list (erase): Change lambda to have |
| 2738 |
explicit return type and const parameter type. |
| 2739 |
* include/std/list (erase): Likewise. |
| 2740 |
* testsuite/23_containers/forward_list/erasure.cc: Check lambda |
| 2741 |
is correct. |
| 2742 |
* testsuite/23_containers/list/erasure.cc: Likewise. |
| 2743 |
|
| 2744 |
2025-03-07 Jonathan Wakely <[email protected]> |
| 2745 |
|
| 2746 |
* include/bits/chrono_io.h (chrono::__detail::from_stream): Add |
| 2747 |
deleted function as poison pill for unqualified lookup. |
| 2748 |
|
| 2749 |
2025-03-07 Jonathan Wakely <[email protected]> |
| 2750 |
|
| 2751 |
* include/std/expected (expected<cv void,E>::value()&&): |
| 2752 |
Add missing static_assert for LWG 3940. |
| 2753 |
* testsuite/20_util/expected/lwg3843.cc: New test. |
| 2754 |
|
| 2755 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2756 |
|
| 2757 |
* include/bits/unique_lock.h (unique_lock::operator=): Fix for |
| 2758 |
self-move-assignment. |
| 2759 |
* include/std/shared_mutex (shared_lock::operator=): Add |
| 2760 |
comment. |
| 2761 |
* testsuite/30_threads/shared_lock/cons/lwg4172.cc: New test. |
| 2762 |
* testsuite/30_threads/unique_lock/cons/lwg4172.cc: New test. |
| 2763 |
|
| 2764 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2765 |
|
| 2766 |
* include/bits/stl_list.h (list::pop_front, list::pop_back): |
| 2767 |
Add non-empty assertions. |
| 2768 |
|
| 2769 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2770 |
|
| 2771 |
* include/bits/ranges_util.h: Include <bits/stl_pair.h>. |
| 2772 |
|
| 2773 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2774 |
|
| 2775 |
* include/std/span (span::~span): Remove, as per LWG 3903. |
| 2776 |
|
| 2777 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2778 |
|
| 2779 |
PR libstdc++/119144 |
| 2780 |
* testsuite/26_numerics/complex/tuple_like.cc: Include |
| 2781 |
<algorithm>, replace std::string with std::string_view, |
| 2782 |
instantiate tests for long instead of size_t. |
| 2783 |
|
| 2784 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2785 |
Thomas Schwinge <[email protected]> |
| 2786 |
|
| 2787 |
* src/c++20/tzdb.cc [__GTHREADS && !__GTHREADS_CXX0X]: Use |
| 2788 |
'__gnu_cxx::__mutex'. |
| 2789 |
|
| 2790 |
2025-03-06 Thomas Schwinge <[email protected]> |
| 2791 |
|
| 2792 |
* src/c++20/format.cc (conv): Tag 'out' as '[[maybe_unused]]'. |
| 2793 |
|
| 2794 |
2025-03-06 Thomas Schwinge <[email protected]> |
| 2795 |
|
| 2796 |
* src/c++17/fs_dir.cc (do_unlink): Tag 'is_directory' as |
| 2797 |
'[[maybe_unused]]'. |
| 2798 |
|
| 2799 |
2025-03-06 Thomas Schwinge <[email protected]> |
| 2800 |
|
| 2801 |
* src/filesystem/dir-common.h (openat): Tag 'nofollow' as |
| 2802 |
'[[maybe_unused]]'. |
| 2803 |
|
| 2804 |
2025-03-06 Thomas Schwinge <[email protected]> |
| 2805 |
Jonathan Wakely <[email protected]> |
| 2806 |
|
| 2807 |
* include/bits/c++config [!__cpp_exceptions] |
| 2808 |
(_GLIBCXX_THROW_OR_ABORT): Reference '_EXC'. |
| 2809 |
|
| 2810 |
2025-03-06 Jonathan Wakely <[email protected]> |
| 2811 |
|
| 2812 |
* testsuite/20_util/specialized_algorithms/uninitialized_copy/constexpr.cc: |
| 2813 |
Do not test COW std::string in constexpr contexts. |
| 2814 |
* testsuite/20_util/specialized_algorithms/uninitialized_default_construct/constexpr.cc: |
| 2815 |
Likewise. |
| 2816 |
* testsuite/20_util/specialized_algorithms/uninitialized_fill/constexpr.cc: |
| 2817 |
Likewise. |
| 2818 |
* testsuite/20_util/specialized_algorithms/uninitialized_move/constexpr.cc: |
| 2819 |
Likewise. |
| 2820 |
* testsuite/20_util/specialized_algorithms/uninitialized_value_construct/constexpr.cc: |
| 2821 |
Likewise. |
| 2822 |
|
| 2823 |
2025-03-06 Giuseppe D'Angelo <[email protected]> |
| 2824 |
|
| 2825 |
PR libstdc++/113310 |
| 2826 |
* include/bits/stl_pair.h (get): Forward-declare std::get for |
| 2827 |
std::complex. |
| 2828 |
* include/bits/version.def (tuple_like): Bump the value of |
| 2829 |
the feature-testing macro in C++26. |
| 2830 |
* include/bits/version.h: Regenerate. |
| 2831 |
* include/std/complex: Implement the tuple protocol for |
| 2832 |
std::complex. |
| 2833 |
(tuple_size): Specialize for std::complex. |
| 2834 |
(tuple_element): Ditto. |
| 2835 |
(__is_tuple_like_v): Ditto. |
| 2836 |
(complex): Add a private getter to obtain references to the real |
| 2837 |
and the imaginary part, on the primary class template and on its |
| 2838 |
specializations. |
| 2839 |
(get): Add overloads of std::get for std::complex. |
| 2840 |
* testsuite/20_util/tuple/tuple_like_ftm.cc: New test. |
| 2841 |
* testsuite/26_numerics/complex/tuple_like.cc: New test. |
| 2842 |
|
| 2843 |
2025-03-05 Jonathan Wakely <[email protected]> |
| 2844 |
|
| 2845 |
* include/std/ranges (enumerate_view::_Iterator::operator-): |
| 2846 |
Add noexcept, as per LWG 3912. |
| 2847 |
* testsuite/std/ranges/adaptors/enumerate/1.cc: Check iterator |
| 2848 |
difference is noexcept. |
| 2849 |
|
| 2850 |
2025-03-05 yxj-github-437 <[email protected]> |
| 2851 |
|
| 2852 |
* src/c++23/std-clib.cc.in (timespec): Move within preprocessor |
| 2853 |
group guarded by _GLIBCXX_HAVE_TIMESPEC_GET. |
| 2854 |
|
| 2855 |
2025-03-05 Jonathan Wakely <[email protected]> |
| 2856 |
|
| 2857 |
PR libstdc++/119110 |
| 2858 |
* testsuite/25_algorithms/move/constrained.cc: Move test06 |
| 2859 |
function to ... |
| 2860 |
* testsuite/25_algorithms/move/105609.cc: New test. |
| 2861 |
* testsuite/25_algorithms/move_backward/constrained.cc: Move |
| 2862 |
test04 function to ... |
| 2863 |
* testsuite/25_algorithms/move_backward/105609.cc: New test. |
| 2864 |
|
| 2865 |
2025-03-05 Patrick Palka <[email protected]> |
| 2866 |
|
| 2867 |
* include/bits/version.def (ranges_cache_latest): Define. |
| 2868 |
* include/bits/version.h: Regenerate. |
| 2869 |
* include/std/ranges (__detail::__non_propagating_cache::_M_reset): |
| 2870 |
Export from base class _Optional_base. |
| 2871 |
(cache_latest_view): Define for C++26. |
| 2872 |
(cache_latest_view::_Iterator): Likewise. |
| 2873 |
(cache_latest_view::_Sentinel): Likewise. |
| 2874 |
(views::__detail::__can_cache_latest): Likewise. |
| 2875 |
(views::_CacheLatest, views::cache_latest): Likewise. |
| 2876 |
* testsuite/std/ranges/adaptors/cache_latest/1.cc: New test. |
| 2877 |
|
| 2878 |
2025-03-05 Giuseppe D'Angelo <[email protected]> |
| 2879 |
|
| 2880 |
* include/bits/stl_algo.h (__stable_sort): Use if consteval |
| 2881 |
instead of is_constant_evaluated. |
| 2882 |
|
| 2883 |
2025-03-05 Patrick Palka <[email protected]> |
| 2884 |
|
| 2885 |
PR libstdc++/115215 |
| 2886 |
PR libstdc++/115218 |
| 2887 |
* include/std/ranges |
| 2888 |
(concat_view::iterator::_S_invoke_with_runtime_index): Use |
| 2889 |
__builtin_unreachable in recursive lambda to certify it always |
| 2890 |
exits via 'return'. |
| 2891 |
(concat_view::iterator::iterator): In the const-converting |
| 2892 |
constructor, direct initialize _M_it. |
| 2893 |
(views::_Concat::operator()): Adjust constraints in the |
| 2894 |
single-argument case as per LWG 4082. |
| 2895 |
* testsuite/std/ranges/concat/1.cc (test01): Call it at runtime |
| 2896 |
too. |
| 2897 |
(test04): New test. |
| 2898 |
|
| 2899 |
2025-03-05 Tomasz Kamiński <[email protected]> |
| 2900 |
|
| 2901 |
PR libstdc++/119121 |
| 2902 |
* include/bits/ranges_util.h (__detail::__pair_like_convertible_from): |
| 2903 |
Use `_Tp` in `is_reference_v` check |
| 2904 |
* testsuite/std/ranges/subrange/tuple_like.cc: New tests for |
| 2905 |
pair-like conversion |
| 2906 |
|
| 2907 |
2025-03-05 Giuseppe D'Angelo <[email protected]> |
| 2908 |
|
| 2909 |
* include/bits/ranges_uninitialized.h: Mark the specialized |
| 2910 |
memory algorithms as constexpr in C++26. Also mark the members |
| 2911 |
of the _DestroyGuard helper class. |
| 2912 |
* include/bits/stl_uninitialized.h: Ditto. |
| 2913 |
* include/bits/stl_construct.h: (_Construct_novalue) Mark it |
| 2914 |
as constexpr in C++26. |
| 2915 |
* include/bits/version.def (raw_memory_algorithms): Bump the |
| 2916 |
feature-testing macro for C++26. |
| 2917 |
* include/bits/version.h: Regenerate. |
| 2918 |
* testsuite/20_util/headers/memory/synopsis.cc: Add constexpr to |
| 2919 |
the uninitialized_* algorithms (when in C++26) in the test. |
| 2920 |
* testsuite/20_util/specialized_algorithms/feature_test_macro.cc: |
| 2921 |
New test. |
| 2922 |
* testsuite/20_util/specialized_algorithms/uninitialized_copy/constexpr.cc: |
| 2923 |
New test. |
| 2924 |
* testsuite/20_util/specialized_algorithms/uninitialized_default_construct/constexpr.cc: |
| 2925 |
New test. |
| 2926 |
* testsuite/20_util/specialized_algorithms/uninitialized_fill/constexpr.cc: |
| 2927 |
New test. |
| 2928 |
* testsuite/20_util/specialized_algorithms/uninitialized_move/constexpr.cc: |
| 2929 |
New test. |
| 2930 |
* testsuite/20_util/specialized_algorithms/uninitialized_value_construct/constexpr.cc: |
| 2931 |
New test. |
| 2932 |
|
| 2933 |
2025-03-04 Jonathan Wakely <[email protected]> |
| 2934 |
|
| 2935 |
* doc/xml/manual/test.xml: Remove stray comma. |
| 2936 |
* doc/html/manual/test.html: Regenerate. |
| 2937 |
|
| 2938 |
2025-02-28 Jonathan Wakely <[email protected]> |
| 2939 |
|
| 2940 |
PR libstdc++/106612 |
| 2941 |
* include/bits/iterator_concepts.h (_IterMove::__iter_ref_t): |
| 2942 |
New alias template. |
| 2943 |
(_IterMove::__result): Use __iter_ref_t instead of |
| 2944 |
std::iter_reference_t. |
| 2945 |
(_IterMove::__type): Remove incorrect __dereferenceable |
| 2946 |
constraint. |
| 2947 |
(_IterMove::operator()): Likewise. Add correct constraints. Use |
| 2948 |
__iter_ref_t instead of std::iter_reference_t. Forward parameter |
| 2949 |
as correct value category. |
| 2950 |
(iter_swap): Add comments. |
| 2951 |
* testsuite/24_iterators/customization_points/iter_move.cc: Test |
| 2952 |
that iter_move is found by ADL and that rvalue arguments are |
| 2953 |
handled correctly. |
| 2954 |
|
| 2955 |
2025-02-28 Jonathan Wakely <[email protected]> |
| 2956 |
|
| 2957 |
PR libstdc++/105609 |
| 2958 |
* include/bits/ranges_algobase.h (__detail::__assign_one): New |
| 2959 |
helper function. |
| 2960 |
(__copy_or_move, __copy_or_move_backward): Use new function |
| 2961 |
instead of std::__assign_one. |
| 2962 |
* testsuite/25_algorithms/move/constrained.cc: Check that |
| 2963 |
ADL iter_move is used in preference to std::move. |
| 2964 |
* testsuite/25_algorithms/move_backward/constrained.cc: |
| 2965 |
Likewise. |
| 2966 |
|
| 2967 |
2025-02-28 Jonathan Wakely <[email protected]> |
| 2968 |
|
| 2969 |
PR libstdc++/112803 |
| 2970 |
* include/std/ranges (ranges::to): Add static assertions to |
| 2971 |
enforce Mandates conditions. |
| 2972 |
* testsuite/std/ranges/conv/112803.cc: New test. |
| 2973 |
|
| 2974 |
2025-02-28 Patrick Palka <[email protected]> |
| 2975 |
|
| 2976 |
PR libstdc++/104606 |
| 2977 |
* include/std/optional (operator<=>): Revert r14-9771 change. |
| 2978 |
Add constraint checking the validity of the return type |
| 2979 |
compare_three_way_result_t before the three_way_comparable_with |
| 2980 |
constraint. |
| 2981 |
|
| 2982 |
2025-02-28 Patrick Palka <[email protected]> |
| 2983 |
|
| 2984 |
PR libstdc++/112490 |
| 2985 |
* include/bits/stl_iterator.h (basic_const_iterator::operator<): |
| 2986 |
Replace non-dependent basic_const_iterator function parameter with |
| 2987 |
a dependent one of type basic_const_iterator<_It3> where _It3 |
| 2988 |
matches _It. |
| 2989 |
(basic_const_iterator::operator>): Likewise. |
| 2990 |
(basic_const_iterator::operator<=): Likewise. |
| 2991 |
(basic_const_iterator::operator>=): Likewise. |
| 2992 |
* testsuite/24_iterators/const_iterator/112490.cc: New test. |
| 2993 |
|
| 2994 |
2025-02-27 Jonathan Wakely <[email protected]> |
| 2995 |
|
| 2996 |
* include/std/stacktrace (_Impl::_M_allocate): Fix outdated |
| 2997 |
comment. |
| 2998 |
|
| 2999 |
2025-02-26 Patrick Palka <[email protected]> |
| 3000 |
|
| 3001 |
PR libstdc++/118083 |
| 3002 |
* include/bits/ranges_base.h |
| 3003 |
(ranges::__access::__possibly_const_range): Mention LWG 4027. |
| 3004 |
|
| 3005 |
2025-02-25 Giuseppe D'Angelo <[email protected]> |
| 3006 |
|
| 3007 |
* include/bits/algorithmfwd.h (stable_sort): Add constexpr. |
| 3008 |
* include/bits/ranges_algo.h (__stable_sort_fn): Add constexpr |
| 3009 |
to the function call operators. |
| 3010 |
* include/bits/stl_algo.h (__stable_sort): Add constexpr. |
| 3011 |
During constant evaluation, always use the non-allocating path. |
| 3012 |
(stable_sort): Add constexpr. |
| 3013 |
(__inplace_stable_sort): Likewise. |
| 3014 |
(__merge_without_buffer): Likewise. |
| 3015 |
* include/bits/version.def (constexpr_algorithms): Bump value |
| 3016 |
for C++26. |
| 3017 |
* include/bits/version.h: Regnerate. |
| 3018 |
* testsuite/25_algorithms/cpp_lib_constexpr.cc: Test the bumped |
| 3019 |
feature-testing macro. |
| 3020 |
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adapt |
| 3021 |
the test to constexpr stable_sort. |
| 3022 |
* testsuite/25_algorithms/stable_sort/constexpr.cc: New test. |
| 3023 |
|
| 3024 |
2025-02-25 Giuseppe D'Angelo <[email protected]> |
| 3025 |
|
| 3026 |
* include/bits/c++config (_GLIBCXX26_CONSTEXPR): New macro. |
| 3027 |
|
| 3028 |
2025-02-25 Jonathan Wakely <[email protected]> |
| 3029 |
|
| 3030 |
PR libstdc++/93059 |
| 3031 |
* include/bits/stl_algobase.h (__fill_a1): Fix typo in SFINAE |
| 3032 |
constraint. |
| 3033 |
|
| 3034 |
2025-02-25 François Dumont <[email protected]> |
| 3035 |
|
| 3036 |
* include/bits/hashtable_policy.h |
| 3037 |
(_Hash_code_base::_M_copy_code, _Hash_code_base::_M_store_code): Remove. |
| 3038 |
* include/bits/hashtable.h (_M_hash_code_ext): New. |
| 3039 |
(_M_merge_multi(_Hashtable&)): Use latter. |
| 3040 |
(_M_copy_code): New. |
| 3041 |
(_M_assign): Use latter. |
| 3042 |
(_M_bucket_index_ex): New. |
| 3043 |
(_M_equals): Use latter. |
| 3044 |
(_M_store_code): New. |
| 3045 |
(_M_src_hash_code): Remove key_type parameter. |
| 3046 |
* testsuite/23_containers/unordered_map/modifiers/merge.cc (test10): New |
| 3047 |
test case. |
| 3048 |
|
| 3049 |
2025-02-25 Patrick Palka <[email protected]> |
| 3050 |
|
| 3051 |
PR libstdc++/118083 |
| 3052 |
* include/bits/ranges_base.h |
| 3053 |
(ranges::__access::__possibly_const_range): Adjust logic as per |
| 3054 |
LWG 4027. Add missing input_range constraint. |
| 3055 |
* testsuite/std/ranges/access/cbegin.cc (test05): Verify LWG |
| 3056 |
4027 testcases. |
| 3057 |
* testsuite/std/ranges/access/cdata.cc: Adjust, simplify and |
| 3058 |
consolidate some tests after the above. |
| 3059 |
* testsuite/std/ranges/access/cend.cc: Likewise. |
| 3060 |
* testsuite/std/ranges/access/crbegin.cc: Likewise. |
| 3061 |
* testsuite/std/ranges/access/crend.cc: Likewise. |
| 3062 |
* testsuite/std/ranges/adaptors/join.cc: Likewise. |
| 3063 |
* testsuite/std/ranges/adaptors/take_while.cc: Likewise. |
| 3064 |
* testsuite/std/ranges/adaptors/transform.cc: Likewise. |
| 3065 |
|
| 3066 |
2025-02-22 Jonathan Wakely <[email protected]> |
| 3067 |
|
| 3068 |
PR c++/118981 |
| 3069 |
* src/c++20/tzdb.cc: Use init_priority(98) instead of |
| 3070 |
init_priority(99). |
| 3071 |
|
| 3072 |
2025-02-22 Thomas Schwinge <[email protected]> |
| 3073 |
|
| 3074 |
* testsuite/lib/prune.exp (proc libstdc++-dg-prune): Turn |
| 3075 |
'sorry, unimplemented: dynamic stack allocation not supported' into |
| 3076 |
UNSUPPORTED. |
| 3077 |
|
| 3078 |
2025-02-22 Jonathan Wakely <[email protected]> |
| 3079 |
|
| 3080 |
* include/bits/atomic_base.h (__atomic_base<_ITp>): Remove |
| 3081 |
misleading comment. |
| 3082 |
|
| 3083 |
2025-02-22 Jonathan Wakely <[email protected]> |
| 3084 |
|
| 3085 |
* src/c++17/floating_from_chars.cc (__floating_from_chars_hex): |
| 3086 |
Remove redundant cast. |
| 3087 |
|
| 3088 |
2025-02-20 Jonathan Wakely <[email protected]> |
| 3089 |
|
| 3090 |
PR libstdc++/118559 |
| 3091 |
* include/std/type_traits (rank, rank_v): Do not use |
| 3092 |
__array_rank for Clang 19 and older. |
| 3093 |
|
| 3094 |
2025-02-20 Jonathan Wakely <[email protected]> |
| 3095 |
|
| 3096 |
* include/bits/c++config (_GLIBCXX_HAS_BUILTIN): Add parentheses. |
| 3097 |
|
| 3098 |
2025-02-20 Jonathan Wakely <[email protected]> |
| 3099 |
|
| 3100 |
PR libstdc++/118855 |
| 3101 |
* include/std/bit (__count_lzero, __count_rzero, __popcount): |
| 3102 |
Use type-generic built-ins when available. |
| 3103 |
|
| 3104 |
2025-02-20 Jonathan Wakely <[email protected]> |
| 3105 |
|
| 3106 |
* include/experimental/bits/simd.h (__find_next_valid_abi): Cast |
| 3107 |
__bit_ceil argument to unsigned. |
| 3108 |
* src/c++17/floating_from_chars.cc (__floating_from_chars_hex): |
| 3109 |
Cast __bit_ceil argument to unsigned. |
| 3110 |
* src/c++17/memory_resource.cc (big_block): Cast __bit_width |
| 3111 |
argument to unsigned. |
| 3112 |
|
| 3113 |
2025-02-20 Jonathan Wakely <[email protected]> |
| 3114 |
|
| 3115 |
* src/c++17/memory_resource.cc (default_res): Define here |
| 3116 |
instead of including default_resource.h. |
| 3117 |
* src/c++98/globals_io.cc (__ioinit): Define here instead of |
| 3118 |
including ios_base_init.h. |
| 3119 |
* src/c++17/default_resource.h: Removed. |
| 3120 |
* src/c++98/ios_base_init.h: Removed. |
| 3121 |
|
| 3122 |
2025-02-20 Jonathan Wakely <[email protected]> |
| 3123 |
|
| 3124 |
PR libstdc++/118811 |
| 3125 |
* src/c++20/tzdb.cc (tzdb_list::_Node): Use init_priority |
| 3126 |
attribute on static data members. |
| 3127 |
* testsuite/std/time/tzdb_list/pr118811.cc: New test. |
| 3128 |
|
| 3129 |
2025-02-20 Patrick Palka <[email protected]> |
| 3130 |
|
| 3131 |
* include/std/ranges (concat_view::iterator): Rename to ... |
| 3132 |
(concat_view::_Iterator): ... this throughout. |
| 3133 |
|
| 3134 |
2025-02-20 Patrick Palka <[email protected]> |
| 3135 |
|
| 3136 |
PR libstdc++/115209 |
| 3137 |
* include/bits/version.def (ranges_concat): Depend on |
| 3138 |
__cpp_pack_indexing. |
| 3139 |
* include/bits/version.h: Regenerate. |
| 3140 |
* include/std/ranges (__detail::__last_is_common): Remove. |
| 3141 |
(__detail::__all_but_first_sized): New. |
| 3142 |
(concat_view::end): Use C++26 pack indexing instead of |
| 3143 |
__last_is_common as per R8 of P2542. |
| 3144 |
(concat_view::iterator::operator-): Update constraints on |
| 3145 |
iter/sent overloads as per R8 of P2542. |
| 3146 |
|
| 3147 |
2025-02-15 Jonathan Wakely <[email protected]> |
| 3148 |
|
| 3149 |
* include/bits/shared_ptr_base.h: Do not include <bit>. |
| 3150 |
|
| 3151 |
2025-02-15 Jonathan Wakely <[email protected]> |
| 3152 |
|
| 3153 |
PR libstdc++/100612 |
| 3154 |
* include/std/thread (__pmf_expects_stop_token): Constrain |
| 3155 |
variable template specialization with concept. Add comment. |
| 3156 |
|
| 3157 |
2025-02-15 Jonathan Wakely <[email protected]> |
| 3158 |
|
| 3159 |
* include/bits/range_access.h (rbegin, rend, crbegin, crend): |
| 3160 |
Add conditional noexcept, as per P3623R0. |
| 3161 |
* testsuite/24_iterators/headers/iterator/range_access.cc: Add |
| 3162 |
noexcept-specifier to rbegin, rend, crbegin and crend |
| 3163 |
declarations. |
| 3164 |
|
| 3165 |
2025-02-15 Jonathan Wakely <[email protected]> |
| 3166 |
|
| 3167 |
* testsuite/24_iterators/headers/iterator/range_access_c++11.cc: |
| 3168 |
Removed. |
| 3169 |
* testsuite/24_iterators/headers/iterator/range_access_c++14.cc: |
| 3170 |
Removed. |
| 3171 |
* testsuite/24_iterators/headers/iterator/range_access_c++17.cc: |
| 3172 |
Removed. |
| 3173 |
* testsuite/24_iterators/headers/iterator/range_access.cc: |
| 3174 |
New test. |
| 3175 |
|
| 3176 |
2025-02-14 Andrew Pinski <[email protected]> |
| 3177 |
|
| 3178 |
PR libstdc++/118865 |
| 3179 |
* include/bits/stl_list.h (_M_initialize_dispatch): Add an |
| 3180 |
unreachable if the iterator was not empty that the list will |
| 3181 |
now be not empty. |
| 3182 |
|
| 3183 |
2025-02-14 Jonathan Wakely <[email protected]> |
| 3184 |
|
| 3185 |
* include/parallel/algobase.h (__mismatch_switch): Qualify calls |
| 3186 |
to make_pair to avoid ADL. |
| 3187 |
|
| 3188 |
2025-02-14 Jonathan Wakely <[email protected]> |
| 3189 |
|
| 3190 |
* include/bits/stl_tree.h (_Rb_tree::_M_equal_range): Replace |
| 3191 |
unqualified call to make_pair with explicit construction of |
| 3192 |
std::pair. |
| 3193 |
* testsuite/23_containers/set/operations/equal_range_adl.cc: |
| 3194 |
New test. |
| 3195 |
|
| 3196 |
2025-02-14 Matthew Malcomson <[email protected]> |
| 3197 |
Jonathan Wakely <[email protected]> |
| 3198 |
|
| 3199 |
* include/bits/atomic_base.h (__atomic_fetch_addable): Define |
| 3200 |
new concept. |
| 3201 |
(__atomic_impl::__fetch_add_flt): Use new concept to make use of |
| 3202 |
__atomic_fetch_add when available. |
| 3203 |
(__atomic_fetch_subtractable, __fetch_sub_flt): Likewise. |
| 3204 |
(__atomic_add_fetchable, __add_fetch_flt): Likewise. |
| 3205 |
(__atomic_sub_fetchable, __sub_fetch_flt): Likewise. |
| 3206 |
|
| 3207 |
2025-02-08 Thomas Schwinge <[email protected]> |
| 3208 |
|
| 3209 |
* testsuite/lib/prune.exp (libstdc++-dg-prune): Turn |
| 3210 |
'sorry, unimplemented: exception handling not supported' into |
| 3211 |
UNSUPPORTED. |
| 3212 |
|
| 3213 |
2025-02-08 Thomas Schwinge <[email protected]> |
| 3214 |
|
| 3215 |
* testsuite/lib/prune.exp (libstdc++-dg-prune): Clarify |
| 3216 |
effective-target 'exceptions_enabled'. |
| 3217 |
|
| 3218 |
2025-02-07 Giuseppe D'Angelo <[email protected]> |
| 3219 |
|
| 3220 |
PR libstdc++/118160 |
| 3221 |
PR libstdc++/100249 |
| 3222 |
* include/bits/ranges_algo.h (__is_permutation_fn): Avoid a |
| 3223 |
dangling reference by storing the result of the iterator |
| 3224 |
dereference and the result of the projection in two distinct |
| 3225 |
variables, in order to lifetime-extend each one. |
| 3226 |
Forward the projected value to the predicate. |
| 3227 |
* testsuite/25_algorithms/is_permutation/constrained.cc: Add a |
| 3228 |
test with a range returning prvalues. Test it in a constexpr |
| 3229 |
context, in order to rely on the compiler to catch UB. |
| 3230 |
|
| 3231 |
2025-02-07 Jonathan Wakely <[email protected]> |
| 3232 |
|
| 3233 |
* include/bits/ostream.h (basic_ostream::_Disable_exceptions): |
| 3234 |
RAII helper type. |
| 3235 |
(basic_ostream::sentry::~sentry): Use _Disable_exceptions. Add |
| 3236 |
try-catch block around call to pubsync. |
| 3237 |
* testsuite/27_io/basic_ostream/exceptions/char/lwg4188.cc: New |
| 3238 |
test. |
| 3239 |
* testsuite/27_io/basic_ostream/exceptions/wchar_t/lwg4188.cc: |
| 3240 |
New test. |
| 3241 |
|
| 3242 |
2025-02-07 Jonathan Wakely <[email protected]> |
| 3243 |
|
| 3244 |
PR libstdc++/111050 |
| 3245 |
* include/bits/hashtable_policy.h (_Hash_node_value_base): Add |
| 3246 |
comment about always_inline attributes. |
| 3247 |
|
| 3248 |
2025-02-05 Rainer Orth <[email protected]> |
| 3249 |
Jonathan Wakely <[email protected]> |
| 3250 |
|
| 3251 |
PR libstdc++/118701 |
| 3252 |
* config/abi/pre/gnu.ver (CXXABI_1.3.16): Move __riscv guard |
| 3253 |
around version. |
| 3254 |
* scripts/extract_symvers.pl: Allow for weak versions. |
| 3255 |
* testsuite/util/testsuite_abi.cc (check_version): Wrap |
| 3256 |
CXXABI_1.3.16 in __riscv. |
| 3257 |
|
| 3258 |
2025-01-31 Patrick Palka <[email protected]> |
| 3259 |
|
| 3260 |
PR libstdc++/118156 |
| 3261 |
* include/std/flat_map (_Flat_map_impl::_M_insert): Generalized |
| 3262 |
version of insert taking heterogenous iterator/sentinel pair. |
| 3263 |
(_Flat_map_impl::insert): Dispatch to _M_insert. |
| 3264 |
(_Flat_map_impl::insert_range): Likewise. |
| 3265 |
(flat_map): Export _Flat_map_impl::insert_range. |
| 3266 |
(flat_multimap): Likewise. |
| 3267 |
* include/std/flat_set (_Flat_set_impl::insert_range): |
| 3268 |
Reimplement directly, not in terms of insert. |
| 3269 |
(flat_set): Export _Flat_set_impl::insert_range. |
| 3270 |
(flat_multiset): Likewise. |
| 3271 |
* testsuite/23_containers/flat_map/1.cc (test06): New test. |
| 3272 |
* testsuite/23_containers/flat_multimap/1.cc (test06): New test. |
| 3273 |
* testsuite/23_containers/flat_multiset/1.cc (test06): New test. |
| 3274 |
* testsuite/23_containers/flat_set/1.cc (test06): New test. |
| 3275 |
|
| 3276 |
2025-01-31 Patrick Palka <[email protected]> |
| 3277 |
|
| 3278 |
* include/bits/stl_bvector.h (vector<bool>::insert_range): |
| 3279 |
Consistently return an iterator pointing to the first element |
| 3280 |
inserted. |
| 3281 |
* include/bits/vector.tcc (vector::insert_range): Likewise. |
| 3282 |
* testsuite/23_containers/vector/bool/modifiers/insert/insert_range.cc: |
| 3283 |
Verify insert_range return values. |
| 3284 |
* testsuite/23_containers/vector/modifiers/insert/insert_range.cc: |
| 3285 |
Likewise. |
| 3286 |
|
| 3287 |
2025-01-30 Jonathan Wakely <[email protected]> |
| 3288 |
|
| 3289 |
PR libstdc++/98749 |
| 3290 |
* include/std/latch (latch::max()): Ensure the return value is |
| 3291 |
representable as the return type. |
| 3292 |
(latch::latch(ptrdiff_t)): Add assertion. |
| 3293 |
(latch::count_down): Fix copy & pasted duplicate assertion. Use |
| 3294 |
std::cmp_equal to compare __platform_wait_t and ptrdiff_t |
| 3295 |
values. |
| 3296 |
(latch::_M_a): Use defined constant for alignment. |
| 3297 |
* testsuite/30_threads/latch/1.cc: Check max(). Check constant |
| 3298 |
initialization works for values in the valid range. Check |
| 3299 |
alignment. |
| 3300 |
|
| 3301 |
2025-01-29 Patrick Palka <[email protected]> |
| 3302 |
|
| 3303 |
PR libstdc++/118413 |
| 3304 |
* include/std/ranges (views::__adaptor::_Partial): Adjust |
| 3305 |
constraints on the "simple" partial specializations to require |
| 3306 |
is_trivially_copy_constructible_v instead of |
| 3307 |
is_trivially_copyable_v. |
| 3308 |
* testsuite/std/ranges/adaptors/adjacent_transform/1.cc (test04): |
| 3309 |
Extend P2494R2 test. |
| 3310 |
* testsuite/std/ranges/adaptors/transform.cc (test09): Likewise. |
| 3311 |
|
| 3312 |
2025-01-27 Andreas Schwab <[email protected]> |
| 3313 |
|
| 3314 |
PR libstdc++/118563 |
| 3315 |
* testsuite/util/testsuite_abi.cc (check_version): Add |
| 3316 |
CXXABI_1.3.16. |
| 3317 |
* config/abi/pre/gnu.ver (CXXABI_1.3.14) [__riscv]: Exclude |
| 3318 |
typeinfo for bfloat16_t. |
| 3319 |
(CXXABI_1.3.16) [__riscv]: Add it here. |
| 3320 |
|
| 3321 |
2025-01-23 Jan Hubicka <[email protected]> |
| 3322 |
|
| 3323 |
PR target/80813 |
| 3324 |
* include/bits/stl_bvector.h (vector<bool, _Alloc>::operator []): Do |
| 3325 |
not use iterators. |
| 3326 |
|
| 3327 |
2025-01-20 Giuseppe D'Angelo <[email protected]> |
| 3328 |
|
| 3329 |
PR libstdc++/118185 |
| 3330 |
PR libstdc++/100249 |
| 3331 |
* include/bits/ranges_algo.h (__clamp_fn): Correctly forward the |
| 3332 |
projected value to the comparator. |
| 3333 |
* testsuite/25_algorithms/clamp/118185.cc: New test. |
| 3334 |
|
| 3335 |
2025-01-16 Jonathan Wakely <[email protected]> |
| 3336 |
|
| 3337 |
PR libstdc++/99995 |
| 3338 |
* include/Makefile.am: Add new header. |
| 3339 |
* include/Makefile.in: Regenerate. |
| 3340 |
* include/bits/unique_ptr.h: Include bits/ostream.h instead of |
| 3341 |
ostream. |
| 3342 |
* include/std/ostream: Include new header. |
| 3343 |
* include/bits/ostream.h: New file. |
| 3344 |
|
| 3345 |
2025-01-16 Jonathan Wakely <[email protected]> |
| 3346 |
|
| 3347 |
PR libstdc++/118158 |
| 3348 |
* src/c++17/fs_ops.cc (fs::equivalent): Remove error reporting |
| 3349 |
for is_other(s1) && is_other(s2) case, as per LWG 2937. |
| 3350 |
* testsuite/27_io/filesystem/operations/pr118158.cc: New test. |
| 3351 |
|
| 3352 |
2025-01-16 Jonathan Wakely <[email protected]> |
| 3353 |
|
| 3354 |
* include/bits/stl_map.h: Check __glibcxx_node_extract instead |
| 3355 |
of __cplusplus. |
| 3356 |
* include/bits/stl_multimap.h: Likewise. |
| 3357 |
* include/bits/stl_multiset.h: Likewise. |
| 3358 |
* include/bits/stl_set.h: Likewise. |
| 3359 |
* include/bits/stl_tree.h: Likewise. |
| 3360 |
|
| 3361 |
2025-01-15 Jonathan Wakely <[email protected]> |
| 3362 |
|
| 3363 |
* testsuite/27_io/ios_base/types/openmode/case_label.cc: Use |
| 3364 |
standard feature test macro not internal one. |
| 3365 |
|
| 3366 |
2025-01-15 Jonathan Wakely <[email protected]> |
| 3367 |
|
| 3368 |
* testsuite/23_containers/set/requirements/explicit_instantiation/alloc_ptr.cc: |
| 3369 |
Guard node extraction checks with feature test macro. Remove |
| 3370 |
calls to non-existent range members. |
| 3371 |
* testsuite/23_containers/forward_list/requirements/explicit_instantiation/alloc_ptr.cc: |
| 3372 |
Use standard macro not internal one. |
| 3373 |
* testsuite/23_containers/list/requirements/explicit_instantiation/alloc_ptr.cc: |
| 3374 |
Likewise. |
| 3375 |
|
| 3376 |
2025-01-15 Jonathan Wakely <[email protected]> |
| 3377 |
|
| 3378 |
PR libstdc++/109849 |
| 3379 |
* include/bits/vector.tcc (vector::_M_range_insert): Fix |
| 3380 |
reversed args in length calculation. |
| 3381 |
|
| 3382 |
2025-01-15 Jonathan Wakely <[email protected]> |
| 3383 |
|
| 3384 |
* testsuite/28_regex/traits/char/transform_primary.cc: Fix |
| 3385 |
subclause numbering in references to the standard. |
| 3386 |
|
| 3387 |
2025-01-15 Jakub Jelinek <[email protected]> |
| 3388 |
|
| 3389 |
PR c++/118387 |
| 3390 |
* testsuite/25_algorithms/default_template_value.cc |
| 3391 |
(Input::operator<=>): Use auto as return type rather than bool. |
| 3392 |
|
| 3393 |
2025-01-12 Torbjörn SVENSSON <[email protected]> |
| 3394 |
|
| 3395 |
* testsuite/27_io/print/1.cc: Allow both LF and CRLF in test. |
| 3396 |
* testsuite/27_io/print/3.cc: Likewise. |
| 3397 |
|
| 3398 |
2025-01-12 Torbjörn SVENSSON <[email protected]> |
| 3399 |
|
| 3400 |
* testsuite/29_atomics/atomic_float/compare_exchange_padding.cc: |
| 3401 |
Use effective-target libatomic_available. |
| 3402 |
|
| 3403 |
2025-01-10 Jonathan Wakely <[email protected]> |
| 3404 |
|
| 3405 |
* include/bits/atomic_futex.h (__atomic_futex_unsigned): Remove |
| 3406 |
names of unused parameters in non-futex implementation. |
| 3407 |
|
| 3408 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3409 |
|
| 3410 |
* include/bits/move.h (__addressof, forward, forward_like, move) |
| 3411 |
(move_if_noexcept, addressof): Add always_inline attribute. |
| 3412 |
Replace _GLIBCXX_NODISCARD with [[__nodiscard__]]. |
| 3413 |
|
| 3414 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3415 |
|
| 3416 |
PR libstdc++/118260 |
| 3417 |
* python/hook.in: Run 'skip' commands for some simple accessor |
| 3418 |
functions. |
| 3419 |
|
| 3420 |
2025-01-08 Nicolas Werner <[email protected]> |
| 3421 |
|
| 3422 |
PR libstdc++/106852 |
| 3423 |
* src/c++23/std.cc.in (to_underlying): Add. |
| 3424 |
|
| 3425 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3426 |
|
| 3427 |
PR libstdc++/118177 |
| 3428 |
* src/c++23/std-clib.cc.in: Use preprocessor conditions for |
| 3429 |
names which are not always defined. |
| 3430 |
* src/c++23/std.cc.in: Likewise. |
| 3431 |
|
| 3432 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3433 |
|
| 3434 |
* include/std/span: Fix indentation. |
| 3435 |
|
| 3436 |
2025-01-08 Giuseppe D'Angelo <[email protected]> |
| 3437 |
|
| 3438 |
* include/bits/version.def: Add the new feature-testing macro. |
| 3439 |
* include/bits/version.h: Regenerate. |
| 3440 |
* include/std/span: Add constructor from initializer_list. |
| 3441 |
* testsuite/23_containers/span/init_list_cons.cc: New test. |
| 3442 |
* testsuite/23_containers/span/init_list_cons_neg.cc: New test. |
| 3443 |
|
| 3444 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3445 |
|
| 3446 |
* include/std/span (__detail::__extent_storage): Check |
| 3447 |
precondition in constructor. Add consteval constructor for valid |
| 3448 |
lengths and deleted constructor for invalid constant lengths. |
| 3449 |
Make member functions always_inline. |
| 3450 |
(__detail::__span_ptr): New class template. |
| 3451 |
(span): Adjust constructors to use a std::integral_constant |
| 3452 |
value for constant lengths. Declare all specializations of |
| 3453 |
std::span as friends. |
| 3454 |
(span::first<C>, span::last<C>, span::subspan<O,C>): Use new |
| 3455 |
private constructor. |
| 3456 |
(span(__span_ptr<T>)): New private constructor for constant |
| 3457 |
lengths. |
| 3458 |
|
| 3459 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3460 |
|
| 3461 |
PR libstdc++/85824 |
| 3462 |
PR libstdc++/94409 |
| 3463 |
PR libstdc++/98723 |
| 3464 |
PR libstdc++/118105 |
| 3465 |
* include/bits/locale_classes.tcc (collate::do_transform): Check |
| 3466 |
errno after calling _M_transform. Use RAII type to manage the |
| 3467 |
buffer and to restore errno. |
| 3468 |
* include/bits/regex.h (regex_traits::transform_primary): Handle |
| 3469 |
exceptions from std::collate::transform and do not try to use |
| 3470 |
std::collate for user-defined facets. |
| 3471 |
|
| 3472 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3473 |
|
| 3474 |
PR libstdc++/118093 |
| 3475 |
* include/bits/atomic_futex.h (_M_load_and_test_until_impl): |
| 3476 |
Return false for times before the epoch. |
| 3477 |
* src/c++11/futex.cc (_M_futex_wait_until): Extend check for |
| 3478 |
negative times to check for subsecond times. Add unlikely |
| 3479 |
attribute. |
| 3480 |
(_M_futex_wait_until_steady): Likewise. |
| 3481 |
* testsuite/30_threads/future/members/118093.cc: New test. |
| 3482 |
|
| 3483 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3484 |
|
| 3485 |
PR libstdc++/90389 |
| 3486 |
* include/bits/deque.tcc (_M_insert_aux): Rename variadic |
| 3487 |
overload to _M_emplace_aux. |
| 3488 |
* include/bits/stl_deque.h (_M_insert_aux): Define inline. |
| 3489 |
(_M_emplace_aux): Declare. |
| 3490 |
* testsuite/23_containers/deque/modifiers/emplace/90389.cc: New |
| 3491 |
test. |
| 3492 |
|
| 3493 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3494 |
|
| 3495 |
* include/bits/move.h (forward, move, move_if_noexcept, addressof): |
| 3496 |
Add @since to Doxygen comments. |
| 3497 |
(forward_like): Add Doxygen comment. |
| 3498 |
|
| 3499 |
2025-01-08 Jonathan Wakely <[email protected]> |
| 3500 |
|
| 3501 |
* doc/xml/manual/evolution.xml: Replace invalid <variable> |
| 3502 |
elements with <varname>. |
| 3503 |
* doc/html/*: Regenerate. |
| 3504 |
|
| 3505 |
2025-01-01 Gerald Pfeifer <[email protected]> |
| 3506 |
|
| 3507 |
* doc/html/manual/profile_mode.html: Delete. |
| 3508 |
* doc/html/manual/profile_mode_api.html: Ditto. |
| 3509 |
* doc/html/manual/profile_mode_cost_model.html: Ditto. |
| 3510 |
* doc/html/manual/profile_mode_design.html: Ditto. |
| 3511 |
* doc/html/manual/profile_mode_devel.html: Ditto. |
| 3512 |
* doc/html/manual/profile_mode_impl.html: Ditto. |
| 3513 |
|
| 3514 |
Copyright (C) 2025 Free Software Foundation, Inc. |
| 3515 |
|
| 3516 |
Copying and distribution of this file, with or without modification, |
| 3517 |
are permitted in any medium without royalty provided the copyright |
| 3518 |
notice and this notice are preserved. |