]>
Commit | Line | Data |
---|---|---|
7db12d15 PP |
1 | 2020-02-05 Patrick Palka <ppalka@redhat.com> |
2 | ||
3 | * include/bits/stl_iterator.h (move_iterator::move_iterator): Move __i | |
4 | when initializing _M_current. | |
5 | (move_iterator::base): Split into two overloads differing in | |
6 | ref-qualifiers as in P1207R4 for C++20. | |
7 | ||
9962493c JW |
8 | 2020-02-04 Jonathan Wakely <jwakely@redhat.com> |
9 | ||
9bc5bea1 JW |
10 | * include/std/functional (_GLIBCXX_NOT_FN_CALL_OP): Un-define after |
11 | use. | |
12 | ||
9962493c JW |
13 | PR libstdc++/93562 |
14 | * include/bits/unique_ptr.h (__uniq_ptr_impl::swap): Define. | |
15 | (unique_ptr::swap, unique_ptr<T[], D>::swap): Call it. | |
16 | * testsuite/20_util/unique_ptr/modifiers/93562.cc: New test. | |
17 | ||
20fa702b AB |
18 | 2020-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
19 | ||
20 | * configure: Regenerate. | |
21 | ||
6e5a1963 PP |
22 | 2020-01-31 Patrick Palka <ppalka@redhat.com> |
23 | ||
24 | * testsuite/24_iterators/range_operations/distance.cc: Do not assume | |
25 | test_range::end() returns the same type as test_range::begin(). | |
26 | * testsuite/24_iterators/range_operations/next.cc: Likewise. | |
27 | * testsuite/24_iterators/range_operations/prev.cc: Likewise. | |
28 | * testsuite/util/testsuite_iterators.h (__gnu_test::test_range::end): | |
29 | Always return a sentinel<I>. | |
30 | ||
5cd2e126 JW |
31 | 2020-01-29 Jonathan Wakely <jwakely@redhat.com> |
32 | ||
0a8f4feb JW |
33 | PR libstdc++/92895 |
34 | * include/std/stop_token (stop_token::stop_possible()): Call new | |
35 | _M_stop_possible() function. | |
36 | (stop_token::stop_requested()): Do not use stop_possible(). | |
37 | (stop_token::binary_semaphore): New class, as temporary stand-in for | |
38 | std::binary_semaphore. | |
39 | (stop_token::_Stop_cb::_M_callback): Add noexcept to type. | |
40 | (stop_token::_Stop_cb::_M_destroyed, stop_token::_Stop_cb::_M_done): | |
41 | New data members for symchronization with stop_callback destruction. | |
42 | (stop_token::_Stop_cb::_Stop_cb): Make non-template. | |
43 | (stop_token::_Stop_cb::_M_linked, stop_token::_Stop_cb::_S_execute): | |
44 | Remove. | |
45 | (stop_token::_Stop_cb::_M_run): New member function. | |
46 | (stop_token::_Stop_state::_M_stopped, stop_token::_Stop_state::_M_mtx): | |
47 | Remove. | |
48 | (stop_token::_Stop_state::_M_owners): New data member to track | |
49 | reference count for ownership. | |
50 | (stop_token::_Stop_state::_M_value): New data member combining a | |
51 | spinlock, the stop requested flag, and the reference count for | |
52 | associated stop_source objects. | |
53 | (stop_token::_Stop_state::_M_requester): New data member for | |
54 | synchronization with stop_callback destruction. | |
55 | (stop_token::_Stop_state::_M_stop_possible()): New member function. | |
56 | (stop_token::_Stop_state::_M_stop_requested()): Inspect relevant bit | |
57 | of _M_value. | |
58 | (stop_token::_Stop_state::_M_add_owner) | |
59 | (stop_token::_Stop_state::_M_release_ownership) | |
60 | (stop_token::_Stop_state::_M_add_ssrc) | |
61 | (stop_token::_Stop_state::_M_sub_ssrc): New member functions for | |
62 | updating reference counts. | |
63 | (stop_token::_Stop_state::_M_lock, stop_token::_Stop_state::_M_unlock) | |
64 | (stop_token::_Stop_state::_M_lock, stop_token::_Stop_state::_M_unlock) | |
65 | (stop_token::_Stop_state::_M_try_lock) | |
66 | (stop_token::_Stop_state::_M_try_lock_and_stop) | |
67 | (stop_token::_Stop_state::_M_do_try_lock): New member functions for | |
68 | managing spinlock. | |
69 | (stop_token::_Stop_state::_M_request_stop): Use atomic operations to | |
70 | read and update state. Release lock while running callbacks. Use new | |
71 | data members to synchronize with callback destruction. | |
72 | (stop_token::_Stop_state::_M_remove_callback): Likewise. | |
73 | (stop_token::_Stop_state::_M_register_callback): Use atomic operations | |
74 | to read and update state. | |
75 | (stop_token::_Stop_state_ref): Handle type to manage _Stop_state, | |
76 | replacing shared_ptr. | |
77 | (stop_source::stop_source(const stop_source&)): Update reference count. | |
78 | (stop_source::operator=(const stop_source&)): Likewise. | |
79 | (stop_source::~stop_source()): Likewise. | |
80 | (stop_source::stop_source(stop_source&&)): Define as defaulted. | |
81 | (stop_source::operator=(stop_source&&)): Establish postcondition on | |
82 | parameter. | |
83 | (stop_callback): Enforce preconditions on template parameter. Replace | |
84 | base class with data member of new _Cb_impl type. | |
85 | (stop_callback::stop_callback(const stop_token&, Cb&&)) | |
86 | (stop_callback::stop_callback(stop_token&&, Cb&&)): Fix TOCTTOU race. | |
87 | (stop_callback::_Cb_impl): New type wrapping _Callback member and | |
88 | defining the _S_execute member function. | |
89 | * testsuite/30_threads/stop_token/stop_callback/deadlock-mt.cc: New | |
90 | test. | |
91 | * testsuite/30_threads/stop_token/stop_callback/deadlock.cc: New test. | |
92 | * testsuite/30_threads/stop_token/stop_callback/destroy.cc: New test. | |
93 | * testsuite/30_threads/stop_token/stop_callback/destructible_neg.cc: | |
94 | New test. | |
95 | * testsuite/30_threads/stop_token/stop_callback/invocable_neg.cc: New | |
96 | test. | |
97 | * testsuite/30_threads/stop_token/stop_callback/invoke.cc: New test. | |
98 | * testsuite/30_threads/stop_token/stop_source/assign.cc: New test. | |
99 | * testsuite/30_threads/stop_token/stop_token/stop_possible.cc: New | |
100 | test. | |
101 | ||
f214ffb3 JW |
102 | * libsupc++/compare (__detail::__3way_builtin_ptr_cmp): Use |
103 | three_way_comparable_with. | |
104 | (__detail::__3way_cmp_with): Remove workaround for fixed bug. | |
105 | (compare_three_way::operator()): Remove redundant constraint from | |
106 | requires-clause. | |
107 | (__detail::_Synth3way::operator()): Use three_way_comparable_with | |
108 | instead of workaround. | |
109 | * testsuite/18_support/comparisons/object/93479.cc: Prune extra | |
110 | output due to simplified constraints on compare_three_way::operator(). | |
111 | ||
83b02010 JW |
112 | PR libstdc++/93479 |
113 | * libsupc++/compare (__3way_builtin_ptr_cmp): Require <=> to be valid. | |
114 | * testsuite/18_support/comparisons/object/93479.cc: New test. | |
115 | ||
5cd2e126 JW |
116 | * testsuite/std/ranges/access/end.cc: Do not assume test_range::end() |
117 | returns the same type as test_range::begin(). Add comments. | |
118 | * testsuite/std/ranges/access/rbegin.cc: Likewise. | |
119 | * testsuite/std/ranges/access/rend.cc: Likewise. | |
120 | * testsuite/std/ranges/range.cc: Do not assume the sentinel for | |
121 | test_range is the same as its iterator type. | |
122 | * testsuite/util/testsuite_iterators.h (test_range::sentinel): Add | |
123 | operator- overloads to satisfy sized_sentinel_for when the iterator | |
124 | satisfies random_access_iterator. | |
125 | ||
759812fd JW |
126 | 2020-01-28 Jonathan Wakely <jwakely@redhat.com> |
127 | ||
72a9fd20 JW |
128 | PR libstdc++/93470 |
129 | * include/bits/refwrap.h (reference_wrapper::operator()): Restrict | |
130 | static assertion to object types. | |
131 | ||
759812fd JW |
132 | PR libstdc++/93325 |
133 | * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Use AC_SEARCH_LIBS for | |
134 | clock_gettime instead of explicit glibc version check. | |
135 | * configure: Regenerate. | |
136 | ||
a5d81aaa JW |
137 | 2020-01-28 Martin Liska <mliska@suse.cz> |
138 | ||
139 | PR libstdc++/93478 | |
140 | * include/std/atomic: Fix typo. | |
141 | * include/std/optional: Likewise. | |
142 | ||
143 | 2020-01-27 Andrew Burgess <andrew.burgess@embecosm.com> | |
144 | ||
145 | * configure: Regenerate. | |
146 | ||
389cd88c JW |
147 | 2020-01-27 Jonathan Wakely <jwakely@redhat.com> |
148 | ||
149 | PR libstdc++/93426 | |
150 | * include/std/span (span): Fix deduction guide. | |
151 | * testsuite/23_containers/span/deduction.cc: New test. | |
152 | ||
482eeff5 JW |
153 | 2020-01-24 Jonathan Wakely <jwakely@redhat.com> |
154 | ||
155 | * libsupc++/compare (__cmp_cat::_Eq): Remove enumeration type. | |
156 | (__cmp_cat::_Ord::equivalent): Add enumerator. | |
157 | (__cmp_cat::_Ord::_Less, __cmp_cat::_Ord::_Greater): Rename to less | |
158 | and greater. | |
159 | (partial_ordering, weak_ordering, strong_ordering): Remove | |
160 | constructors taking __cmp_cat::_Eq parameters. Use renamed | |
161 | enumerators. | |
162 | ||
e8e66971 MR |
163 | 2020-01-24 Maciej W. Rozycki <macro@wdc.com> |
164 | ||
165 | * acinclude.m4: Handle `--with-toolexeclibdir='. | |
166 | * Makefile.in: Regenerate. | |
167 | * aclocal.m4: Regenerate. | |
168 | * configure: Regenerate. | |
169 | * doc/Makefile.in: Regenerate. | |
170 | * include/Makefile.in: Regenerate. | |
171 | * libsupc++/Makefile.in: Regenerate. | |
172 | * po/Makefile.in: Regenerate. | |
173 | * python/Makefile.in: Regenerate. | |
174 | * src/Makefile.in: Regenerate. | |
175 | * src/c++11/Makefile.in: Regenerate. | |
176 | * src/c++17/Makefile.in: Regenerate. | |
177 | * src/c++98/Makefile.in: Regenerate. | |
178 | * src/filesystem/Makefile.in: Regenerate. | |
179 | * testsuite/Makefile.in: Regenerate. | |
180 | ||
7a900bce AO |
181 | 2020-01-23 Alexandre Oliva <oliva@adacore.com> |
182 | ||
f9e84b31 AO |
183 | * crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Reject macros. |
184 | * configure: Rebuild. | |
185 | ||
7a900bce AO |
186 | * testsuite/27_io/fpos/mbstate_t/1.cc: Zero-init mbstate_t. |
187 | ||
04681fca JW |
188 | 2020-01-23 Jonathan Wakely <jwakely@redhat.com> |
189 | ||
190 | PR libstdc++/91947 | |
191 | * include/Makefile.am (${host_builddir}/largefile-config.h): Simplify | |
192 | rule. | |
193 | * include/Makefile.in: Regenerate. | |
194 | ||
c784f162 JW |
195 | 2020-01-20 Jonathan Wakely <jwakely@redhat.com> |
196 | ||
197 | * doc/xml/faq.xml: Fix grammar. | |
198 | * doc/xml/manual/appendix_contributing.xml: Improve instructions. | |
199 | * doc/xml/manual/spine.xml: Update copyright years. | |
200 | * doc/html/*: Regenerate. | |
201 | ||
f4d83eba ER |
202 | 2020-01-19 Eric S. Raymond <esr@thyrsus.com> |
203 | ||
204 | * doc/xml/faq.xml: Update for SVN -> Git transition. | |
205 | * doc/xml/manual/appendix_contributing.xml: Likewise. | |
206 | * doc/xml/manual/status_cxx1998.xml: Likewise. | |
207 | * doc/xml/manual/status_cxx2011.xml: Likewise. | |
208 | * doc/xml/manual/status_cxx2014.xml: Likewise. | |
209 | * doc/xml/manual/status_cxx2017.xml: Likewise. | |
210 | * doc/xml/manual/status_cxx2020.xml: Likewise. | |
211 | * doc/xml/manual/status_cxxtr1.xml: Likewise. | |
212 | * doc/xml/manual/status_cxxtr24733.xml: Likewise. | |
213 | ||
49789fd0 IS |
214 | 2020-01-18 Iain Sandoe <iain@sandoe.co.uk> |
215 | ||
216 | * include/Makefile.am: Add coroutine to the std set. | |
217 | * include/Makefile.in: Regenerated. | |
218 | * include/std/coroutine: New file. | |
219 | ||
0ba6a850 JW |
220 | 2020-01-17 Jonathan Wakely <jwakely@redhat.com> |
221 | ||
222 | PR libstdc++/92376 | |
223 | * include/bits/c++config: Only do PSTL config when the header is | |
224 | present, to fix freestanding. | |
225 | * libsupc++/new_opa.cc [!_GLIBCXX_HOSTED]: Declare allocation | |
226 | functions if they were detected by configure. | |
227 | ||
98d56ea8 JW |
228 | 2020-01-16 Kai-Uwe Eckhardt <kuehro@gmx.de> |
229 | Matthew Bauer <mjbauer95@gmail.com> | |
230 | Jonathan Wakely <jwakely@redhat.com> | |
231 | ||
232 | PR bootstrap/64271 (partial) | |
233 | * config/os/bsd/netbsd/ctype_base.h (ctype_base::mask): Change type | |
234 | to unsigned short. | |
235 | (ctype_base::alpha, ctype_base::digit, ctype_base::xdigit) | |
236 | (ctype_base::print, ctype_base::graph, ctype_base::alnum): Sync | |
237 | definitions with NetBSD upstream. | |
238 | (ctype_base::blank): Use _CTYPE_BL. | |
239 | * config/os/bsd/netbsd/ctype_configure_char.cc (_C_ctype_): Remove | |
240 | Declaration. | |
241 | (ctype<char>::classic_table): Use _C_ctype_tab_ instead of _C_ctype_. | |
242 | (ctype<char>::do_toupper, ctype<char>::do_tolower): Cast char | |
243 | parameters to unsigned char. | |
244 | * config/os/bsd/netbsd/ctype_inline.h (ctype<char>::is): Likewise. | |
245 | ||
d9165389 FD |
246 | 2020-01-16 François Dumont <fdumont@gcc.gnu.org> |
247 | ||
248 | PR libstdc++/91263 | |
249 | * include/bits/hashtable.h (_Hashtable<>): Make _Equality<> friend. | |
250 | * include/bits/hashtable_policy.h: Include <bits/stl_algo.h>. | |
251 | (_Equality_base): Remove. | |
252 | (_Equality<>::_M_equal): Review implementation. Use | |
253 | std::is_permutation. | |
254 | * testsuite/23_containers/unordered_multiset/operators/1.cc | |
255 | (Hash, Equal, test02, test03): New. | |
256 | * testsuite/23_containers/unordered_set/operators/1.cc | |
257 | (Hash, Equal, test02, test03): New. | |
258 | ||
2a0f6c61 JW |
259 | 2020-01-15 Jonathan Wakely <jwakely@redhat.com> |
260 | ||
261 | PR libstdc++/93267 | |
262 | * include/bits/iterator_concepts.h (__max_diff_type, __max_size_type): | |
263 | Move here from <bits/range_access.h> and define using __int128 when | |
264 | available. | |
265 | (__is_integer_like, __is_signed_integer_like): Move here from | |
266 | <bits/range_access.h>. | |
267 | (weakly_incrementable): Use __is_signed_integer_like. | |
268 | * include/bits/range_access.h (__max_diff_type, __max_size_type) | |
269 | (__is_integer_like, __is_signed_integer_like): Move to | |
270 | <bits/iterator_concepts.h>. | |
271 | (__make_unsigned_like_t): Move here from <ranges>. | |
272 | * include/std/ranges (__make_unsigned_like_t): Move to | |
273 | <bits/range_access.h>. | |
274 | (iota_view): Replace using-directive with using-declarations. | |
275 | * testsuite/std/ranges/iota/93267.cc: New test. | |
276 | * testsuite/std/ranges/iota_view.cc: Move to new 'iota' sub-directory. | |
277 | ||
e4379a93 JW |
278 | 2020-01-13 Jonathan Wakely <jwakely@redhat.com> |
279 | ||
fe7cc34f JW |
280 | PR libstdc++/93244 |
281 | * include/bits/fs_path.h (path::generic_string<C,A>) | |
282 | [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Convert root-dir to forward-slash. | |
283 | * testsuite/27_io/filesystem/path/generic/generic_string.cc: Check | |
284 | root-dir is converted to forward slash in generic pathname. | |
285 | * testsuite/27_io/filesystem/path/generic/utf.cc: New test. | |
286 | * testsuite/27_io/filesystem/path/generic/wchar_t.cc: New test. | |
287 | ||
e4379a93 JW |
288 | PR libstdc++/58605 |
289 | * include/bits/atomic_base.h (__cpp_lib_atomic_value_initialization): | |
290 | Define. | |
291 | (__atomic_flag_base, __atomic_base, __atomic_base<_PTp*>) | |
292 | (__atomic_float): Add default member initializer for C++20. | |
293 | * include/std/atomic (atomic): Likewise. | |
294 | (atomic::atomic()): Remove noexcept-specifier on default constructor. | |
295 | * include/std/version (__cpp_lib_atomic_value_initialization): Define. | |
296 | * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error line | |
297 | number. | |
298 | * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise. | |
299 | * testsuite/29_atomics/atomic/cons/value_init.cc: New test. | |
300 | * testsuite/29_atomics/atomic_flag/cons/value_init.cc: New test. | |
301 | * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Adjust | |
302 | expected result for is_trivially_default_constructible. | |
303 | * testsuite/29_atomics/atomic_float/requirements.cc: Likewise. | |
304 | * testsuite/29_atomics/atomic_float/value_init.cc: New test. | |
305 | * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise. | |
306 | * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise. | |
307 | * testsuite/29_atomics/atomic_integral/cons/value_init.cc | |
308 | * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Adjust | |
309 | expected results for is_trivially_default_constructible. | |
310 | * testsuite/util/testsuite_common_types.h (has_trivial_dtor): Add | |
311 | new test generator. | |
312 | ||
7918cb93 JW |
313 | 2020-01-10 Jonathan Wakely <jwakely@redhat.com> |
314 | ||
68be73fc JW |
315 | * testsuite/util/testsuite_iterators.h: Improve comment. |
316 | ||
78f02e80 JW |
317 | * testsuite/25_algorithms/equal/deque_iterators/1.cc: Don't use C++11 |
318 | initialization syntax. | |
319 | ||
7918cb93 JW |
320 | PR libstdc++/92285 |
321 | * include/bits/streambuf_iterator.h (istreambuf_iterator): Make type | |
322 | of base class independent of __cplusplus value. | |
323 | [__cplusplus < 201103L] (istreambuf_iterator::reference): Override the | |
324 | type defined in the base class | |
325 | * testsuite/24_iterators/istreambuf_iterator/92285.cc: New test. | |
326 | * testsuite/24_iterators/istreambuf_iterator/requirements/ | |
327 | base_classes.cc: Adjust expected base class for C++98. | |
328 | ||
acd43917 OH |
329 | 2020-01-09 Olivier Hainque <hainque@adacore.com> |
330 | ||
331 | * doc/xml/manual/appendix_contributing.xml: Document _C2 | |
332 | as a reserved identifier, by VxWorks. | |
333 | * include/bits/stl_map.h: Rename _C2 template typenames as _Cmp2. | |
334 | * include/bits/stl_multimap.h: Likewise. | |
335 | ||
caa39b2e JW |
336 | 2020-01-09 Jonathan Wakely <jwakely@redhat.com> |
337 | ||
1a788638 JW |
338 | * include/ext/extptr_allocator.h (_ExtPtr_allocator::operator==) |
339 | (_ExtPtr_allocator::operator!=): Add missing const qualifiers. | |
340 | * include/ext/pointer.h (readable_traits<_Pointer_adapter<S>>): Add | |
341 | partial specialization to disambiguate the two constrained | |
342 | specializations. | |
343 | ||
caa39b2e JW |
344 | * include/experimental/type_traits (experimental::is_pod_v): Disable |
345 | -Wdeprecated-declarations warnings around reference to std::is_pod. | |
346 | * include/std/type_traits (is_pod_v): Likewise. | |
347 | * testsuite/18_support/max_align_t/requirements/2.cc: Also check | |
348 | is_standard_layout and is_trivial. Do not check is_pod for C++20. | |
349 | * testsuite/20_util/is_pod/requirements/explicit_instantiation.cc: | |
350 | Add -Wno-deprecated for C++20. | |
351 | * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise. | |
352 | * testsuite/20_util/is_pod/value.cc: Likewise. | |
353 | * testsuite/experimental/type_traits/value.cc: Likewise. | |
354 | ||
1a6c5064 JTM |
355 | 2020-01-09 JeanHeyd "ThePhD" Meneide <phdofthehouse@gmail.com> |
356 | ||
357 | * include/bits/c++config (_GLIBCXX20_DEPRECATED): Add new macro. | |
358 | * include/std/type_traits (is_pod, is_pod_v): Deprecate for C++20. | |
359 | * testuite/20_util/is_pod/deprecated-2a.cc: New test. | |
360 | ||
d574c8aa JW |
361 | 2020-01-09 Jonathan Wakely <jwakely@redhat.com> |
362 | ||
160e95dc JW |
363 | PR libstdc++/93205 |
364 | * include/bits/random.h (operator>>): Check stream operation succeeds. | |
365 | * include/bits/random.tcc (operator<<): Remove redundant __ostream_type | |
366 | typedefs. | |
367 | (operator>>): Remove redundant __istream_type typedefs. Check stream | |
368 | operations succeed. | |
369 | (__extract_params): New function to fill a vector from a stream. | |
370 | * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line. | |
371 | ||
d574c8aa JW |
372 | PR libstdc++/93208 |
373 | * config/abi/pre/gnu.ver: Add new exports. | |
374 | * include/std/memory_resource (memory_resource::~memory_resource()): | |
375 | Do not define inline. | |
376 | (monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise. | |
377 | * src/c++17/memory_resource.cc (memory_resource::~memory_resource()): | |
378 | Define. | |
379 | (monotonic_buffer_resource::~monotonic_buffer_resource()): Define. | |
380 | * testsuite/20_util/monotonic_buffer_resource/93208.cc: New test. | |
381 | ||
b9c84e95 FD |
382 | 2020-01-09 François Dumont <fdumont@gcc.gnu.org> |
383 | ||
384 | PR libstdc++/92124 | |
385 | * include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New | |
386 | template alias. | |
387 | (_Hashtable<>::__fwd_value_for): New. | |
388 | (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template | |
389 | parameter. | |
390 | (_Hashtable<>::_M_assign<>): Add _Ht template parameter. | |
391 | (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt. | |
392 | (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept | |
393 | with std::move. | |
394 | (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt. | |
395 | (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)): | |
396 | Adapt. | |
397 | (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)): | |
398 | Adapt. | |
399 | * testsuite/23_containers/unordered_set/92124.cc: New. | |
400 | ||
fff148b7 JW |
401 | 2020-01-08 Jonathan Wakely <jwakely@redhat.com> |
402 | ||
403 | PR libstdc++/93201 | |
404 | * src/c++17/fs_ops.cc (do_remove_all): New function implementing more | |
405 | detailed error reporting for remove_all. Check result of recursive | |
406 | call before incrementing iterator. | |
407 | (remove_all(const path&), remove_all(const path&, error_code&)): Use | |
408 | do_remove_all. | |
409 | * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check | |
410 | result of recursive call before incrementing iterator. | |
411 | * testsuite/27_io/filesystem/operations/remove_all.cc: Check errors | |
412 | are reported correctly. | |
413 | * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise. | |
414 | ||
9e3c1eb7 TR |
415 | 2020-01-07 Thomas Rodgers <trodgers@redhat.com> |
416 | ||
417 | * include/std/condition_variable | |
418 | (condition_variable_any::wait_on): Rename to match current draft | |
419 | standard. | |
420 | (condition_variable_any::wait_on_until): Likewise. | |
421 | (condition_variable_any::wait_on_for): Likewise. | |
422 | * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc: | |
423 | Adjust tests to account for renamed methods. | |
424 | ||
6af8819b FD |
425 | 2020-01-07 François Dumont <fdumont@gcc.gnu.org> |
426 | ||
427 | PR libstdc++/92124 | |
428 | * include/bits/stl_tree.h | |
429 | (_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace | |
430 | std::move_if_noexcept by std::move. | |
431 | * testsuite/23_containers/map/92124.cc: New. | |
432 | * testsuite/23_containers/set/92124.cc: New. | |
433 | ||
f31a99f7 JW |
434 | 2020-01-06 Jonathan Wakely <jwakely@redhat.com> |
435 | ||
a4a1f965 JW |
436 | * include/std/stop_token (stop_token): Remove operator!= (LWG 3254). |
437 | (stop_source): Likewise (LWG 3362). | |
438 | * testsuite/30_threads/stop_token/stop_source.cc: Test equality | |
439 | comparisons. | |
440 | ||
f31a99f7 JW |
441 | * include/bits/stl_algobase.h (__is_byte_iter, __min_cmp) |
442 | (lexicographical_compare_three_way): Do not depend on | |
443 | __cpp_lib_concepts. | |
444 | * include/std/version (__cpp_lib_three_way_comparison): Only define | |
445 | when __cpp_lib_concepts is defined. | |
446 | * libsupc++/compare (__cpp_lib_three_way_comparison): Likewise. | |
447 | ||
b4e70137 JW |
448 | 2020-01-03 Jonathan Wakely <jwakely@redhat.com> |
449 | ||
450 | * include/bits/stl_algobase.h (lexicographical_compare_three_way): | |
451 | Only define four-argument overload when __cpp_lib_concepts is defined. | |
452 | ||
a8497ec6 JDA |
453 | 2020-01-01 John David Anglin <danglin@gcc.gnu.org> |
454 | ||
455 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. | |
456 | ||
8d9254fc | 457 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
5624e564 JJ |
458 | |
459 | Update copyright years. | |
b4df5e92 | 460 | \f |
8d9254fc | 461 | Copyright (C) 2020 Free Software Foundation, Inc. |
b4df5e92 JW |
462 | |
463 | Copying and distribution of this file, with or without modification, | |
464 | are permitted in any medium without royalty provided the copyright | |
465 | notice and this notice are preserved. |