]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
Fix -freorder-blocks-and-partition glitch with Windows SEH
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
4b37c3ea
GA
12021-02-10 Jonathan Wakely <jwakely@redhat.com>
2
3 PR libstdc++/88881
4 * src/c++17/fs_ops.cc (fs::status): Re-enable workaround.
5
62021-02-10 Jonathan Wakely <jwakely@redhat.com>
7
8 * src/c++17/fs_ops.cc (fs::create_hard_link, fs::equivalent)
9 (fs::remove): Use std::system_category() for error codes from
10 GetLastError().
11 * src/filesystem/ops.cc (fs::create_hard_link, fs::remove):
12 Likewise.
13
142021-02-10 Jonathan Wakely <jwakely@redhat.com>
15
16 * testsuite/27_io/filesystem/operations/proximate.cc: Fix typo
17 in __MINGW32__ macro name.
18 * testsuite/27_io/filesystem/path/compare/lwg2936.cc: Likewise.
19 * testsuite/27_io/filesystem/path/generation/proximate.cc:
20 Likewise.
21 * testsuite/27_io/filesystem/path/generation/relative.cc:
22 Likewise.
23 * testsuite/util/testsuite_fs.h: Likewise.
24
0a91b73e
GA
252021-02-09 François Dumont <fdumont@gcc.gnu.org>
26
27 * include/bits/stl_tree.h
28 (__has_is_transparent, __has_is_transparent_t): Move...
29 * include/bits/stl_function.h: ...here.
30 * include/bits/hashtable_policy.h (_Hash_code_base<>::_M_hash_code_tr): New..
31 (_Hashtable_base<>::_M_equals_tr): New.
32 * include/bits/hashtable.h (_Hashtable<>::_M_find_tr, _Hashtable<>::_M_count_tr,
33 _Hashtable<>::_M_equal_range_tr): New member function templates to perform
34 heterogeneous lookup.
35 (_Hashtable<>::_M_find_before_node_tr): New.
36 (_Hashtable<>::_M_find_node_tr): New.
37 * include/bits/unordered_map.h (unordered_map::find<>, unordered_map::count<>,
38 unordered_map::contains<>, unordered_map::equal_range<>): New member function
39 templates to perform heterogeneous lookup.
40 (unordered_multimap::find<>, unordered_multimap::count<>,
41 unordered_multimap::contains<>, unordered_multimap::equal_range<>): Likewise.
42 * include/bits/unordered_set.h (unordered_set::find<>, unordered_set::count<>,
43 unordered_set::contains<>, unordered_set::equal_range<>): Likewise.
44 (unordered_multiset::find<>, unordered_multiset::count<>,
45 unordered_multiset::contains<>, unordered_multiset::equal_range<>): Likewise.
46 * include/debug/unordered_map
47 (unordered_map::find<>, unordered_map::equal_range<>): Likewise.
48 (unordered_multimap::find<>, unordered_multimap::equal_range<>): Likewise.
49 * include/debug/unordered_set
50 (unordered_set::find<>, unordered_set::equal_range<>): Likewise.
51 (unordered_multiset::find<>, unordered_multiset::equal_range<>): Likewise.
52 * testsuite/23_containers/unordered_map/operations/1.cc: New test.
53 * testsuite/23_containers/unordered_multimap/operations/1.cc: New test.
54 * testsuite/23_containers/unordered_multiset/operations/1.cc: New test.
55 * testsuite/23_containers/unordered_set/operations/1.cc: New test.
56
572021-02-09 François Dumont <fdumont@gcc.gnu.org>
58
59 * include/bits/stl_deque.h
60 (std::operator-(deque::iterator, deque::iterator)): Replace if/then with
61 a null pointer test.
62
632021-02-09 Jonathan Wakely <jwakely@redhat.com>
64
65 * testsuite/27_io/filesystem/operations/remove_all.cc: Remove
66 test directory after making it writable again.
67 * testsuite/experimental/filesystem/operations/remove_all.cc:
68 Likewise.
69
702021-02-09 Jonathan Wakely <jwakely@redhat.com>
71
72 PR libstdc++/99021
73 * include/std/coroutine (coroutine_handle<P>::from_address): Add
74 noexcept.
75
762021-02-09 Vladimir Vishnevsky <vv.os.swe@gmail.com>
77
78 * include/ext/stdio_sync_filebuf.h: Remove unused <unistd.h>.
79 * src/c++17/fs_ops.cc (fs::permissions): Qualify mode_t.
80
812021-02-09 Jakub Jelinek <jakub@redhat.com>
82
83 PR middle-end/98465
84 * include/bits/basic_string.tcc (basic_string::_M_replace): When __s
85 points to the characters moved by earlier _S_move, compute the source
86 address using expression based on the __p pointer rather than __s
87 pointer.
88
9faaa807
GA
892021-02-03 Jonathan Wakely <jwakely@redhat.com>
90
91 * testsuite/19_diagnostics/error_code/operators/not_equal.cc:
92 Add comparison with same category and different values.
93 * testsuite/19_diagnostics/error_code/operators/less.cc:
94 Likewise. Fix comparison involving different categories.
95 * testsuite/19_diagnostics/error_code/operators/three_way.cc:
96 Likewise.
97 * testsuite/19_diagnostics/error_condition/operators/less.cc:
98 Add comment.
99 * testsuite/19_diagnostics/error_condition/operators/three_way.cc:
100 Likewise.
101
1022021-02-03 yaozhongxiao <yaozhongxiao@linux.alibaba.com>
103
104 * include/experimental/bits/simd_neon.h: Replace repeated vpadd
105 calls with a single vaddv for aarch64.
106
1072021-02-03 Matthias Kretz <kretz@kde.org>
108
109 * testsuite/Makefile.am: Warn about the workaround. Add
110 -fno-tree-vrp to CXXFLAGS passed to the check_simd script.
111 Improve initial user feedback from make check-simd.
112 * testsuite/Makefile.in: Regenerated.
113
1142021-02-03 Matthias Kretz <kretz@kde.org>
115
116 * include/experimental/bits/simd.h: Add __detail::_Minimum and
117 __detail::_Maximum to use them as _BinaryOperation to _S_reduce.
118 Add hmin and hmax overloads for simd and const_where_expression.
119 * include/experimental/bits/simd_scalar.h
120 (_SimdImplScalar::_S_reduce): Make unused _BinaryOperation
121 parameter const-ref to allow calling _S_reduce with an rvalue.
122 * testsuite/experimental/simd/tests/reductions.cc: Add tests for
123 hmin and hmax. Since the compiler statically determined that all
124 tests pass, repeat the test after a call to make_value_unknown.
125
1262021-02-03 Matthias Kretz <kretz@kde.org>
127
128 * testsuite/experimental/simd/tests/bits/verify.h (verify): Add
129 instruction pointer data member. Ensure that the `if (m_failed)`
130 branch is always inlined into the calling code. The body of the
131 conditional can still be a function call. Move the get_ip call
132 into the verify ctor to simplify the ctor calls.
133 (COMPARE): Don't mention the use of all_of for reduction of a
134 simd_mask. It only distracts from the real issue.
135
1362021-02-03 Matthias Kretz <kretz@kde.org>
137
138 * testsuite/experimental/simd/driver.sh: Abstract reading test
139 options into read_src_option function. Read skip, only,
140 expensive, and xfail via read_src_option. Add timeout and
141 timeout-factor options and adjust timeout variable accordingly.
142 * testsuite/experimental/simd/tests/loadstore.cc: Set
143 timeout-factor 2.
144
1452021-02-03 Matthias Kretz <kretz@kde.org>
146
147 * testsuite/experimental/simd/driver.sh: When handling the pipe
148 to log (and on verbose to stdout) count the lines. If it exceeds
149 1000 log the issue and exit 125, which is then handled as a
150 failure.
151
1522021-02-03 Matthias Kretz <kretz@kde.org>
153
154 * testsuite/experimental/simd/tests/hypot3_fma.cc: Add skip:
155 markup for long double on powerpc64*.
156
1572021-02-03 Matthias Kretz <kretz@kde.org>
158
159 * include/experimental/bits/simd.h: Add __have_power10vec
160 conditional on _ARCH_PWR10.
161 * include/experimental/bits/simd_builtin.h: Forward declare
162 _MaskImplPpc and use it as _MaskImpl when __ALTIVEC__ is
163 defined.
164 (_MaskImplBuiltin::_S_some_of): Call _S_popcount from the
165 _SuperImpl for optimizations and correctness.
166 * include/experimental/bits/simd_ppc.h: Add _MaskImplPpc.
167 (_MaskImplPpc::_S_popcount): Implement via vec_cntm for POWER10.
168 Otherwise, for >=int use -vec_sums divided by a sizeof factor.
169 For <int use -vec_sums(vec_sum4s(...)) to sum all mask entries.
170
1712021-02-03 Matthias Kretz <kretz@kde.org>
172
173 * testsuite/experimental/simd/driver.sh: Remove executable on
174 SIGINT. Process compiler and test executable output: In verbose
175 mode print messages immediately, limited to 1000 lines and
176 breaking long lines to below $COLUMNS (or 1024 if not set).
177 Communicating the exit status of the compiler / test with the
178 necessary pipe is done via a message through stdout/-in.
179
1802021-02-03 Matthias Kretz <kretz@kde.org>
181
182 * testsuite/Makefile.am: Ensure .simd.summary is empty before
183 collecting a new summary.
184 * testsuite/Makefile.in: Regenerate.
185
1862021-02-03 Matthias Kretz <kretz@kde.org>
187
188 * testsuite/experimental/simd/generate_makefile.sh: Use
189 different variables internally than documented for user
190 overrides. This makes internal append/prepend work as intended.
191
1922021-02-03 Matthias Kretz <kretz@kde.org>
193
194 * testsuite/experimental/simd/driver.sh (verify_test): Print
195 test output on run xfail. Do not repeat lines from the log that
196 were already printed on stdout.
197 (test_selector): Make the compiler flags pattern usable as a
198 substring selector.
199 (toplevel): Trap on SIGINT and remove the log and sum files.
200 Call timout with --foreground to quickly terminate on SIGINT.
201 * testsuite/experimental/simd/generate_makefile.sh: Simplify run
202 targets via target patterns. Default DRIVEROPTS to -v for run
203 targets. Remove log and sum files after completion of the run
204 target (so that it's always recompiled).
205 Place help text into text file for reasonable 'make help'
206 performance.
207
2082021-02-03 Matthias Kretz <kretz@kde.org>
209
210 * include/experimental/bits/simd.h: Remove unnecessary static
211 assertion. Allow sizeof(8) integer __intrinsic_type to enable
212 the necessary mask type.
213
2142021-02-03 Matthias Kretz <kretz@kde.org>
215
216 * include/experimental/bits/simd.h: Let __intrinsic_type<long
217 double, N> be valid if sizeof(long double) == sizeof(double) and
218 use a __vector double as member type.
219
2202021-02-03 Matthias Kretz <kretz@kde.org>
221
222 * include/experimental/bits/simd.h (__is_intrinsic_type): New
223 internal type trait. Alias for __is_vector_type on x86.
224 (_VectorTraitsImpl): Enable for __intrinsic_type in addition for
225 __vector_type.
226 (__intrin_bitcast): Allow casting to & from vector & intrinsic
227 types.
228 (__intrinsic_type): Explicitly specialize for NEON intrinsic
229 vector types.
230
2312021-02-03 Matthias Kretz <kretz@kde.org>
232
233 * testsuite/experimental/simd/driver.sh: Implement skip, only,
234 expensive, and xfail markers. They can select on type, ABI tag
235 subset number, target-triplet, and compiler flags.
236 * testsuite/experimental/simd/generate_makefile.sh: The summary
237 now includes lines for unexpected passes and expected failures.
238 If the skip or only markers are only conditional on the type, do
239 not generate rules for those types.
240 * testsuite/experimental/simd/tests/abs.cc: Mark test expensive
241 for ABI tag subsets 1-9.
242 * testsuite/experimental/simd/tests/algorithms.cc: Ditto.
243 * testsuite/experimental/simd/tests/broadcast.cc: Ditto.
244 * testsuite/experimental/simd/tests/casts.cc: Ditto.
245 * testsuite/experimental/simd/tests/generator.cc: Ditto.
246 * testsuite/experimental/simd/tests/integer_operators.cc: Ditto.
247 * testsuite/experimental/simd/tests/loadstore.cc: Ditto.
248 * testsuite/experimental/simd/tests/mask_broadcast.cc: Ditto.
249 * testsuite/experimental/simd/tests/mask_conversions.cc: Ditto.
250 * testsuite/experimental/simd/tests/mask_implicit_cvt.cc: Ditto.
251 * testsuite/experimental/simd/tests/mask_loadstore.cc: Ditto.
252 * testsuite/experimental/simd/tests/mask_operator_cvt.cc: Ditto.
253 * testsuite/experimental/simd/tests/mask_operators.cc: Ditto.
254 * testsuite/experimental/simd/tests/mask_reductions.cc: Ditto.
255 * testsuite/experimental/simd/tests/operator_cvt.cc: Ditto.
256 * testsuite/experimental/simd/tests/operators.cc: Ditto.
257 * testsuite/experimental/simd/tests/reductions.cc: Ditto.
258 * testsuite/experimental/simd/tests/simd.cc: Ditto.
259 * testsuite/experimental/simd/tests/split_concat.cc: Ditto.
260 * testsuite/experimental/simd/tests/splits.cc: Ditto.
261 * testsuite/experimental/simd/tests/where.cc: Ditto.
262 * testsuite/experimental/simd/tests/fpclassify.cc: Ditto. In
263 addition replace "test only floattypes" marker by unconditional
264 "float|double|ldouble" only marker.
265 * testsuite/experimental/simd/tests/frexp.cc: Ditto.
266 * testsuite/experimental/simd/tests/hypot3_fma.cc: Ditto.
267 * testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_modf.cc:
268 Ditto.
269 * testsuite/experimental/simd/tests/logarithm.cc: Ditto.
270 * testsuite/experimental/simd/tests/math_1arg.cc: Ditto.
271 * testsuite/experimental/simd/tests/math_2arg.cc: Ditto.
272 * testsuite/experimental/simd/tests/remqo.cc: Ditto.
273 * testsuite/experimental/simd/tests/trigonometric.cc: Ditto.
274 * testsuite/experimental/simd/tests/trunc_ceil_floor.cc: Ditto.
275 * testsuite/experimental/simd/tests/sincos.cc: Ditto. In
276 addition, xfail on run because the reference data is missing.
277
548b75d8
GA
2782021-02-02 Jonathan Wakely <jwakely@redhat.com>
279
280 * doc/xml/manual/status_cxx2011.xml: Remove stray table cell.
281 * doc/xml/manual/status_cxx2014.xml: Likewise.
282 * doc/xml/manual/status_cxx2017.xml: Likewise.
283 * doc/html/manual/status.html: Regenerate.
284
f7884fb1
GA
2852021-02-01 François Dumont <fdumont@gcc.gnu.org>
286
287 PR libstdc++/70303
288 * include/bits/stl_deque.h (std::deque<>::operator-(iterator, iterator)):
289 Return 0 if both iterators are value-initialized.
290 * testsuite/23_containers/deque/70303.cc: New test.
291 * testsuite/23_containers/vector/70303.cc: New test.
292
2932021-02-01 Jonathan Wakely <jwakely@redhat.com>
294
295 * doc/xml/manual/status_cxx2011.xml: Update std::call_once
296 status.
297 * doc/xml/manual/status_cxx2014.xml: Likewise.
298 * doc/xml/manual/status_cxx2017.xml: Likewise. Update
299 std::from_chars and std::to_chars status. Fix formatting.
300 * doc/html/manual/status.html: Regenerate.
301
85d04a2e
GA
3022021-01-28 Jonathan Wakely <jwakely@redhat.com>
303
304 * include/experimental/bits/numeric_traits.h: Update copyright
305 dates.
306 * include/experimental/bits/simd.h: Likewise.
307 * include/experimental/bits/simd_builtin.h: Likewise.
308 * include/experimental/bits/simd_converter.h: Likewise.
309 * include/experimental/bits/simd_detail.h: Likewise.
310 * include/experimental/bits/simd_fixed_size.h: Likewise.
311 * include/experimental/bits/simd_math.h: Likewise.
312 * include/experimental/bits/simd_neon.h: Likewise.
313 * include/experimental/bits/simd_ppc.h: Likewise.
314 * include/experimental/bits/simd_scalar.h: Likewise.
315 * include/experimental/bits/simd_x86.h: Likewise.
316 * include/experimental/bits/simd_x86_conversions.h: Likewise.
317 * include/experimental/simd: Likewise.
318 * testsuite/experimental/simd/*: Likewise.
319
aa69f0a8
GA
3202021-01-27 Jonathan Wakely <jwakely@redhat.com>
321
322 * doc/xml/manual/status_cxx2017.xml: Replace invalid entity.
323 * doc/html/*: Regenerate.
324
3252021-01-27 Jonathan Wakely <jwakely@redhat.com>
326
327 * testsuite/experimental/simd/generate_makefile.sh: Use printf
328 instead of echo when printing escape characters.
329
3302021-01-27 Matthias Kretz <kretz@kde.org>
331
332 * scripts/check_simd: New file. This script is called from the
333 the check-simd target. It determines a set of compiler flags and
334 simulator setups for calling generate_makefile.sh and passes the
335 information back to the check-simd target, which recurses to the
336 generated Makefiles.
337 * scripts/create_testsuite_files: Remove files below simd/tests/
338 from testsuite_files and place them in testsuite_files_simd.
339 * testsuite/Makefile.am: Add testsuite_files_simd. Add
340 check-simd target.
341 * testsuite/Makefile.in: Regenerate.
342 * testsuite/experimental/simd/driver.sh: New file. This script
343 compiles and runs a given simd test, logging its output and
344 status. It uses the timeout command to implement compile and
345 test timeouts.
346 * testsuite/experimental/simd/generate_makefile.sh: New file.
347 This script generates a Makefile which uses driver.sh to compile
348 and run the tests and collect the logs into a single log file.
349 * testsuite/experimental/simd/tests/abs.cc: New file. Tests
350 abs(simd).
351 * testsuite/experimental/simd/tests/algorithms.cc: New file.
352 Tests min/max(simd, simd).
353 * testsuite/experimental/simd/tests/bits/conversions.h: New
354 file. Contains functions to support tests involving conversions.
355 * testsuite/experimental/simd/tests/bits/make_vec.h: New file.
356 Support functions make_mask and make_vec.
357 * testsuite/experimental/simd/tests/bits/mathreference.h: New
358 file. Support functions to supply precomputed math function
359 reference data.
360 * testsuite/experimental/simd/tests/bits/metahelpers.h: New
361 file. Support code for SFINAE testing.
362 * testsuite/experimental/simd/tests/bits/simd_view.h: New file.
363 * testsuite/experimental/simd/tests/bits/test_values.h: New
364 file. Test functions to easily drive a test with simd objects
365 initialized from a given list of values and a range of random
366 values.
367 * testsuite/experimental/simd/tests/bits/ulp.h: New file.
368 Support code to determine the ULP distance of simd objects.
369 * testsuite/experimental/simd/tests/bits/verify.h: New file.
370 Test framework for COMPARE'ing simd objects and instantiating
371 the test templates with value_type and ABI tag.
372 * testsuite/experimental/simd/tests/broadcast.cc: New file. Test
373 simd broadcasts.
374 * testsuite/experimental/simd/tests/casts.cc: New file. Test
375 simd casts.
376 * testsuite/experimental/simd/tests/fpclassify.cc: New file.
377 Test floating-point classification functions.
378 * testsuite/experimental/simd/tests/frexp.cc: New file. Test
379 frexp(simd).
380 * testsuite/experimental/simd/tests/generator.cc: New file. Test
381 simd generator constructor.
382 * testsuite/experimental/simd/tests/hypot3_fma.cc: New file.
383 Test 3-arg hypot(simd,simd,simd) and fma(simd,simd,sim).
384 * testsuite/experimental/simd/tests/integer_operators.cc: New
385 file. Test integer operators.
386 * testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_modf.cc:
387 New file. Test ldexp(simd), scalbn(simd), scalbln(simd), and
388 modf(simd).
389 * testsuite/experimental/simd/tests/loadstore.cc: New file. Test
390 (converting) simd loads and stores.
391 * testsuite/experimental/simd/tests/logarithm.cc: New file. Test
392 log*(simd).
393 * testsuite/experimental/simd/tests/mask_broadcast.cc: New file.
394 Test simd_mask broadcasts.
395 * testsuite/experimental/simd/tests/mask_conversions.cc: New
396 file. Test simd_mask conversions.
397 * testsuite/experimental/simd/tests/mask_implicit_cvt.cc: New
398 file. Test simd_mask implicit conversions.
399 * testsuite/experimental/simd/tests/mask_loadstore.cc: New file.
400 Test simd_mask loads and stores.
401 * testsuite/experimental/simd/tests/mask_operator_cvt.cc: New
402 file. Test simd_mask operators convert as specified.
403 * testsuite/experimental/simd/tests/mask_operators.cc: New file.
404 Test simd_mask compares, subscripts, and negation.
405 * testsuite/experimental/simd/tests/mask_reductions.cc: New
406 file. Test simd_mask reductions.
407 * testsuite/experimental/simd/tests/math_1arg.cc: New file. Test
408 1-arg math functions on simd.
409 * testsuite/experimental/simd/tests/math_2arg.cc: New file. Test
410 2-arg math functions on simd.
411 * testsuite/experimental/simd/tests/operator_cvt.cc: New file.
412 Test implicit conversions on simd binary operators behave as
413 specified.
414 * testsuite/experimental/simd/tests/operators.cc: New file. Test
415 simd compares, subscripts, not, unary minus, plus, minus,
416 multiplies, divides, increment, and decrement.
417 * testsuite/experimental/simd/tests/reductions.cc: New file.
418 Test reduce(simd).
419 * testsuite/experimental/simd/tests/remqo.cc: New file. Test
420 remqo(simd).
421 * testsuite/experimental/simd/tests/simd.cc: New file. Basic
422 sanity checks of simd types.
423 * testsuite/experimental/simd/tests/sincos.cc: New file. Test
424 sin(simd) and cos(simd).
425 * testsuite/experimental/simd/tests/split_concat.cc: New file.
426 Test split(simd) and concat(simd, simd).
427 * testsuite/experimental/simd/tests/splits.cc: New file. Test
428 split(simd_mask).
429 * testsuite/experimental/simd/tests/trigonometric.cc: New file.
430 Test remaining trigonometric functions on simd.
431 * testsuite/experimental/simd/tests/trunc_ceil_floor.cc: New
432 file. Test trunc(simd), ceil(simd), and floor(simd).
433 * testsuite/experimental/simd/tests/where.cc: New file. Test
434 masked operations using where.
435
4362021-01-27 Matthias Kretz <kretz@kde.org>
437
438 * doc/xml/manual/status_cxx2017.xml: Add implementation status
439 of the Parallelism TS 2. Document implementation-defined types
440 and behavior.
441 * include/Makefile.am: Add new headers.
442 * include/Makefile.in: Regenerate.
443 * include/experimental/simd: New file. New header for
444 Parallelism TS 2.
445 * include/experimental/bits/numeric_traits.h: New file.
446 Implementation of P1841R1 using internal naming. Addition of
447 missing IEC559 functionality query.
448 * include/experimental/bits/simd.h: New file. Definition of the
449 public simd interfaces and general implementation helpers.
450 * include/experimental/bits/simd_builtin.h: New file.
451 Implementation of the _VecBuiltin simd_abi.
452 * include/experimental/bits/simd_converter.h: New file. Generic
453 simd conversions.
454 * include/experimental/bits/simd_detail.h: New file. Internal
455 macros for the simd implementation.
456 * include/experimental/bits/simd_fixed_size.h: New file. Simd
457 fixed_size ABI specific implementations.
458 * include/experimental/bits/simd_math.h: New file. Math
459 overloads for simd.
460 * include/experimental/bits/simd_neon.h: New file. Simd NEON
461 specific implementations.
462 * include/experimental/bits/simd_ppc.h: New file. Implement bit
463 shifts to avoid invalid results for integral types smaller than
464 int.
465 * include/experimental/bits/simd_scalar.h: New file. Simd scalar
466 ABI specific implementations.
467 * include/experimental/bits/simd_x86.h: New file. Simd x86
468 specific implementations.
469 * include/experimental/bits/simd_x86_conversions.h: New file.
470 x86 specific conversion optimizations. The conversion patterns
471 work around missing conversion patterns in the compiler and
472 should be removed as soon as PR85048 is resolved.
473 * testsuite/experimental/simd/standard_abi_usable.cc: New file.
474 Test that all (not all fixed_size<N>, though) standard simd and
475 simd_mask types are usable.
476 * testsuite/experimental/simd/standard_abi_usable_2.cc: New
477 file. As above but with -ffast-math.
478 * testsuite/libstdc++-dg/conformance.exp: Don't build simd tests
479 from the standard test loop. Instead use
480 check_vect_support_and_set_flags to build simd tests with the
481 relevant machine flags.
482
4832021-01-27 Jonathan Wakely <jwakely@redhat.com>
484
485 PR libstdc++/66414
486 * include/bits/string_view.tcc
487 (basic_string_view::find(const CharT*, size_type, size_type)):
488 Optimize.
489
4902021-01-27 Paul Fee <paul.f.fee@gmail.com>
491
492 * include/bits/basic_string.h (basic_string::contains): New
493 member functions.
494 * include/std/string_view (basic_string_view::contains):
495 Likewise.
496 * include/std/version (__cpp_lib_string_contains): Define.
497 * testsuite/21_strings/basic_string/operations/starts_with/char/1.cc:
498 Remove trailing whitespace.
499 * testsuite/21_strings/basic_string/operations/starts_with/wchar_t/1.cc:
500 Likewise.
501 * testsuite/21_strings/basic_string/operations/contains/char/1.cc: New test.
502 * testsuite/21_strings/basic_string/operations/contains/wchar_t/1.cc: New test.
503 * testsuite/21_strings/basic_string_view/operations/contains/char/1.cc: New test.
504 * testsuite/21_strings/basic_string_view/operations/contains/char/2.cc: New test.
505 * testsuite/21_strings/basic_string_view/operations/contains/wchar_t/1.cc: New test.
506
7559d465
GA
5072021-01-21 Jonathan Wakely <jwakely@redhat.com>
508
509 * src/c++17/Makefile.in: Regenerate.
510
b93d0e36
GA
5112021-01-20 David Edelsohn <dje.gcc@gmail.com>
512
513 * config/os/aix/ctype_inline.h (bool ctype<char>:: is): Cast
514 _OBJ_DATA subscript to unsigned char. Add _THREAD_SAFE access to
515 __lc_type.
516 (const char* ctype<char>:: is): Same.
517
ef1f8ee6
GA
5182021-01-18 Jonathan Wakely <jwakely@redhat.com>
519
520 PR libstdc++/98725
521 * testsuite/20_util/unique_ptr/io/lwg2948.cc: Do not try to
522 write to a wide character stream if wide character support is
523 disabled in the library.
524
5252021-01-18 Jonathan Wakely <jwakely@redhat.com>
526
527 * testsuite/27_io/basic_stringstream/cons/char/1.cc: Use
528 stringbuf not wstringbuf.
529
5302021-01-18 Jakub Jelinek <jakub@redhat.com>
531
532 PR debug/98708
533 * src/c++11/Makefile.am (cxx11-ios_failure-lt.s, cxx11-ios_failure.s):
534 Compile with -gno-as-loc-support.
535 * src/c++11/Makefile.in: Regenerated.
536
59cf67d1
GA
5372021-01-16 H.J. Lu <hjl.tools@gmail.com>
538
539 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
540 Add -fcf-protection=none to -march=i486.
541
5fff80fd
GA
5422021-01-14 François Dumont <fdumont@gcc.gnu.org>
543
544 * testsuite/23_containers/deque/debug/98466.cc: Make it pre-C++11
545 compliant.
546
5472021-01-14 Alexandre Oliva <oliva@adacore.com>
548
549 * testsuite/30_threads/future/members/poll.cc: Calibrate
550 iteration count.
551
5522021-01-14 François Dumont <fdumont@gcc.gnu.org>
553
554 PR libstdc++/98466
555 * include/bits/hashtable_policy.h (_Node_iterator_base()): Set _M_cur to nullptr.
556 (_Node_iterator()): Make default.
557 (_Node_const_iterator()): Make default.
558 * include/debug/macros.h (__glibcxx_check_erae_range_after): Add _M_singular
559 iterator checks.
560 * include/debug/safe_iterator.h
561 (_GLIBCXX_DEBUG_VERIFY_OPERANDS): Accept if both iterator are value initialized.
562 * include/debug/safe_local_iterator.h (_GLIBCXX_DEBUG_VERIFY_OPERANDS):
563 Likewise.
564 * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): Add
565 _M_singular checks on input iterators.
566 * src/c++11/debug.cc (_Safe_iterator_base::_M_can_compare): Remove _M_singular
567 checks.
568 * testsuite/23_containers/deque/debug/98466.cc: New test.
569 * testsuite/23_containers/unordered_map/debug/98466.cc: New test.
570
5712021-01-14 Jonathan Wakely <jwakely@redhat.com>
572
573 PR libstdc++/98471
574 * include/bits/fs_path.h (__throw_conversion_error): New
575 function to throw or abort on character conversion errors.
576 (__wstr_from_utf8): Move definition after filesystem_error has
577 been defined. Use __throw_conversion_error.
578 (path::_S_convert<_EcharT>): Use __throw_conversion_error.
579 (path::_S_str_convert<_CharT, _Traits, _Allocator>): Likewise.
580 (path::u8string): Likewise.
581
5822021-01-14 Jonathan Wakely <jwakely@redhat.com>
583
584 * include/std/barrier: Update copyright years. Fix whitespace.
585 * include/std/version: Fix whitespace.
586 * testsuite/30_threads/barrier/1.cc: Update copyright years.
587 * testsuite/30_threads/barrier/2.cc: Likewise.
588 * testsuite/30_threads/barrier/arrive.cc: Likewise.
589 * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
590 * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
591 * testsuite/30_threads/barrier/completion.cc: Likewise.
592
be0851b8
GA
5932021-01-13 Jonathan Wakely <jwakely@redhat.com>
594
595 * doc/doxygen/user.cfg.in (INPUT): Remove include/debug/array.
596
366f86bd
GA
5972021-01-10 David Edelsohn <dje.gcc@gmail.com>
598
599 PR libstdc++/98613
600 * testsuite/ext/vstring/cons/moveable.cc: Suppress false positive
601 warning.
602 * testsuite/ext/vstring/modifiers/assign/move_assign.cc: Same.
603
bf5cbb9e
GA
6042021-01-08 Olivier Hainque <hainque@adacore.com>
605
606 * testsuite/20_util/bind/ref_neg.cc: Tweak the
607 dg-prune-output regex for out-of-build-tree contexts.
608
7d187e4f
GA
6092021-01-07 Thomas Rodgers <trodgers@redhat.com>
610
611 * doc/doxygen/user.cfg.in: Add new header.
612 * include/Makefile.am (std_headers): likewise.
613 * include/Makefile.in: Regenerate.
614 * include/precompiled/stdc++.h: Add new header.
615 * include/std/barrier: New file.
616 * include/std/version: Add __cpp_lib_barrier feature test macro.
617 * testsuite/30_threads/barrier/1.cc: New test.
618 * testsuite/30_threads/barrier/2.cc: Likewise.
619 * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
620 * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
621 * testsuite/30_threads/barrier/arrive.cc: Likewise.
622 * testsuite/30_threads/barrier/completion.cc: Likewise.
623
6242021-01-07 Patrick Palka <ppalka@redhat.com>
625
626 PR libstdc++/98384
627 * testsuite/20_util/to_chars/long_double.cc: Use nexttowardl
628 instead of the non-standard nextupl and nextdownl.
629
651b8a50
GA
6302021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
631
632 * configure: Re-generate.
633
6342021-01-05 Ed Smith-Rowland <3dw4rd@verizon.net>
635
636 * include/precompiled/stdc++.h: Add <source_location> to C++20 section.
637
b6dd195a
GA
6382021-01-01 Jakub Jelinek <jakub@redhat.com>
639
640 * ChangeLog-2020: Rotate ChangeLog. New file.
641
b4df5e92 642\f
618e665a 643Copyright (C) 2021 Free Software Foundation, Inc.
b4df5e92
JW
644
645Copying and distribution of this file, with or without modification,
646are permitted in any medium without royalty provided the copyright
647notice and this notice are preserved.
This page took 0.972508 seconds and 5 git commands to generate.