]>
Commit | Line | Data |
---|---|---|
e9800852 GA |
1 | 2021-03-10 John David Anglin <danglin@gcc.gnu.org> |
2 | ||
3 | * testsuite/29_atomics/atomic/wait_notify/bool.cc: Add options to | |
4 | link with libatomic. | |
5 | * testsuite/29_atomics/atomic/wait_notify/generic.cc: Likewise. | |
6 | * testsuite/29_atomics/atomic/wait_notify/pointers.cc: Likewise. | |
7 | * testsuite/29_atomics/atomic_flag/wait_notify/1.cc: Likewise. | |
8 | * testsuite/30_threads/barrier/arrive.cc: Likewise. | |
9 | * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise. | |
10 | * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise. | |
11 | * testsuite/30_threads/barrier/completion.cc: Likewise. | |
12 | * testsuite/30_threads/latch/3.cc: Likewise. | |
13 | * testsuite/30_threads/semaphore/try_acquire.cc: Likewise. | |
14 | * testsuite/30_threads/semaphore/try_acquire_for.cc: Likewise. | |
15 | * testsuite/30_threads/semaphore/try_acquire_until.cc: Likewise. | |
16 | ||
17 | 2021-03-10 Jonathan Wakely <jwakely@redhat.com> | |
18 | ||
19 | PR libstdc++/99413 | |
20 | * include/bits/align.h: Include debug/assertions.h. | |
21 | * include/bits/codecvt.h: Include bits/c++config.h. | |
22 | * include/bits/enable_special_members.h: Likewise. | |
23 | * include/bits/erase_if.h: Likewise. | |
24 | * include/bits/functional_hash.h: Include <type_traits>. | |
25 | * include/bits/invoke.h: Include bits/move.h. | |
26 | * include/bits/ostream_insert.h: Include bits/exception_defines.h. | |
27 | * include/bits/parse_numbers.h: Include <type_traits>. | |
28 | * include/bits/predefined_ops.h: Include bits/c++config.h. | |
29 | * include/bits/range_access.h: Include bits/stl_iterator.h. | |
30 | * include/bits/stl_bvector.h: Do not include bits/stl_vector.h. | |
31 | * include/bits/stl_iterator.h: Include bits/stl_iterator_base_types.h. | |
32 | * include/bits/stl_uninitialized.h: Include bits/stl_algobase.h. | |
33 | * include/bits/uniform_int_dist.h: Include bits/concept_check.h. | |
34 | * include/bits/unique_lock.h: Include bits/std_mutex.h. | |
35 | * include/debug/assertions.h: Include bits/c++config.h. | |
36 | ||
37 | 2021-03-10 Jonathan Wakely <jwakely@redhat.com> | |
38 | ||
39 | * include/bits/ranges_cmp.h (__eq_builtin_ptr_cmp): Remove. | |
40 | (ranges::equal_to, ranges::not_equal_to): Do not constrain | |
41 | with __eq_builtin_ptr_cmp. | |
42 | (ranges::less, ranges::greater, ranges::less_equal) | |
43 | (ranges::greater_equal): Do not constrain with | |
44 | __less_builtin_ptr_cmp. | |
45 | * libsupc++/compare (compare_three_way): Do not constrain with | |
46 | __3way_builtin_ptr_cmp. | |
47 | * testsuite/18_support/comparisons/object/builtin-ptr-three-way.cc: Moved to... | |
48 | * testsuite/18_support/comparisons/object/lwg3530.cc: ...here. | |
49 | * testsuite/20_util/function_objects/range.cmp/lwg3530.cc: New test. | |
50 | ||
51 | 2021-03-10 Jonathan Wakely <jwakely@redhat.com> | |
52 | ||
53 | * testsuite/std/time/syn_c++20.cc: Enable synopsis checks for | |
54 | C++20 calendar types. | |
55 | ||
0ad6a2e2 GA |
56 | 2021-03-06 Jakub Jelinek <jakub@redhat.com> |
57 | ||
58 | PR libstdc++/99396 | |
59 | * include/std/bit (__rotl, __rotr): Add optimized variants for power of | |
60 | two _Nd which the compiler can pattern match the rotates. | |
61 | ||
67f10d28 GA |
62 | 2021-03-04 Jonathan Wakely <jwakely@redhat.com> |
63 | ||
64 | PR libstdc++/99382 | |
65 | * testsuite/20_util/specialized_algorithms/uninitialized_default_n/sizes.cc: | |
66 | Make storage larger than required. Verify no write to the last | |
67 | element. | |
68 | * testsuite/20_util/specialized_algorithms/uninitialized_value_construct_n/sizes.cc: | |
69 | Likewise. | |
70 | ||
f3641ac7 GA |
71 | 2021-03-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
72 | ||
73 | * config/abi/post/i386-solaris/baseline_symbols.txt: Regenerate. | |
74 | * config/abi/post/i386-solaris/amd64/baseline_symbols.txt: | |
75 | Likewise. | |
76 | * config/abi/post/sparc-solaris/baseline_symbols.txt: Likewise. | |
77 | * config/abi/post/sparc-solaris/sparcv9/baseline_symbols.txt: | |
78 | Likewise. | |
79 | ||
80 | 2021-03-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
81 | ||
82 | * include/experimental/bits/simd.h: Replace reserved _X, _B by | |
83 | _Xp, _Bp. | |
84 | * include/experimental/bits/simd_builtin.h: Likewise. | |
85 | * include/experimental/bits/simd_x86.h: Likewise. | |
86 | ||
ec9dc4fa GA |
87 | 2021-02-27 Jonathan Wakely <jwakely@redhat.com> |
88 | ||
89 | PR libstdc++/99301 | |
90 | * include/std/chrono (year_month_day::_M_days_since_epoch()): | |
91 | Convert chrono::month and chrono::day to unsigned before | |
92 | converting to uint32_t. | |
93 | ||
daa68844 GA |
94 | 2021-02-25 Jonathan Wakely <jwakely@redhat.com> |
95 | ||
96 | * include/std/chrono (year_month_day::_S_from_days): Perform | |
97 | all calculations with type uint32_t. | |
98 | ||
99 | 2021-02-25 Jonathan Wakely <jwakely@redhat.com> | |
100 | ||
101 | * doc/xml/manual/abi.xml: Document versioning for GCC 11. | |
102 | * doc/html/manual/abi.html: Regenerate. | |
103 | ||
104 | 2021-02-25 Jonathan Wakely <jwakely@redhat.com> | |
105 | ||
106 | PR libstdc++/99270 | |
107 | * testsuite/27_io/headers/cstdio/types_std.cc: Use pointer to | |
108 | FILE instead of FILE. | |
109 | ||
110 | 2021-02-25 Andreas Schwab <schwab@suse.de> | |
111 | ||
112 | * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update. | |
113 | * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update. | |
114 | * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update. | |
115 | * config/abi/post/riscv64-linux-gnu/baseline_symbols.txt: Update. | |
116 | ||
117 | 2021-02-25 Jonathan Wakely <jwakely@redhat.com> | |
118 | ||
119 | PR libstdc++/99265 | |
120 | * include/std/chrono (year_month_day::_S_from_days): Cast long | |
121 | to int explicitly. | |
122 | ||
123 | 2021-02-25 Jonathan Wakely <jwakely@redhat.com> | |
124 | ||
125 | * include/std/utility (to_underlying): Define. | |
126 | * include/std/version (__cpp_lib_to_underlying): Define. | |
127 | * testsuite/20_util/to_underlying/1.cc: New test. | |
128 | * testsuite/20_util/to_underlying/version.cc: New test. | |
129 | ||
4028d01a GA |
130 | 2021-02-24 Jonathan Wakely <jwakely@redhat.com> |
131 | ||
132 | PR libstdc++/99261 | |
133 | * src/c++17/floating_to_chars.cc (sprintf_ld): Add extra args | |
134 | before value to be printed. | |
135 | ||
136 | 2021-02-24 Patrick Palka <ppalka@redhat.com> | |
137 | ||
138 | * src/c++17/floating_to_chars.cc (__floating_to_chars_precision): | |
139 | Relax the condition that guards the printf code path to accept | |
140 | F128_type as well as long double. | |
141 | ||
142 | 2021-02-24 Cassio Neri <cassio.neri@gmail.com> | |
143 | ||
144 | * include/std/chrono (year_month_day_last:day): New | |
145 | implementation. | |
146 | ||
147 | 2021-02-24 Cassio Neri <cassio.neri@gmail.com> | |
148 | ||
149 | * include/std/chrono (year::is_leap): New implementation. | |
150 | * testsuite/std/time/year/2.cc: New test. | |
151 | ||
152 | 2021-02-24 Cassio Neri <cassio.neri@gmail.com> | |
153 | ||
154 | * include/std/chrono (year_month_day::_M_days_since_epoch): | |
155 | New implementation. | |
156 | * testsuite/std/time/year_month_day/4.cc: New test. | |
157 | ||
158 | 2021-02-24 Cassio Neri <cassio.neri@gmail.com> | |
159 | ||
160 | * include/std/chrono (year_month_day::_S_from_days): New | |
161 | implementation. | |
162 | * testsuite/std/time/year_month_day/3.cc: New test. | |
163 | ||
164 | 2021-02-24 Patrick Palka <ppalka@redhat.com> | |
165 | ||
166 | PR libstdc++/98384 | |
167 | * testsuite/20_util/to_chars/long_double.cc: Include <optional>. | |
168 | (test01): Simplify verifying the nearby values by using a | |
169 | 2-iteration loop and a dedicated output buffer to check that the | |
170 | nearby values are different. Factor out the printf-based | |
171 | verification into a local function, and check that the leading | |
172 | hex digits agree before comparing to the output of printf. Also | |
173 | verify the output by round-tripping it through from_chars. | |
174 | ||
175 | 2021-02-24 Jonathan Wakely <jwakely@redhat.com> | |
176 | ||
177 | PR libstdc++/98389 | |
178 | * config/abi/pre/gnu.ver (GLIBCXX_3.4.29): Do not match to_chars | |
179 | symbols for long double arguments mangled as 'g'. | |
180 | * config/os/gnu-linux/ldbl-extra.ver: Likewise. | |
181 | * config/os/gnu-linux/ldbl-ieee128-extra.ver: Likewise. | |
182 | * src/c++17/Makefile.am [GLIBCXX_LDBL_ALT128_COMPAT_TRUE]: | |
183 | Use -mabi=ibmlongdouble for floating_to_chars.cc. | |
184 | * src/c++17/Makefile.in: Regenerate. | |
185 | * src/c++17/floating_to_chars.cc (floating_type_traits_binary128): | |
186 | New type defining type traits of IEEE binary128 format. | |
187 | (floating_type_traits<__float128>): Define specialization. | |
188 | (floating_type_traits<long double>): Define in terms of | |
189 | floating_type_traits_binary128 when appropriate. | |
190 | (floating_to_shortest_scientific): Handle __float128. | |
191 | (sprintf_ld): New function template for printing a long double | |
192 | or __ieee128 value using sprintf. | |
193 | (__floating_to_chars_shortest, __floating_to_chars_precision): | |
194 | Use sprintf_ld. | |
195 | (to_chars): Define overloads for __float128. | |
196 | ||
197 | 2021-02-24 Jonathan Wakely <jwakely@redhat.com> | |
198 | ||
199 | * testsuite/17_intro/names.cc: Undefine 'u' on powerpc*-linux*. | |
200 | ||
71e24b06 GA |
201 | 2021-02-23 Martin Sebor <msebor@redhat.com> |
202 | ||
203 | PR c++/99074 | |
204 | * libsupc++/dyncast.cc (__dynamic_cast): Return null when | |
205 | first argument is null. | |
206 | ||
207 | 2021-02-23 Jakub Jelinek <jakub@redhat.com> | |
208 | ||
209 | PR libstdc++/99181 | |
210 | * testsuite/21_strings/char_traits/requirements/char/99181.cc: New | |
211 | test. | |
212 | ||
213 | 2021-02-23 Jakub Jelinek <jakub@redhat.com> | |
214 | ||
215 | PR libstdc++/99181 | |
216 | * include/bits/char_traits.h (char_traits<char>::compare): For | |
217 | constexpr evaluation don't call | |
218 | __gnu_cxx::char_traits<char_type>::compare but do the comparison loop | |
219 | directly. | |
220 | ||
221 | 2021-02-23 Jakub Jelinek <jakub@redhat.com> | |
222 | ||
223 | PR libstdc++/97549 | |
224 | * include/pstl/parallel_backend_serial.h: Remove __pstl::__par_backend. | |
225 | ||
226 | 2021-02-23 Patrick Palka <ppalka@redhat.com> | |
227 | ||
228 | PR libstdc++/98384 | |
229 | * src/c++17/floating_to_chars.cc (get_ieee_repr): Extract | |
230 | the high- and low-order parts from an IBM long double value | |
231 | in an endian-agnostic way. | |
232 | ||
50352c6c GA |
233 | 2021-02-19 Jonathan Wakely <jwakely@redhat.com> |
234 | ||
235 | * include/bits/atomic_wait.h (__thread_relax()): Call | |
236 | __thread_yield() not __gthread_yield(). | |
237 | ||
de594739 GA |
238 | 2021-02-15 Jonathan Wakely <jwakely@redhat.com> |
239 | ||
240 | * include/bits/atomic_wait.h (__thread_yield()): Check | |
241 | _GLIBCXX_HAS_GTHREADS before using __gthread_yield. | |
242 | (__thread_relax()): Use __thread_yield() instead of repeating | |
243 | the preprocessor checks for __gthread_yield. | |
244 | ||
245 | 2021-02-15 Jonathan Wakely <jwakely@redhat.com> | |
246 | ||
247 | * include/std/mutex (once_flag::_M_activate()): Add explicit | |
248 | return statement for passive case. | |
249 | (once_flag::_M_finish(bool)): Use reserved name for parameter. | |
250 | ||
c5ae38e8 GA |
251 | 2021-02-14 Jonathan Wakely <jwakely@redhat.com> |
252 | ||
253 | PR libstdc++/99096 | |
254 | * testsuite/util/testsuite_fs.h: Always include <unistd.h>. | |
255 | ||
fab095da GA |
256 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> |
257 | ||
258 | PR libstdc++/88881 | |
259 | * src/c++17/fs_ops.cc (fs::symlink_status): Re-enable workaround. | |
260 | ||
261 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
262 | ||
263 | * doc/xml/manual/status_cxx2014.xml: Document implementation | |
264 | specific properties of std::experimental::filesystem::rename. | |
265 | * doc/xml/manual/status_cxx2017.xml: Document implementation | |
266 | specific properties of std::filesystem::rename. | |
267 | * doc/html/*: Regenerate. | |
268 | * src/c++17/fs_ops.cc (fs::rename): Implement correct behaviour | |
269 | for directories on Windows. | |
270 | * src/filesystem/ops-common.h (__gnu_posix::rename): Use | |
271 | MoveFileExW on Windows. | |
272 | * testsuite/27_io/filesystem/operations/rename.cc: New test. | |
273 | * testsuite/experimental/filesystem/operations/rename.cc: New test. | |
274 | ||
275 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
276 | ||
277 | * testsuite/util/testsuite_fs.h (nonexistent_path): Add | |
278 | random number to the path. | |
279 | ||
280 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
281 | ||
282 | * include/experimental/internet (address_v6::to_string): Include | |
283 | scope ID in string. | |
284 | * testsuite/experimental/net/internet/address/v6/members.cc: | |
285 | Test to_string() results. | |
286 | ||
287 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
288 | ||
289 | * include/experimental/internet (address_v6::any): Avoid using | |
290 | memcpy in constexpr function. | |
291 | (address_v6::loopback): Likewise. | |
292 | (make_address_v6): Fix missing return statements on error paths. | |
293 | * include/experimental/io_context: Avoid -Wdangling-else | |
294 | warning. | |
295 | * testsuite/experimental/net/internet/address/v4/members.cc: | |
296 | Remove unused variables. | |
297 | * testsuite/experimental/net/internet/address/v6/members.cc: | |
298 | New test. | |
299 | ||
300 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
301 | ||
302 | * include/bits/shared_ptr_base.h (__shared_ptr::_M_get_deleter): | |
303 | Add unused attribute to parameter. | |
304 | * src/c++11/shared_ptr.cc (_Sp_make_shared_tag::_S_eq): | |
305 | Likewise. | |
306 | ||
307 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
308 | ||
309 | * testsuite/27_io/basic_ostream/emit/1.cc: Expect test to fail | |
310 | if -fno-rtti is used. | |
311 | * testsuite/30_threads/async/forced_unwind.cc: Expect test | |
312 | to abort if -fno-rtti is used. | |
313 | ||
314 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
315 | ||
316 | * testsuite/util/testsuite_allocator.h (memory_resource): | |
317 | Remove requirement for RTTI and exceptions to be enabled. | |
318 | ||
319 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
320 | ||
321 | * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Use | |
322 | static_cast when RTTI is disabled. | |
323 | * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: | |
324 | Likewise. | |
325 | * testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc: | |
326 | Likewise. | |
327 | * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: | |
328 | Likewise. | |
329 | * testsuite/27_io/basic_stringstream/str/char/2.cc: | |
330 | Likewise. | |
331 | * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: | |
332 | Likewise. | |
333 | ||
334 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
335 | ||
336 | * include/std/ostream (__syncbuf_base::_S_get): Mark parameter | |
337 | as unused and only use dynamic_cast when RTTI is enabled. | |
338 | ||
339 | 2021-02-12 Jonathan Wakely <jwakely@redhat.com> | |
340 | ||
341 | PR libstdc++/99077 | |
342 | * src/c++11/cxx11-ios_failure.cc (__ios_failure(const char*, int)): | |
343 | Change int parameter to error_code, to match std::ios_failure. | |
344 | (__throw_ios_failure(const char*, int)): Construct error_code | |
345 | from int parameter. | |
346 | ||
0c5cdb31 GA |
347 | 2021-02-11 Jonathan Wakely <jwakely@redhat.com> |
348 | ||
349 | * libsupc++/eh_ptr.cc (_GLIBCXX_EH_PTR_RELOPS_COMPAT): Define | |
350 | new macro. | |
351 | * libsupc++/exception_ptr.h (_GLIBCXX_EH_PTR_USED): Check new | |
352 | macro instead of _GLIBCXX_EH_PTR_COMPAT. | |
353 | (operator==): Likewise. | |
354 | ||
355 | 2021-02-11 Jonathan Wakely <jwakely@redhat.com> | |
356 | ||
357 | PR libstdc++/99058 | |
358 | * doc/xml/manual/status_cxx2011.xml: Document when support | |
359 | became stable. | |
360 | * doc/xml/manual/status_cxx2014.xml: Likewise. | |
361 | * doc/xml/manual/status_cxx2017.xml: Likewise. | |
362 | * doc/html/manual/status.html: Regenerate. | |
363 | ||
4b37c3ea GA |
364 | 2021-02-10 Jonathan Wakely <jwakely@redhat.com> |
365 | ||
366 | PR libstdc++/88881 | |
367 | * src/c++17/fs_ops.cc (fs::status): Re-enable workaround. | |
368 | ||
369 | 2021-02-10 Jonathan Wakely <jwakely@redhat.com> | |
370 | ||
371 | * src/c++17/fs_ops.cc (fs::create_hard_link, fs::equivalent) | |
372 | (fs::remove): Use std::system_category() for error codes from | |
373 | GetLastError(). | |
374 | * src/filesystem/ops.cc (fs::create_hard_link, fs::remove): | |
375 | Likewise. | |
376 | ||
377 | 2021-02-10 Jonathan Wakely <jwakely@redhat.com> | |
378 | ||
379 | * testsuite/27_io/filesystem/operations/proximate.cc: Fix typo | |
380 | in __MINGW32__ macro name. | |
381 | * testsuite/27_io/filesystem/path/compare/lwg2936.cc: Likewise. | |
382 | * testsuite/27_io/filesystem/path/generation/proximate.cc: | |
383 | Likewise. | |
384 | * testsuite/27_io/filesystem/path/generation/relative.cc: | |
385 | Likewise. | |
386 | * testsuite/util/testsuite_fs.h: Likewise. | |
387 | ||
0a91b73e GA |
388 | 2021-02-09 François Dumont <fdumont@gcc.gnu.org> |
389 | ||
390 | * include/bits/stl_tree.h | |
391 | (__has_is_transparent, __has_is_transparent_t): Move... | |
392 | * include/bits/stl_function.h: ...here. | |
393 | * include/bits/hashtable_policy.h (_Hash_code_base<>::_M_hash_code_tr): New.. | |
394 | (_Hashtable_base<>::_M_equals_tr): New. | |
395 | * include/bits/hashtable.h (_Hashtable<>::_M_find_tr, _Hashtable<>::_M_count_tr, | |
396 | _Hashtable<>::_M_equal_range_tr): New member function templates to perform | |
397 | heterogeneous lookup. | |
398 | (_Hashtable<>::_M_find_before_node_tr): New. | |
399 | (_Hashtable<>::_M_find_node_tr): New. | |
400 | * include/bits/unordered_map.h (unordered_map::find<>, unordered_map::count<>, | |
401 | unordered_map::contains<>, unordered_map::equal_range<>): New member function | |
402 | templates to perform heterogeneous lookup. | |
403 | (unordered_multimap::find<>, unordered_multimap::count<>, | |
404 | unordered_multimap::contains<>, unordered_multimap::equal_range<>): Likewise. | |
405 | * include/bits/unordered_set.h (unordered_set::find<>, unordered_set::count<>, | |
406 | unordered_set::contains<>, unordered_set::equal_range<>): Likewise. | |
407 | (unordered_multiset::find<>, unordered_multiset::count<>, | |
408 | unordered_multiset::contains<>, unordered_multiset::equal_range<>): Likewise. | |
409 | * include/debug/unordered_map | |
410 | (unordered_map::find<>, unordered_map::equal_range<>): Likewise. | |
411 | (unordered_multimap::find<>, unordered_multimap::equal_range<>): Likewise. | |
412 | * include/debug/unordered_set | |
413 | (unordered_set::find<>, unordered_set::equal_range<>): Likewise. | |
414 | (unordered_multiset::find<>, unordered_multiset::equal_range<>): Likewise. | |
415 | * testsuite/23_containers/unordered_map/operations/1.cc: New test. | |
416 | * testsuite/23_containers/unordered_multimap/operations/1.cc: New test. | |
417 | * testsuite/23_containers/unordered_multiset/operations/1.cc: New test. | |
418 | * testsuite/23_containers/unordered_set/operations/1.cc: New test. | |
419 | ||
420 | 2021-02-09 François Dumont <fdumont@gcc.gnu.org> | |
421 | ||
422 | * include/bits/stl_deque.h | |
423 | (std::operator-(deque::iterator, deque::iterator)): Replace if/then with | |
424 | a null pointer test. | |
425 | ||
426 | 2021-02-09 Jonathan Wakely <jwakely@redhat.com> | |
427 | ||
428 | * testsuite/27_io/filesystem/operations/remove_all.cc: Remove | |
429 | test directory after making it writable again. | |
430 | * testsuite/experimental/filesystem/operations/remove_all.cc: | |
431 | Likewise. | |
432 | ||
433 | 2021-02-09 Jonathan Wakely <jwakely@redhat.com> | |
434 | ||
435 | PR libstdc++/99021 | |
436 | * include/std/coroutine (coroutine_handle<P>::from_address): Add | |
437 | noexcept. | |
438 | ||
439 | 2021-02-09 Vladimir Vishnevsky <vv.os.swe@gmail.com> | |
440 | ||
441 | * include/ext/stdio_sync_filebuf.h: Remove unused <unistd.h>. | |
442 | * src/c++17/fs_ops.cc (fs::permissions): Qualify mode_t. | |
443 | ||
444 | 2021-02-09 Jakub Jelinek <jakub@redhat.com> | |
445 | ||
446 | PR middle-end/98465 | |
447 | * include/bits/basic_string.tcc (basic_string::_M_replace): When __s | |
448 | points to the characters moved by earlier _S_move, compute the source | |
449 | address using expression based on the __p pointer rather than __s | |
450 | pointer. | |
451 | ||
9faaa807 GA |
452 | 2021-02-03 Jonathan Wakely <jwakely@redhat.com> |
453 | ||
454 | * testsuite/19_diagnostics/error_code/operators/not_equal.cc: | |
455 | Add comparison with same category and different values. | |
456 | * testsuite/19_diagnostics/error_code/operators/less.cc: | |
457 | Likewise. Fix comparison involving different categories. | |
458 | * testsuite/19_diagnostics/error_code/operators/three_way.cc: | |
459 | Likewise. | |
460 | * testsuite/19_diagnostics/error_condition/operators/less.cc: | |
461 | Add comment. | |
462 | * testsuite/19_diagnostics/error_condition/operators/three_way.cc: | |
463 | Likewise. | |
464 | ||
465 | 2021-02-03 yaozhongxiao <yaozhongxiao@linux.alibaba.com> | |
466 | ||
467 | * include/experimental/bits/simd_neon.h: Replace repeated vpadd | |
468 | calls with a single vaddv for aarch64. | |
469 | ||
470 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
471 | ||
472 | * testsuite/Makefile.am: Warn about the workaround. Add | |
473 | -fno-tree-vrp to CXXFLAGS passed to the check_simd script. | |
474 | Improve initial user feedback from make check-simd. | |
475 | * testsuite/Makefile.in: Regenerated. | |
476 | ||
477 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
478 | ||
479 | * include/experimental/bits/simd.h: Add __detail::_Minimum and | |
480 | __detail::_Maximum to use them as _BinaryOperation to _S_reduce. | |
481 | Add hmin and hmax overloads for simd and const_where_expression. | |
482 | * include/experimental/bits/simd_scalar.h | |
483 | (_SimdImplScalar::_S_reduce): Make unused _BinaryOperation | |
484 | parameter const-ref to allow calling _S_reduce with an rvalue. | |
485 | * testsuite/experimental/simd/tests/reductions.cc: Add tests for | |
486 | hmin and hmax. Since the compiler statically determined that all | |
487 | tests pass, repeat the test after a call to make_value_unknown. | |
488 | ||
489 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
490 | ||
491 | * testsuite/experimental/simd/tests/bits/verify.h (verify): Add | |
492 | instruction pointer data member. Ensure that the `if (m_failed)` | |
493 | branch is always inlined into the calling code. The body of the | |
494 | conditional can still be a function call. Move the get_ip call | |
495 | into the verify ctor to simplify the ctor calls. | |
496 | (COMPARE): Don't mention the use of all_of for reduction of a | |
497 | simd_mask. It only distracts from the real issue. | |
498 | ||
499 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
500 | ||
501 | * testsuite/experimental/simd/driver.sh: Abstract reading test | |
502 | options into read_src_option function. Read skip, only, | |
503 | expensive, and xfail via read_src_option. Add timeout and | |
504 | timeout-factor options and adjust timeout variable accordingly. | |
505 | * testsuite/experimental/simd/tests/loadstore.cc: Set | |
506 | timeout-factor 2. | |
507 | ||
508 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
509 | ||
510 | * testsuite/experimental/simd/driver.sh: When handling the pipe | |
511 | to log (and on verbose to stdout) count the lines. If it exceeds | |
512 | 1000 log the issue and exit 125, which is then handled as a | |
513 | failure. | |
514 | ||
515 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
516 | ||
517 | * testsuite/experimental/simd/tests/hypot3_fma.cc: Add skip: | |
518 | markup for long double on powerpc64*. | |
519 | ||
520 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
521 | ||
522 | * include/experimental/bits/simd.h: Add __have_power10vec | |
523 | conditional on _ARCH_PWR10. | |
524 | * include/experimental/bits/simd_builtin.h: Forward declare | |
525 | _MaskImplPpc and use it as _MaskImpl when __ALTIVEC__ is | |
526 | defined. | |
527 | (_MaskImplBuiltin::_S_some_of): Call _S_popcount from the | |
528 | _SuperImpl for optimizations and correctness. | |
529 | * include/experimental/bits/simd_ppc.h: Add _MaskImplPpc. | |
530 | (_MaskImplPpc::_S_popcount): Implement via vec_cntm for POWER10. | |
531 | Otherwise, for >=int use -vec_sums divided by a sizeof factor. | |
532 | For <int use -vec_sums(vec_sum4s(...)) to sum all mask entries. | |
533 | ||
534 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
535 | ||
536 | * testsuite/experimental/simd/driver.sh: Remove executable on | |
537 | SIGINT. Process compiler and test executable output: In verbose | |
538 | mode print messages immediately, limited to 1000 lines and | |
539 | breaking long lines to below $COLUMNS (or 1024 if not set). | |
540 | Communicating the exit status of the compiler / test with the | |
541 | necessary pipe is done via a message through stdout/-in. | |
542 | ||
543 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
544 | ||
545 | * testsuite/Makefile.am: Ensure .simd.summary is empty before | |
546 | collecting a new summary. | |
547 | * testsuite/Makefile.in: Regenerate. | |
548 | ||
549 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
550 | ||
551 | * testsuite/experimental/simd/generate_makefile.sh: Use | |
552 | different variables internally than documented for user | |
553 | overrides. This makes internal append/prepend work as intended. | |
554 | ||
555 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
556 | ||
557 | * testsuite/experimental/simd/driver.sh (verify_test): Print | |
558 | test output on run xfail. Do not repeat lines from the log that | |
559 | were already printed on stdout. | |
560 | (test_selector): Make the compiler flags pattern usable as a | |
561 | substring selector. | |
562 | (toplevel): Trap on SIGINT and remove the log and sum files. | |
563 | Call timout with --foreground to quickly terminate on SIGINT. | |
564 | * testsuite/experimental/simd/generate_makefile.sh: Simplify run | |
565 | targets via target patterns. Default DRIVEROPTS to -v for run | |
566 | targets. Remove log and sum files after completion of the run | |
567 | target (so that it's always recompiled). | |
568 | Place help text into text file for reasonable 'make help' | |
569 | performance. | |
570 | ||
571 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
572 | ||
573 | * include/experimental/bits/simd.h: Remove unnecessary static | |
574 | assertion. Allow sizeof(8) integer __intrinsic_type to enable | |
575 | the necessary mask type. | |
576 | ||
577 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
578 | ||
579 | * include/experimental/bits/simd.h: Let __intrinsic_type<long | |
580 | double, N> be valid if sizeof(long double) == sizeof(double) and | |
581 | use a __vector double as member type. | |
582 | ||
583 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
584 | ||
585 | * include/experimental/bits/simd.h (__is_intrinsic_type): New | |
586 | internal type trait. Alias for __is_vector_type on x86. | |
587 | (_VectorTraitsImpl): Enable for __intrinsic_type in addition for | |
588 | __vector_type. | |
589 | (__intrin_bitcast): Allow casting to & from vector & intrinsic | |
590 | types. | |
591 | (__intrinsic_type): Explicitly specialize for NEON intrinsic | |
592 | vector types. | |
593 | ||
594 | 2021-02-03 Matthias Kretz <kretz@kde.org> | |
595 | ||
596 | * testsuite/experimental/simd/driver.sh: Implement skip, only, | |
597 | expensive, and xfail markers. They can select on type, ABI tag | |
598 | subset number, target-triplet, and compiler flags. | |
599 | * testsuite/experimental/simd/generate_makefile.sh: The summary | |
600 | now includes lines for unexpected passes and expected failures. | |
601 | If the skip or only markers are only conditional on the type, do | |
602 | not generate rules for those types. | |
603 | * testsuite/experimental/simd/tests/abs.cc: Mark test expensive | |
604 | for ABI tag subsets 1-9. | |
605 | * testsuite/experimental/simd/tests/algorithms.cc: Ditto. | |
606 | * testsuite/experimental/simd/tests/broadcast.cc: Ditto. | |
607 | * testsuite/experimental/simd/tests/casts.cc: Ditto. | |
608 | * testsuite/experimental/simd/tests/generator.cc: Ditto. | |
609 | * testsuite/experimental/simd/tests/integer_operators.cc: Ditto. | |
610 | * testsuite/experimental/simd/tests/loadstore.cc: Ditto. | |
611 | * testsuite/experimental/simd/tests/mask_broadcast.cc: Ditto. | |
612 | * testsuite/experimental/simd/tests/mask_conversions.cc: Ditto. | |
613 | * testsuite/experimental/simd/tests/mask_implicit_cvt.cc: Ditto. | |
614 | * testsuite/experimental/simd/tests/mask_loadstore.cc: Ditto. | |
615 | * testsuite/experimental/simd/tests/mask_operator_cvt.cc: Ditto. | |
616 | * testsuite/experimental/simd/tests/mask_operators.cc: Ditto. | |
617 | * testsuite/experimental/simd/tests/mask_reductions.cc: Ditto. | |
618 | * testsuite/experimental/simd/tests/operator_cvt.cc: Ditto. | |
619 | * testsuite/experimental/simd/tests/operators.cc: Ditto. | |
620 | * testsuite/experimental/simd/tests/reductions.cc: Ditto. | |
621 | * testsuite/experimental/simd/tests/simd.cc: Ditto. | |
622 | * testsuite/experimental/simd/tests/split_concat.cc: Ditto. | |
623 | * testsuite/experimental/simd/tests/splits.cc: Ditto. | |
624 | * testsuite/experimental/simd/tests/where.cc: Ditto. | |
625 | * testsuite/experimental/simd/tests/fpclassify.cc: Ditto. In | |
626 | addition replace "test only floattypes" marker by unconditional | |
627 | "float|double|ldouble" only marker. | |
628 | * testsuite/experimental/simd/tests/frexp.cc: Ditto. | |
629 | * testsuite/experimental/simd/tests/hypot3_fma.cc: Ditto. | |
630 | * testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_modf.cc: | |
631 | Ditto. | |
632 | * testsuite/experimental/simd/tests/logarithm.cc: Ditto. | |
633 | * testsuite/experimental/simd/tests/math_1arg.cc: Ditto. | |
634 | * testsuite/experimental/simd/tests/math_2arg.cc: Ditto. | |
635 | * testsuite/experimental/simd/tests/remqo.cc: Ditto. | |
636 | * testsuite/experimental/simd/tests/trigonometric.cc: Ditto. | |
637 | * testsuite/experimental/simd/tests/trunc_ceil_floor.cc: Ditto. | |
638 | * testsuite/experimental/simd/tests/sincos.cc: Ditto. In | |
639 | addition, xfail on run because the reference data is missing. | |
640 | ||
548b75d8 GA |
641 | 2021-02-02 Jonathan Wakely <jwakely@redhat.com> |
642 | ||
643 | * doc/xml/manual/status_cxx2011.xml: Remove stray table cell. | |
644 | * doc/xml/manual/status_cxx2014.xml: Likewise. | |
645 | * doc/xml/manual/status_cxx2017.xml: Likewise. | |
646 | * doc/html/manual/status.html: Regenerate. | |
647 | ||
f7884fb1 GA |
648 | 2021-02-01 François Dumont <fdumont@gcc.gnu.org> |
649 | ||
650 | PR libstdc++/70303 | |
651 | * include/bits/stl_deque.h (std::deque<>::operator-(iterator, iterator)): | |
652 | Return 0 if both iterators are value-initialized. | |
653 | * testsuite/23_containers/deque/70303.cc: New test. | |
654 | * testsuite/23_containers/vector/70303.cc: New test. | |
655 | ||
656 | 2021-02-01 Jonathan Wakely <jwakely@redhat.com> | |
657 | ||
658 | * doc/xml/manual/status_cxx2011.xml: Update std::call_once | |
659 | status. | |
660 | * doc/xml/manual/status_cxx2014.xml: Likewise. | |
661 | * doc/xml/manual/status_cxx2017.xml: Likewise. Update | |
662 | std::from_chars and std::to_chars status. Fix formatting. | |
663 | * doc/html/manual/status.html: Regenerate. | |
664 | ||
85d04a2e GA |
665 | 2021-01-28 Jonathan Wakely <jwakely@redhat.com> |
666 | ||
667 | * include/experimental/bits/numeric_traits.h: Update copyright | |
668 | dates. | |
669 | * include/experimental/bits/simd.h: Likewise. | |
670 | * include/experimental/bits/simd_builtin.h: Likewise. | |
671 | * include/experimental/bits/simd_converter.h: Likewise. | |
672 | * include/experimental/bits/simd_detail.h: Likewise. | |
673 | * include/experimental/bits/simd_fixed_size.h: Likewise. | |
674 | * include/experimental/bits/simd_math.h: Likewise. | |
675 | * include/experimental/bits/simd_neon.h: Likewise. | |
676 | * include/experimental/bits/simd_ppc.h: Likewise. | |
677 | * include/experimental/bits/simd_scalar.h: Likewise. | |
678 | * include/experimental/bits/simd_x86.h: Likewise. | |
679 | * include/experimental/bits/simd_x86_conversions.h: Likewise. | |
680 | * include/experimental/simd: Likewise. | |
681 | * testsuite/experimental/simd/*: Likewise. | |
682 | ||
aa69f0a8 GA |
683 | 2021-01-27 Jonathan Wakely <jwakely@redhat.com> |
684 | ||
685 | * doc/xml/manual/status_cxx2017.xml: Replace invalid entity. | |
686 | * doc/html/*: Regenerate. | |
687 | ||
688 | 2021-01-27 Jonathan Wakely <jwakely@redhat.com> | |
689 | ||
690 | * testsuite/experimental/simd/generate_makefile.sh: Use printf | |
691 | instead of echo when printing escape characters. | |
692 | ||
693 | 2021-01-27 Matthias Kretz <kretz@kde.org> | |
694 | ||
695 | * scripts/check_simd: New file. This script is called from the | |
696 | the check-simd target. It determines a set of compiler flags and | |
697 | simulator setups for calling generate_makefile.sh and passes the | |
698 | information back to the check-simd target, which recurses to the | |
699 | generated Makefiles. | |
700 | * scripts/create_testsuite_files: Remove files below simd/tests/ | |
701 | from testsuite_files and place them in testsuite_files_simd. | |
702 | * testsuite/Makefile.am: Add testsuite_files_simd. Add | |
703 | check-simd target. | |
704 | * testsuite/Makefile.in: Regenerate. | |
705 | * testsuite/experimental/simd/driver.sh: New file. This script | |
706 | compiles and runs a given simd test, logging its output and | |
707 | status. It uses the timeout command to implement compile and | |
708 | test timeouts. | |
709 | * testsuite/experimental/simd/generate_makefile.sh: New file. | |
710 | This script generates a Makefile which uses driver.sh to compile | |
711 | and run the tests and collect the logs into a single log file. | |
712 | * testsuite/experimental/simd/tests/abs.cc: New file. Tests | |
713 | abs(simd). | |
714 | * testsuite/experimental/simd/tests/algorithms.cc: New file. | |
715 | Tests min/max(simd, simd). | |
716 | * testsuite/experimental/simd/tests/bits/conversions.h: New | |
717 | file. Contains functions to support tests involving conversions. | |
718 | * testsuite/experimental/simd/tests/bits/make_vec.h: New file. | |
719 | Support functions make_mask and make_vec. | |
720 | * testsuite/experimental/simd/tests/bits/mathreference.h: New | |
721 | file. Support functions to supply precomputed math function | |
722 | reference data. | |
723 | * testsuite/experimental/simd/tests/bits/metahelpers.h: New | |
724 | file. Support code for SFINAE testing. | |
725 | * testsuite/experimental/simd/tests/bits/simd_view.h: New file. | |
726 | * testsuite/experimental/simd/tests/bits/test_values.h: New | |
727 | file. Test functions to easily drive a test with simd objects | |
728 | initialized from a given list of values and a range of random | |
729 | values. | |
730 | * testsuite/experimental/simd/tests/bits/ulp.h: New file. | |
731 | Support code to determine the ULP distance of simd objects. | |
732 | * testsuite/experimental/simd/tests/bits/verify.h: New file. | |
733 | Test framework for COMPARE'ing simd objects and instantiating | |
734 | the test templates with value_type and ABI tag. | |
735 | * testsuite/experimental/simd/tests/broadcast.cc: New file. Test | |
736 | simd broadcasts. | |
737 | * testsuite/experimental/simd/tests/casts.cc: New file. Test | |
738 | simd casts. | |
739 | * testsuite/experimental/simd/tests/fpclassify.cc: New file. | |
740 | Test floating-point classification functions. | |
741 | * testsuite/experimental/simd/tests/frexp.cc: New file. Test | |
742 | frexp(simd). | |
743 | * testsuite/experimental/simd/tests/generator.cc: New file. Test | |
744 | simd generator constructor. | |
745 | * testsuite/experimental/simd/tests/hypot3_fma.cc: New file. | |
746 | Test 3-arg hypot(simd,simd,simd) and fma(simd,simd,sim). | |
747 | * testsuite/experimental/simd/tests/integer_operators.cc: New | |
748 | file. Test integer operators. | |
749 | * testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_modf.cc: | |
750 | New file. Test ldexp(simd), scalbn(simd), scalbln(simd), and | |
751 | modf(simd). | |
752 | * testsuite/experimental/simd/tests/loadstore.cc: New file. Test | |
753 | (converting) simd loads and stores. | |
754 | * testsuite/experimental/simd/tests/logarithm.cc: New file. Test | |
755 | log*(simd). | |
756 | * testsuite/experimental/simd/tests/mask_broadcast.cc: New file. | |
757 | Test simd_mask broadcasts. | |
758 | * testsuite/experimental/simd/tests/mask_conversions.cc: New | |
759 | file. Test simd_mask conversions. | |
760 | * testsuite/experimental/simd/tests/mask_implicit_cvt.cc: New | |
761 | file. Test simd_mask implicit conversions. | |
762 | * testsuite/experimental/simd/tests/mask_loadstore.cc: New file. | |
763 | Test simd_mask loads and stores. | |
764 | * testsuite/experimental/simd/tests/mask_operator_cvt.cc: New | |
765 | file. Test simd_mask operators convert as specified. | |
766 | * testsuite/experimental/simd/tests/mask_operators.cc: New file. | |
767 | Test simd_mask compares, subscripts, and negation. | |
768 | * testsuite/experimental/simd/tests/mask_reductions.cc: New | |
769 | file. Test simd_mask reductions. | |
770 | * testsuite/experimental/simd/tests/math_1arg.cc: New file. Test | |
771 | 1-arg math functions on simd. | |
772 | * testsuite/experimental/simd/tests/math_2arg.cc: New file. Test | |
773 | 2-arg math functions on simd. | |
774 | * testsuite/experimental/simd/tests/operator_cvt.cc: New file. | |
775 | Test implicit conversions on simd binary operators behave as | |
776 | specified. | |
777 | * testsuite/experimental/simd/tests/operators.cc: New file. Test | |
778 | simd compares, subscripts, not, unary minus, plus, minus, | |
779 | multiplies, divides, increment, and decrement. | |
780 | * testsuite/experimental/simd/tests/reductions.cc: New file. | |
781 | Test reduce(simd). | |
782 | * testsuite/experimental/simd/tests/remqo.cc: New file. Test | |
783 | remqo(simd). | |
784 | * testsuite/experimental/simd/tests/simd.cc: New file. Basic | |
785 | sanity checks of simd types. | |
786 | * testsuite/experimental/simd/tests/sincos.cc: New file. Test | |
787 | sin(simd) and cos(simd). | |
788 | * testsuite/experimental/simd/tests/split_concat.cc: New file. | |
789 | Test split(simd) and concat(simd, simd). | |
790 | * testsuite/experimental/simd/tests/splits.cc: New file. Test | |
791 | split(simd_mask). | |
792 | * testsuite/experimental/simd/tests/trigonometric.cc: New file. | |
793 | Test remaining trigonometric functions on simd. | |
794 | * testsuite/experimental/simd/tests/trunc_ceil_floor.cc: New | |
795 | file. Test trunc(simd), ceil(simd), and floor(simd). | |
796 | * testsuite/experimental/simd/tests/where.cc: New file. Test | |
797 | masked operations using where. | |
798 | ||
799 | 2021-01-27 Matthias Kretz <kretz@kde.org> | |
800 | ||
801 | * doc/xml/manual/status_cxx2017.xml: Add implementation status | |
802 | of the Parallelism TS 2. Document implementation-defined types | |
803 | and behavior. | |
804 | * include/Makefile.am: Add new headers. | |
805 | * include/Makefile.in: Regenerate. | |
806 | * include/experimental/simd: New file. New header for | |
807 | Parallelism TS 2. | |
808 | * include/experimental/bits/numeric_traits.h: New file. | |
809 | Implementation of P1841R1 using internal naming. Addition of | |
810 | missing IEC559 functionality query. | |
811 | * include/experimental/bits/simd.h: New file. Definition of the | |
812 | public simd interfaces and general implementation helpers. | |
813 | * include/experimental/bits/simd_builtin.h: New file. | |
814 | Implementation of the _VecBuiltin simd_abi. | |
815 | * include/experimental/bits/simd_converter.h: New file. Generic | |
816 | simd conversions. | |
817 | * include/experimental/bits/simd_detail.h: New file. Internal | |
818 | macros for the simd implementation. | |
819 | * include/experimental/bits/simd_fixed_size.h: New file. Simd | |
820 | fixed_size ABI specific implementations. | |
821 | * include/experimental/bits/simd_math.h: New file. Math | |
822 | overloads for simd. | |
823 | * include/experimental/bits/simd_neon.h: New file. Simd NEON | |
824 | specific implementations. | |
825 | * include/experimental/bits/simd_ppc.h: New file. Implement bit | |
826 | shifts to avoid invalid results for integral types smaller than | |
827 | int. | |
828 | * include/experimental/bits/simd_scalar.h: New file. Simd scalar | |
829 | ABI specific implementations. | |
830 | * include/experimental/bits/simd_x86.h: New file. Simd x86 | |
831 | specific implementations. | |
832 | * include/experimental/bits/simd_x86_conversions.h: New file. | |
833 | x86 specific conversion optimizations. The conversion patterns | |
834 | work around missing conversion patterns in the compiler and | |
835 | should be removed as soon as PR85048 is resolved. | |
836 | * testsuite/experimental/simd/standard_abi_usable.cc: New file. | |
837 | Test that all (not all fixed_size<N>, though) standard simd and | |
838 | simd_mask types are usable. | |
839 | * testsuite/experimental/simd/standard_abi_usable_2.cc: New | |
840 | file. As above but with -ffast-math. | |
841 | * testsuite/libstdc++-dg/conformance.exp: Don't build simd tests | |
842 | from the standard test loop. Instead use | |
843 | check_vect_support_and_set_flags to build simd tests with the | |
844 | relevant machine flags. | |
845 | ||
846 | 2021-01-27 Jonathan Wakely <jwakely@redhat.com> | |
847 | ||
848 | PR libstdc++/66414 | |
849 | * include/bits/string_view.tcc | |
850 | (basic_string_view::find(const CharT*, size_type, size_type)): | |
851 | Optimize. | |
852 | ||
853 | 2021-01-27 Paul Fee <paul.f.fee@gmail.com> | |
854 | ||
855 | * include/bits/basic_string.h (basic_string::contains): New | |
856 | member functions. | |
857 | * include/std/string_view (basic_string_view::contains): | |
858 | Likewise. | |
859 | * include/std/version (__cpp_lib_string_contains): Define. | |
860 | * testsuite/21_strings/basic_string/operations/starts_with/char/1.cc: | |
861 | Remove trailing whitespace. | |
862 | * testsuite/21_strings/basic_string/operations/starts_with/wchar_t/1.cc: | |
863 | Likewise. | |
864 | * testsuite/21_strings/basic_string/operations/contains/char/1.cc: New test. | |
865 | * testsuite/21_strings/basic_string/operations/contains/wchar_t/1.cc: New test. | |
866 | * testsuite/21_strings/basic_string_view/operations/contains/char/1.cc: New test. | |
867 | * testsuite/21_strings/basic_string_view/operations/contains/char/2.cc: New test. | |
868 | * testsuite/21_strings/basic_string_view/operations/contains/wchar_t/1.cc: New test. | |
869 | ||
7559d465 GA |
870 | 2021-01-21 Jonathan Wakely <jwakely@redhat.com> |
871 | ||
872 | * src/c++17/Makefile.in: Regenerate. | |
873 | ||
b93d0e36 GA |
874 | 2021-01-20 David Edelsohn <dje.gcc@gmail.com> |
875 | ||
876 | * config/os/aix/ctype_inline.h (bool ctype<char>:: is): Cast | |
877 | _OBJ_DATA subscript to unsigned char. Add _THREAD_SAFE access to | |
878 | __lc_type. | |
879 | (const char* ctype<char>:: is): Same. | |
880 | ||
ef1f8ee6 GA |
881 | 2021-01-18 Jonathan Wakely <jwakely@redhat.com> |
882 | ||
883 | PR libstdc++/98725 | |
884 | * testsuite/20_util/unique_ptr/io/lwg2948.cc: Do not try to | |
885 | write to a wide character stream if wide character support is | |
886 | disabled in the library. | |
887 | ||
888 | 2021-01-18 Jonathan Wakely <jwakely@redhat.com> | |
889 | ||
890 | * testsuite/27_io/basic_stringstream/cons/char/1.cc: Use | |
891 | stringbuf not wstringbuf. | |
892 | ||
893 | 2021-01-18 Jakub Jelinek <jakub@redhat.com> | |
894 | ||
895 | PR debug/98708 | |
896 | * src/c++11/Makefile.am (cxx11-ios_failure-lt.s, cxx11-ios_failure.s): | |
897 | Compile with -gno-as-loc-support. | |
898 | * src/c++11/Makefile.in: Regenerated. | |
899 | ||
59cf67d1 GA |
900 | 2021-01-16 H.J. Lu <hjl.tools@gmail.com> |
901 | ||
902 | * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc: | |
903 | Add -fcf-protection=none to -march=i486. | |
904 | ||
5fff80fd GA |
905 | 2021-01-14 François Dumont <fdumont@gcc.gnu.org> |
906 | ||
907 | * testsuite/23_containers/deque/debug/98466.cc: Make it pre-C++11 | |
908 | compliant. | |
909 | ||
910 | 2021-01-14 Alexandre Oliva <oliva@adacore.com> | |
911 | ||
912 | * testsuite/30_threads/future/members/poll.cc: Calibrate | |
913 | iteration count. | |
914 | ||
915 | 2021-01-14 François Dumont <fdumont@gcc.gnu.org> | |
916 | ||
917 | PR libstdc++/98466 | |
918 | * include/bits/hashtable_policy.h (_Node_iterator_base()): Set _M_cur to nullptr. | |
919 | (_Node_iterator()): Make default. | |
920 | (_Node_const_iterator()): Make default. | |
921 | * include/debug/macros.h (__glibcxx_check_erae_range_after): Add _M_singular | |
922 | iterator checks. | |
923 | * include/debug/safe_iterator.h | |
924 | (_GLIBCXX_DEBUG_VERIFY_OPERANDS): Accept if both iterator are value initialized. | |
925 | * include/debug/safe_local_iterator.h (_GLIBCXX_DEBUG_VERIFY_OPERANDS): | |
926 | Likewise. | |
927 | * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): Add | |
928 | _M_singular checks on input iterators. | |
929 | * src/c++11/debug.cc (_Safe_iterator_base::_M_can_compare): Remove _M_singular | |
930 | checks. | |
931 | * testsuite/23_containers/deque/debug/98466.cc: New test. | |
932 | * testsuite/23_containers/unordered_map/debug/98466.cc: New test. | |
933 | ||
934 | 2021-01-14 Jonathan Wakely <jwakely@redhat.com> | |
935 | ||
936 | PR libstdc++/98471 | |
937 | * include/bits/fs_path.h (__throw_conversion_error): New | |
938 | function to throw or abort on character conversion errors. | |
939 | (__wstr_from_utf8): Move definition after filesystem_error has | |
940 | been defined. Use __throw_conversion_error. | |
941 | (path::_S_convert<_EcharT>): Use __throw_conversion_error. | |
942 | (path::_S_str_convert<_CharT, _Traits, _Allocator>): Likewise. | |
943 | (path::u8string): Likewise. | |
944 | ||
945 | 2021-01-14 Jonathan Wakely <jwakely@redhat.com> | |
946 | ||
947 | * include/std/barrier: Update copyright years. Fix whitespace. | |
948 | * include/std/version: Fix whitespace. | |
949 | * testsuite/30_threads/barrier/1.cc: Update copyright years. | |
950 | * testsuite/30_threads/barrier/2.cc: Likewise. | |
951 | * testsuite/30_threads/barrier/arrive.cc: Likewise. | |
952 | * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise. | |
953 | * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise. | |
954 | * testsuite/30_threads/barrier/completion.cc: Likewise. | |
955 | ||
be0851b8 GA |
956 | 2021-01-13 Jonathan Wakely <jwakely@redhat.com> |
957 | ||
958 | * doc/doxygen/user.cfg.in (INPUT): Remove include/debug/array. | |
959 | ||
366f86bd GA |
960 | 2021-01-10 David Edelsohn <dje.gcc@gmail.com> |
961 | ||
962 | PR libstdc++/98613 | |
963 | * testsuite/ext/vstring/cons/moveable.cc: Suppress false positive | |
964 | warning. | |
965 | * testsuite/ext/vstring/modifiers/assign/move_assign.cc: Same. | |
966 | ||
bf5cbb9e GA |
967 | 2021-01-08 Olivier Hainque <hainque@adacore.com> |
968 | ||
969 | * testsuite/20_util/bind/ref_neg.cc: Tweak the | |
970 | dg-prune-output regex for out-of-build-tree contexts. | |
971 | ||
7d187e4f GA |
972 | 2021-01-07 Thomas Rodgers <trodgers@redhat.com> |
973 | ||
974 | * doc/doxygen/user.cfg.in: Add new header. | |
975 | * include/Makefile.am (std_headers): likewise. | |
976 | * include/Makefile.in: Regenerate. | |
977 | * include/precompiled/stdc++.h: Add new header. | |
978 | * include/std/barrier: New file. | |
979 | * include/std/version: Add __cpp_lib_barrier feature test macro. | |
980 | * testsuite/30_threads/barrier/1.cc: New test. | |
981 | * testsuite/30_threads/barrier/2.cc: Likewise. | |
982 | * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise. | |
983 | * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise. | |
984 | * testsuite/30_threads/barrier/arrive.cc: Likewise. | |
985 | * testsuite/30_threads/barrier/completion.cc: Likewise. | |
986 | ||
987 | 2021-01-07 Patrick Palka <ppalka@redhat.com> | |
988 | ||
989 | PR libstdc++/98384 | |
990 | * testsuite/20_util/to_chars/long_double.cc: Use nexttowardl | |
991 | instead of the non-standard nextupl and nextdownl. | |
992 | ||
651b8a50 GA |
993 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> |
994 | ||
995 | * configure: Re-generate. | |
996 | ||
997 | 2021-01-05 Ed Smith-Rowland <3dw4rd@verizon.net> | |
998 | ||
999 | * include/precompiled/stdc++.h: Add <source_location> to C++20 section. | |
1000 | ||
b6dd195a GA |
1001 | 2021-01-01 Jakub Jelinek <jakub@redhat.com> |
1002 | ||
1003 | * ChangeLog-2020: Rotate ChangeLog. New file. | |
1004 | ||
b4df5e92 | 1005 | \f |
618e665a | 1006 | Copyright (C) 2021 Free Software Foundation, Inc. |
b4df5e92 JW |
1007 | |
1008 | Copying and distribution of this file, with or without modification, | |
1009 | are permitted in any medium without royalty provided the copyright | |
1010 | notice and this notice are preserved. |