]>
Commit | Line | Data |
---|---|---|
f0706819 GA |
1 | 2024-01-29 François Dumont <fdumont@gcc.gnu.org> |
2 | ||
3 | * doc/xml/manual/debug_mode.xml: Link against libstdc++exp.a to use | |
4 | _GLIBCXX_DEBUG_BACKTRACE macro. | |
5 | ||
2a9637b2 GA |
6 | 2024-01-24 Huanghui Nie <nnnjkk@gmail.com> |
7 | Théo Papadopoulo <papadopoulo@gmail.com> | |
8 | ||
9 | * include/bits/hashtable.h (_Hahstable<>::_M_remove_bucket_begin): Remove | |
10 | _M_before_begin check and cleanup implementation. | |
11 | ||
e2d1f858 GA |
12 | 2024-01-22 Jonathan Wakely <jwakely@redhat.com> |
13 | ||
14 | * testsuite/std/time/clock/file/io.cc: Fix expected result in | |
15 | assertion and call test_format() from main. | |
16 | ||
d9ed3ac2 GA |
17 | 2024-01-21 Jonathan Wakely <jwakely@redhat.com> |
18 | ||
19 | PR libstdc++/113500 | |
20 | * include/bits/chrono_io.h (__formatter_chrono::_M_S): Fix | |
21 | printing of subseconds with floating-point rep. | |
22 | (__formatter_chrono::_M_format_to_ostream): Do not write | |
23 | time_point specializations directly to the ostream. | |
24 | (formatter<chrono::sys_time<D>, C>::parse): Do not allow an | |
25 | empty chrono-spec if the type fails to meet the constraints for | |
26 | writing to an ostream with operator<<. | |
27 | * testsuite/std/time/clock/file/io.cc: Check formatting | |
28 | non-integral times with empty chrono-specs. | |
29 | * testsuite/std/time/clock/gps/io.cc: Likewise. | |
30 | * testsuite/std/time/clock/utc/io.cc: Likewise. | |
31 | * testsuite/std/time/hh_mm_ss/io.cc: Likewise. | |
32 | ||
33 | 2024-01-21 Jonathan Wakely <jwakely@redhat.com> | |
34 | ||
35 | * include/bits/chrono.h (__file_clock::from_sys) | |
36 | (__file_clock::to_sys, __file_clock::_S_from_sys) | |
37 | (__file_clock::_S_to_sys): Use common_type for return type. | |
38 | * testsuite/std/time/clock/file/members.cc: Check round trip | |
39 | conversion for time with lower precision that seconds. | |
40 | ||
41 | 2024-01-21 Jonathan Wakely <jwakely@redhat.com> | |
42 | ||
43 | PR libstdc++/113512 | |
44 | * include/std/format (__formatter_fp::format): Fix logic for | |
45 | alternate forms. | |
46 | * testsuite/std/format/functions/format.cc: Check buggy cases of | |
47 | alternate forms with g presentation type. | |
48 | ||
11a5f26c GA |
49 | 2024-01-20 Marek Polacek <polacek@redhat.com> |
50 | ||
51 | PR c++/111410 | |
52 | * include/std/ranges: Add #pragma to disable -Wdangling-reference with | |
53 | std::ranges::views::__adaptor::operator|. | |
54 | ||
c2544854 GA |
55 | 2024-01-19 Jonathan Wakely <jwakely@redhat.com> |
56 | ||
57 | * include/std/format (_Spec::_M_parse_fill_and_align): Do not | |
58 | use CTAD for _Utf32_view. | |
59 | ||
60 | 2024-01-19 Jonathan Wakely <jwakely@redhat.com> | |
61 | ||
62 | PR libstdc++/108822 | |
63 | * include/std/tuple (__glibcxx_no_dangling_refs) [C++17]: Fix | |
64 | wrong fold-operator. | |
65 | * testsuite/20_util/tuple/dangling_ref.cc: Check tuples with one | |
66 | element and three elements. Check allocator-extended | |
67 | constructors. | |
68 | ||
69 | 2024-01-19 Patrick Palka <ppalka@redhat.com> | |
70 | ||
71 | * include/precompiled/stdc++.h [_GLIBCXX_HOSTED]: Include | |
72 | <print> and <text_encoding> for C++23 and C++26 respectively. | |
73 | ||
bb0f96ab GA |
74 | 2024-01-18 Patrick Palka <ppalka@redhat.com> |
75 | ||
76 | * include/bits/stl_pair.h [__cplusplus > 202002L]: | |
77 | Guard P2321R2 changes with __glibcxx_ranges_zip instead. | |
78 | ||
79 | 2024-01-18 Patrick Palka <ppalka@redhat.com> | |
80 | ||
81 | * include/std/tuple [__cplusplus > 202002L]: Guard P2321R2 | |
82 | changes with __cpp_lib_ranges_zip instead. | |
83 | ||
84 | 2024-01-18 Patrick Palka <ppalka@redhat.com> | |
85 | ||
86 | PR libstdc++/109536 | |
87 | * include/debug/safe_base.h (_Safe_sequence_base::_M_swap): | |
88 | Remove _GLIBCXX20_CONSTEXPR from non-inline member function. | |
89 | * include/debug/safe_iterator.h | |
90 | (_GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_BEGIN): Define. | |
91 | (_GLIBCXX20_CONSTEXPR_NON_LITERAL_SCOPE_END): Define. | |
92 | (_Safe_iterator::operator=): Use them around the code path that | |
93 | defines a variable of type __gnu_cxx::__scoped_lock. | |
94 | (_Safe_iterator::operator++): Likewise. | |
95 | (_Safe_iterator::operator--): Likewise. | |
96 | (_Safe_iterator::operator+=): Likewise. | |
97 | (_Safe_iterator::operator-=): Likewise. | |
98 | * testsuite/23_containers/vector/element_access/constexpr.cc | |
99 | (test_iterators): Test more iterator operations. | |
100 | * testsuite/23_containers/vector/bool/element_access/constexpr.cc | |
101 | (test_iterators): Likewise. | |
102 | * testsuite/std/ranges/adaptors/all.cc (test08) [_GLIBCXX_DEBUG]: | |
103 | Remove. | |
104 | ||
105 | 2024-01-18 Jonathan Wakely <jwakely@redhat.com> | |
106 | ||
107 | * include/bits/unicode.h (__charset_alias_match): Initialize | |
108 | __var_a and __var_b. | |
109 | ||
110 | 2024-01-18 Jonathan Wakely <jwakely@redhat.com> | |
111 | ||
112 | PR libstdc++/113450 | |
113 | * testsuite/std/format/functions/format.cc: Use signed char | |
114 | instead of int8_t. | |
115 | ||
2c213ac9 GA |
116 | 2024-01-17 Jonathan Wakely <jwakely@redhat.com> |
117 | ||
118 | PR libstdc++/113318 | |
119 | * acinclude.m4 (GLIBCXX_CONFIGURE): Add c++26 directory. | |
120 | (GLIBCXX_CHECK_TEXT_ENCODING): Define. | |
121 | * config.h.in: Regenerate. | |
122 | * configure: Regenerate. | |
123 | * configure.ac: Use GLIBCXX_CHECK_TEXT_ENCODING. | |
124 | * include/Makefile.am: Add new headers. | |
125 | * include/Makefile.in: Regenerate. | |
126 | * include/bits/locale_classes.h (locale::encoding): Declare new | |
127 | member function. | |
128 | * include/bits/unicode.h (__charset_alias_match): New function. | |
129 | * include/bits/text_encoding-data.h: New file. | |
130 | * include/bits/version.def (text_encoding): Define. | |
131 | * include/bits/version.h: Regenerate. | |
132 | * include/std/text_encoding: New file. | |
133 | * src/Makefile.am: Add new subdirectory. | |
134 | * src/Makefile.in: Regenerate. | |
135 | * src/c++26/Makefile.am: New file. | |
136 | * src/c++26/Makefile.in: New file. | |
137 | * src/c++26/text_encoding.cc: New file. | |
138 | * src/experimental/Makefile.am: Include c++26 convenience | |
139 | library. | |
140 | * src/experimental/Makefile.in: Regenerate. | |
141 | * python/libstdcxx/v6/printers.py (StdTextEncodingPrinter): New | |
142 | printer. | |
143 | * scripts/gen_text_encoding_data.py: New file. | |
144 | * testsuite/22_locale/locale/encoding.cc: New test. | |
145 | * testsuite/ext/unicode/charset_alias_match.cc: New test. | |
146 | * testsuite/std/text_encoding/cons.cc: New test. | |
147 | * testsuite/std/text_encoding/members.cc: New test. | |
148 | * testsuite/std/text_encoding/requirements.cc: New test. | |
149 | ||
150 | 2024-01-17 Jonathan Wakely <jwakely@redhat.com> | |
151 | ||
152 | * include/bits/unicode.h (_Grapheme_cluster_view): Require view. | |
153 | Do not use CTAD for _Utf32_view. | |
154 | (__format_width, __truncate): Do not use CTAD. | |
155 | (enable_borrowed_range<_Utf_view<T, R>>): Define specialization. | |
156 | (enable_borrowed_range<_Grapheme_cluster_view<R>>): Likewise. | |
157 | ||
158 | 2024-01-17 Patrick Palka <ppalka@redhat.com> | |
159 | ||
160 | * include/std/ranges (views::_CartesianProduct::operator()): | |
161 | Adjust identity case as per P2540R1. | |
162 | * testsuite/std/ranges/cartesian_product/1.cc (test01): | |
163 | Adjust expected result of the identity case. | |
164 | ||
be035ec4 GA |
165 | 2024-01-15 Patrick Palka <ppalka@redhat.com> |
166 | ||
167 | * include/std/variant (__detail::__variant::_Variadic_union): | |
168 | Add bool __trivially_destructible template parameter. | |
169 | (__detail::__variant::_Variadic_union::~_Variadic_union): | |
170 | Use __trivially_destructible in constraints instead. | |
171 | (__detail::__variant::_Variant_storage): Pass | |
172 | __trivially_destructible value to _Variadic_union. | |
173 | ||
174 | 2024-01-15 Patrick Palka <ppalka@redhat.com> | |
175 | ||
176 | * include/bits/stl_iterator.h (const_iterator): Define conversion | |
177 | operators as per P2836R1. | |
178 | * include/bits/version.def (ranges_as_const): Update value. | |
179 | * include/bits/version.h: Regenerate. | |
180 | * testsuite/24_iterators/const_iterator/1.cc (test04): New test. | |
181 | * testsuite/std/ranges/adaptors/as_const/1.cc: Adjust expected | |
182 | value of __cpp_lib_ranges_as_const. | |
183 | * testsuite/std/ranges/version_c++23.cc: Likewise. | |
184 | ||
185 | 2024-01-15 Jonathan Wakely <jwakely@redhat.com> | |
186 | ||
187 | PR libstdc++/108822 | |
188 | * include/std/tuple (__assignable, __is_nothrow_assignable): | |
189 | Move pre-C++20 definitions adjacent to their use. | |
190 | ||
191 | 2024-01-15 Jonathan Wakely <jwakely@redhat.com> | |
192 | ||
193 | PR testsuite/113366 | |
194 | * include/std/format (basic_format_arg): Use __formattable | |
195 | variable template instead of __format::__formattable_with | |
196 | concept. | |
197 | ||
198 | 2024-01-15 Jonathan Wakely <jwakely@redhat.com> | |
199 | ||
200 | * src/c++20/tzdata.zi: Import new file from 2023d release. | |
201 | * src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds) | |
202 | Update expiry date for leap seconds list. | |
203 | ||
ed5bf208 GA |
204 | 2024-01-13 Jonathan Wakely <jwakely@redhat.com> |
205 | ||
206 | PR libstdc++/108822 | |
207 | * include/std/tuple (tuple): Add checks for dangling references. | |
208 | Reimplement constraints and constant expressions using C++20 | |
209 | features. | |
210 | * include/std/type_traits [C++20] | |
211 | (__is_implicitly_default_constructible_v): Define. | |
212 | (__is_implicitly_default_constructible): Use variable template. | |
213 | * testsuite/20_util/tuple/dangling_ref.cc: New test. | |
214 | ||
215 | 2024-01-13 Patrick Palka <ppalka@redhat.com> | |
216 | ||
217 | PR libstdc++/108827 | |
218 | PR libstdc++/111327 | |
219 | * include/bits/version.def (bind_back): Define. | |
220 | * include/bits/version.h: Regenerate. | |
221 | * include/std/functional (_Bind_back): Define for C++23. | |
222 | (bind_back): Likewise. | |
223 | * testsuite/20_util/function_objects/bind_back/1.cc: New test | |
224 | (adapted from corresponding bind_front test). | |
225 | * testsuite/20_util/function_objects/bind_back/111327.cc: Likewise. | |
226 | ||
227 | 2024-01-13 Patrick Palka <ppalka@redhat.com> | |
228 | ||
229 | * include/std/functional (_Bind_front): Remove =default special | |
230 | member function declarations. | |
231 | (_Bind_front::operator()): Implement using C++23 deducing this | |
232 | when available. | |
233 | * testsuite/20_util/function_objects/bind_front/111327.cc: | |
234 | Adjust testcase to expect better errors in C++23 mode. | |
235 | ||
236 | 2024-01-13 Patrick Palka <ppalka@redhat.com> | |
237 | ||
238 | * include/std/ranges (views::__adaptor::operator|): Perform | |
239 | perfect forwarding of arguments. | |
240 | (views::__adaptor::_RangeAdaptor::operator()): Pass dummy | |
241 | first argument to _Partial. | |
242 | (views::__adaptor::_Partial::_Partial): Likewise. Add dummy | |
243 | first parameter. | |
244 | (views::__adaptor::_Pipe::_Pipe): Perform perfect forwarding | |
245 | of arguments. | |
246 | (to): Pass dummy first argument to _Partial. | |
247 | ||
444a31f3 GA |
248 | 2024-01-13 Jonathan Wakely <jwakely@redhat.com> |
249 | ||
250 | PR libstdc++/107466 | |
251 | * include/bits/random.tcc (subtract_with_carry_engine::seed): | |
252 | Implement proposed resolution of LWG 4014. | |
253 | * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error | |
254 | line number. | |
255 | * testsuite/26_numerics/random/subtract_with_carry_engine/cons/lwg3809.cc: | |
256 | Check for expected result of 64-bit engine with seed that | |
257 | doesn't fit in 32-bits. | |
258 | ||
259 | 2024-01-12 Jonathan Wakely <jwakely@redhat.com> | |
260 | ||
261 | PR libstdc++/113320 | |
262 | * include/std/format (__format::_Runtime_format_string): Add | |
263 | constructor and disable copy operations. | |
264 | (basic_format_string(_Runtime_format_string)): Add noexcept and | |
265 | take parameter by value not rvalue reference. | |
266 | (runtime_format): Add noexcept. | |
267 | * testsuite/std/format/runtime_format.cc: Check noexcept. Check | |
268 | that construction is only possible from prvalues, not xvalues. | |
269 | ||
270 | 2024-01-12 Jonathan Wakely <jwakely@redhat.com> | |
271 | ||
272 | PR libstdc++/105505 | |
273 | * include/bits/stl_pair.h (pair::pair(U1&&, U2&&)) [C++23]: Add | |
274 | default template arguments, as per P1951R1. | |
275 | * testsuite/20_util/pair/cons/default_tmpl_args.cc: New test. | |
276 | ||
277 | 2024-01-12 Jonathan Wakely <jwakely@redhat.com> | |
278 | ||
279 | * include/std/format (__format::_Arg_store): Fix PR number in | |
280 | comment. Simplify preprocessor code. | |
281 | ||
1a80e955 GA |
282 | 2024-01-11 Jonathan Wakely <jwakely@redhat.com> |
283 | ||
284 | * doc/xml/manual/evolution.xml: Fix spelling. | |
285 | * doc/html/manual/api.html: Regenerate. | |
286 | ||
287 | 2024-01-11 Jonathan Wakely <jwakely@redhat.com> | |
288 | ||
289 | * doc/xml/manual/evolution.xml: Document addition of | |
290 | libstdc++exp.a. | |
291 | * doc/html/*: Regenerate. | |
292 | ||
293 | 2024-01-11 Marcus Haehnel <marcus.haehnel@kernkonzept.com> | |
294 | ||
295 | * libsupc++/eh_unex_handler.cc: Adjust definition type to | |
296 | declaration. | |
297 | ||
298 | 2024-01-11 Michael Levine <mlevine55@bloomberg.net> | |
299 | ||
300 | * include/std/ranges (__glibcxx_want_ranges_iota): Remove | |
301 | duplicate definition. | |
302 | ||
303 | 2024-01-11 François Dumont <fdumont@gcc.gnu.org> | |
304 | ||
305 | PR libstdc++/112477 | |
306 | * src/c++11/debug.cc | |
307 | (_Safe_iterator_base::_M_attach): Reset _M_version to 0 if attaching to null | |
308 | sequence. | |
309 | (_Safe_iterator_base::_M_attach_single): Likewise. | |
310 | (_Safe_local_iterator_base::_M_attach): Likewise. | |
311 | (_Safe_local_iterator_base::_M_attach_single): Likewise. | |
312 | * testsuite/23_containers/map/debug/112477.cc: New test case. | |
313 | ||
314 | 2024-01-11 Patrick Palka <ppalka@redhat.com> | |
315 | ||
316 | * include/bits/move.h (__like_t): Define in C++23 mode. | |
317 | * include/std/ranges (views::__adaptor::Partial::operator()): | |
318 | Implement using C++23 deducing this when available. | |
319 | (views::__adaptor::_Pipe::operator()): Likewise. | |
320 | * testsuite/std/ranges/adaptors/100577.cc: Adjust testcase to | |
321 | accept new "no match for call" errors issued in C++23 mode. | |
322 | * testsuite/std/ranges/adaptors/lazy_split_neg.cc: Likewise. | |
323 | ||
324 | 2024-01-11 Jonathan Wakely <jwakely@redhat.com> | |
325 | ||
326 | * python/libstdcxx/v6/printers.py (StdIntegralConstantPrinter): | |
327 | Add printer for std::integral_constant. | |
328 | * testsuite/libstdc++-prettyprinters/cxx11.cc: Test it. | |
329 | ||
330 | 2024-01-11 Jonathan Wakely <jwakely@redhat.com> | |
331 | ||
332 | PR libstdc++/113258 | |
333 | * libsupc++/new_opa.cc: Prefer to use posix_memalign if | |
334 | available. | |
335 | ||
336 | 2024-01-11 Ken Matsui <kmatsui@gcc.gnu.org> | |
337 | ||
338 | * src/filesystem/ops-common.h (stat_type): Use using. | |
339 | ||
340 | 2024-01-11 Ken Matsui <kmatsui@gcc.gnu.org> | |
341 | ||
342 | PR libstdc++/113250 | |
343 | * src/c++17/fs_ops.cc (fs::equivalent): Use || instead of &&. | |
344 | * src/filesystem/ops.cc (fs::equivalent): Likewise. | |
345 | * testsuite/27_io/filesystem/operations/equivalent.cc: Handle | |
346 | error codes. | |
347 | * testsuite/experimental/filesystem/operations/equivalent.cc: | |
348 | Likewise. | |
349 | ||
350 | 2024-01-11 Ken Matsui <kmatsui@gcc.gnu.org> | |
351 | ||
352 | * include/std/type_traits (is_compound): Do not use __not_. | |
353 | (is_compound_v): Use is_fundamental_v instead. | |
354 | ||
45af8962 GA |
355 | 2024-01-11 Patrick Palka <ppalka@redhat.com> |
356 | ||
357 | * include/bits/utility.h (_Nth_type): Use | |
358 | _GLIBCXX_USE_BUILTIN_TRAIT instead of __has_builtin. | |
359 | ||
73ce73fc GA |
360 | 2024-01-09 Jonathan Wakely <jwakely@redhat.com> |
361 | ||
362 | * include/bits/unicode-data.h: Regenerate. | |
363 | * include/bits/unicode.h (_Utf_iterator::operator++()): Fix off | |
364 | by one error. | |
365 | (__incb_property): Add missing check for values before the | |
366 | first edge. | |
367 | (__is_extended_pictographic): Invert return values to fix | |
368 | copy&pasted logic. | |
369 | (_Grapheme_cluster_view::_Iterator): Remove second iterator | |
370 | member and find end of cluster lazily. | |
371 | * testsuite/ext/unicode/grapheme_view.cc: New test. | |
372 | * testsuite/ext/unicode/properties.cc: New test. | |
373 | * testsuite/ext/unicode/view.cc: New test. | |
374 | ||
375 | 2024-01-09 Andreas Schwab <schwab@linux-m68k.org> | |
376 | ||
377 | * scripts/extract_symvers.in: Require final colon to only match | |
378 | .dsynsym in the header of the dynamic symtab. | |
379 | ||
380 | 2024-01-09 Jonathan Wakely <jwakely@redhat.com> | |
381 | ||
382 | * include/bits/chrono_io.h (__formatter_chrono::_M_F): Simplify | |
383 | handling of string returned from std::format. | |
384 | (__formatter_chrono::_M_R_T): Likewise. | |
385 | ||
6b1d6a2d GA |
386 | 2024-01-08 Jonathan Wakely <jwakely@redhat.com> |
387 | ||
388 | * include/bits/unicode.h (__null_sentinel): Remove. | |
389 | * testsuite/17_intro/names.cc: Add __null_sentinel. | |
390 | ||
391 | 2024-01-08 Jonathan Wakely <jwakely@redhat.com> | |
392 | ||
393 | * include/std/format (__format::_Runtime_format_string): Define | |
394 | new class template. | |
395 | (basic_format_string): Add non-consteval constructor for runtime | |
396 | format strings. | |
397 | (runtime_format): Define new function for C++26. | |
398 | * testsuite/std/format/runtime_format.cc: New test. | |
399 | ||
400 | 2024-01-08 Jonathan Wakely <jwakely@redhat.com> | |
401 | ||
402 | * include/bits/chrono_io.h (__formatter_chrono): Always use | |
403 | lvalue arguments to make_format_args. | |
404 | * include/std/format (make_format_args): Change parameter pack | |
405 | from forwarding references to lvalue references. Remove use of | |
406 | remove_reference_t which is now unnecessary. | |
407 | (format_to, formatted_size): Remove incorrect forwarding of | |
408 | arguments. | |
409 | * include/std/ostream (print): Remove forwarding of arguments. | |
410 | * include/std/print (print): Likewise. | |
411 | * testsuite/20_util/duration/io.cc: Use lvalues as arguments to | |
412 | make_format_args. | |
413 | * testsuite/std/format/arguments/args.cc: Likewise. | |
414 | * testsuite/std/format/arguments/lwg3810.cc: Likewise. | |
415 | * testsuite/std/format/functions/format.cc: Likewise. | |
416 | * testsuite/std/format/functions/vformat_to.cc: Likewise. | |
417 | * testsuite/std/format/string.cc: Likewise. | |
418 | * testsuite/std/time/day/io.cc: Likewise. | |
419 | * testsuite/std/time/month/io.cc: Likewise. | |
420 | * testsuite/std/time/weekday/io.cc: Likewise. | |
421 | * testsuite/std/time/year/io.cc: Likewise. | |
422 | * testsuite/std/time/year_month_day/io.cc: Likewise. | |
423 | * testsuite/std/format/arguments/args_neg.cc: New test. | |
424 | ||
425 | 2024-01-08 Jonathan Wakely <jwakely@redhat.com> | |
426 | ||
427 | * include/Makefile.am: Add new headers. | |
428 | * include/Makefile.in: Regenerate. | |
429 | * include/bits/unicode.h: New file. | |
430 | * include/bits/unicode-data.h: New file. | |
431 | * include/std/format: Include <bits/unicode.h>. | |
432 | (__literal_encoding_is_utf8): Move to <bits/unicode.h>. | |
433 | (_Spec::_M_fill): Change type to char32_t. | |
434 | (_Spec::_M_parse_fill_and_align): Read a Unicode scalar value | |
435 | instead of a single character. | |
436 | (__write_padded): Change __fill_char parameter to char32_t and | |
437 | encode it into the output. | |
438 | (__formatter_str::format): Use new __unicode::__field_width and | |
439 | __unicode::__truncate functions. | |
440 | * include/std/ostream: Adjust namespace qualification for | |
441 | __literal_encoding_is_utf8. | |
442 | * include/std/print: Likewise. | |
443 | * src/c++23/print.cc: Add [[unlikely]] attribute to error path. | |
444 | * testsuite/ext/unicode/view.cc: New test. | |
445 | * testsuite/std/format/functions/format.cc: Add missing examples | |
446 | from the standard demonstrating alignment with non-ASCII | |
447 | characters. Add examples checking correct handling of extended | |
448 | grapheme clusters. | |
449 | ||
450 | 2024-01-08 Jonathan Wakely <jwakely@redhat.com> | |
451 | ||
452 | * include/bits/version.def (format_uchar): Define. | |
453 | * include/bits/version.h: Regenerate. | |
454 | * include/std/format (formatter<C, C>::format): Check for | |
455 | _Pres_c and call _M_format_character directly. Cast C to its | |
456 | unsigned equivalent for formatting as an integer. | |
457 | (formatter<char, wchar_t>::format): Likewise. | |
458 | (basic_format_arg(T&)): Store char arguments as unsigned char | |
459 | for formatting to a wide string. | |
460 | * testsuite/std/format/functions/format.cc: Adjust test. Check | |
461 | formatting of | |
462 | ||
59e0c218 GA |
463 | 2024-01-07 Jonathan Wakely <jwakely@redhat.com> |
464 | ||
465 | PR libstdc++/112997 | |
466 | * libsupc++/unwind-cxx.h (__cxa_call_terminate): Change first | |
467 | parameter to void*. | |
468 | ||
469 | 2024-01-07 Jonathan Wakely <jwakely@redhat.com> | |
470 | ||
471 | * testsuite/20_util/variant/87619.cc: Remove dg-timeout-factor. | |
472 | ||
473 | 2024-01-07 Jonathan Wakely <jwakely@redhat.com> | |
474 | ||
475 | * include/std/type_traits (is_trivially_destructible_v): Use | |
476 | built-in directly when concepts are supported. | |
477 | * testsuite/20_util/is_trivially_destructible/value_v.cc: New | |
478 | test. | |
479 | ||
b368d799 GA |
480 | 2024-01-06 Gwenole Beauchesne <gb.devel@gmail.com> |
481 | ||
482 | * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Use | |
483 | nonnull arguments to strtoimax() and wcstoimax() functions. | |
484 | ||
f38103f5 GA |
485 | 2024-01-05 Jonathan Wakely <jwakely@redhat.com> |
486 | ||
487 | * src/c++17/fs_path.cc (path::_List::reserve): Limit maximum | |
488 | size and check for overflows in arithmetic. | |
489 | (path::operator/=(const path&)): Remove redundant exponential | |
490 | growth calculation. | |
491 | ||
492 | 2024-01-05 Martin Küttler <martin.kuettler@kernkonzept.com> | |
493 | ||
494 | * src/c++17/fs_path.cc (path::_List::reserve): Avoid | |
495 | floating-point arithmetic. | |
496 | ||
497 | 2024-01-05 Jonathan Wakely <jwakely@redhat.com> | |
498 | ||
499 | PR libstdc++/113241 | |
500 | * include/std/type_traits (is_convertible_v): Guard use of | |
501 | built-in with preprocessor check. | |
502 | ||
503 | 2024-01-05 Jonathan Wakely <jwakely@redhat.com> | |
504 | ||
505 | PR libstdc++/113200 | |
506 | * include/bits/char_traits.h (__gnu_cxx::char_traits::move): Use | |
507 | __builtin_constant_p to check for unrelated pointers that cannot | |
508 | be compared during constant evaluation. | |
509 | * testsuite/21_strings/char_traits/requirements/113200.cc: New | |
510 | test. | |
511 | ||
512 | 2024-01-05 Cassio Neri <cassio.neri@gmail.com> | |
513 | ||
514 | * include/std/chrono: Fix + and - for months and weekdays. | |
515 | * testsuite/std/time/month/1.cc: Add constexpr tests against overflow. | |
516 | * testsuite/std/time/month/2.cc: New test for extreme values. | |
517 | * testsuite/std/time/weekday/1.cc: Add constexpr tests against overflow. | |
518 | * testsuite/std/time/weekday/2.cc: New test for extreme values. | |
519 | ||
520 | 2024-01-05 Jonathan Wakely <jwakely@redhat.com> | |
521 | ||
522 | PR libstdc++/113099 | |
523 | * include/bits/locale_classes.tcc (__try_use_facet): Use | |
524 | if-constexpr for C++11 and up. | |
525 | ||
81d1a6e9 GA |
526 | 2024-01-05 Ken Matsui <kmatsui@gcc.gnu.org> |
527 | ||
528 | * include/std/type_traits: Use _GLIBCXX_USE_BUILTIN_TRAIT. | |
529 | ||
530 | 2024-01-04 Arsen Arsenović <arsen@aarsen.me> | |
531 | ||
532 | * include/std/generator (_Subyield_state::_M_jump_in): Fix typo | |
533 | reported by Will Hawkins <hawkinsw@obs.cr>. | |
534 | ||
535 | 2024-01-04 Arsen Arsenović <arsen@aarsen.me> | |
536 | ||
537 | * include/std/generator (_Stateless_alloc): Rename typename _A | |
538 | to _All. | |
539 | ||
eb84e8d3 GA |
540 | 2024-01-03 Patrick Palka <ppalka@redhat.com> |
541 | ||
542 | PR testsuite/113175 | |
543 | * testsuite/std/ranges/iota/max_size_type.cc (test02): Reduce | |
544 | 'limit' to 100 from 1000 and adjust 'log2_limit' accordingly. | |
545 | (test03): Likewise. | |
546 | ||
b4df5e92 | 547 | \f |
8c22aed4 | 548 | Copyright (C) 2024 Free Software Foundation, Inc. |
b4df5e92 JW |
549 | |
550 | Copying and distribution of this file, with or without modification, | |
551 | are permitted in any medium without royalty provided the copyright | |
552 | notice and this notice are preserved. |