]>
Commit | Line | Data |
---|---|---|
759812fd JW |
1 | 2020-01-28 Jonathan Wakely <jwakely@redhat.com> |
2 | ||
72a9fd20 JW |
3 | PR libstdc++/93470 |
4 | * include/bits/refwrap.h (reference_wrapper::operator()): Restrict | |
5 | static assertion to object types. | |
6 | ||
759812fd JW |
7 | PR libstdc++/93325 |
8 | * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Use AC_SEARCH_LIBS for | |
9 | clock_gettime instead of explicit glibc version check. | |
10 | * configure: Regenerate. | |
11 | ||
a5d81aaa JW |
12 | 2020-01-28 Martin Liska <mliska@suse.cz> |
13 | ||
14 | PR libstdc++/93478 | |
15 | * include/std/atomic: Fix typo. | |
16 | * include/std/optional: Likewise. | |
17 | ||
18 | 2020-01-27 Andrew Burgess <andrew.burgess@embecosm.com> | |
19 | ||
20 | * configure: Regenerate. | |
21 | ||
389cd88c JW |
22 | 2020-01-27 Jonathan Wakely <jwakely@redhat.com> |
23 | ||
24 | PR libstdc++/93426 | |
25 | * include/std/span (span): Fix deduction guide. | |
26 | * testsuite/23_containers/span/deduction.cc: New test. | |
27 | ||
482eeff5 JW |
28 | 2020-01-24 Jonathan Wakely <jwakely@redhat.com> |
29 | ||
30 | * libsupc++/compare (__cmp_cat::_Eq): Remove enumeration type. | |
31 | (__cmp_cat::_Ord::equivalent): Add enumerator. | |
32 | (__cmp_cat::_Ord::_Less, __cmp_cat::_Ord::_Greater): Rename to less | |
33 | and greater. | |
34 | (partial_ordering, weak_ordering, strong_ordering): Remove | |
35 | constructors taking __cmp_cat::_Eq parameters. Use renamed | |
36 | enumerators. | |
37 | ||
e8e66971 MR |
38 | 2020-01-24 Maciej W. Rozycki <macro@wdc.com> |
39 | ||
40 | * acinclude.m4: Handle `--with-toolexeclibdir='. | |
41 | * Makefile.in: Regenerate. | |
42 | * aclocal.m4: Regenerate. | |
43 | * configure: Regenerate. | |
44 | * doc/Makefile.in: Regenerate. | |
45 | * include/Makefile.in: Regenerate. | |
46 | * libsupc++/Makefile.in: Regenerate. | |
47 | * po/Makefile.in: Regenerate. | |
48 | * python/Makefile.in: Regenerate. | |
49 | * src/Makefile.in: Regenerate. | |
50 | * src/c++11/Makefile.in: Regenerate. | |
51 | * src/c++17/Makefile.in: Regenerate. | |
52 | * src/c++98/Makefile.in: Regenerate. | |
53 | * src/filesystem/Makefile.in: Regenerate. | |
54 | * testsuite/Makefile.in: Regenerate. | |
55 | ||
7a900bce AO |
56 | 2020-01-23 Alexandre Oliva <oliva@adacore.com> |
57 | ||
f9e84b31 AO |
58 | * crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Reject macros. |
59 | * configure: Rebuild. | |
60 | ||
7a900bce AO |
61 | * testsuite/27_io/fpos/mbstate_t/1.cc: Zero-init mbstate_t. |
62 | ||
04681fca JW |
63 | 2020-01-23 Jonathan Wakely <jwakely@redhat.com> |
64 | ||
65 | PR libstdc++/91947 | |
66 | * include/Makefile.am (${host_builddir}/largefile-config.h): Simplify | |
67 | rule. | |
68 | * include/Makefile.in: Regenerate. | |
69 | ||
c784f162 JW |
70 | 2020-01-20 Jonathan Wakely <jwakely@redhat.com> |
71 | ||
72 | * doc/xml/faq.xml: Fix grammar. | |
73 | * doc/xml/manual/appendix_contributing.xml: Improve instructions. | |
74 | * doc/xml/manual/spine.xml: Update copyright years. | |
75 | * doc/html/*: Regenerate. | |
76 | ||
f4d83eba ER |
77 | 2020-01-19 Eric S. Raymond <esr@thyrsus.com> |
78 | ||
79 | * doc/xml/faq.xml: Update for SVN -> Git transition. | |
80 | * doc/xml/manual/appendix_contributing.xml: Likewise. | |
81 | * doc/xml/manual/status_cxx1998.xml: Likewise. | |
82 | * doc/xml/manual/status_cxx2011.xml: Likewise. | |
83 | * doc/xml/manual/status_cxx2014.xml: Likewise. | |
84 | * doc/xml/manual/status_cxx2017.xml: Likewise. | |
85 | * doc/xml/manual/status_cxx2020.xml: Likewise. | |
86 | * doc/xml/manual/status_cxxtr1.xml: Likewise. | |
87 | * doc/xml/manual/status_cxxtr24733.xml: Likewise. | |
88 | ||
49789fd0 IS |
89 | 2020-01-18 Iain Sandoe <iain@sandoe.co.uk> |
90 | ||
91 | * include/Makefile.am: Add coroutine to the std set. | |
92 | * include/Makefile.in: Regenerated. | |
93 | * include/std/coroutine: New file. | |
94 | ||
0ba6a850 JW |
95 | 2020-01-17 Jonathan Wakely <jwakely@redhat.com> |
96 | ||
97 | PR libstdc++/92376 | |
98 | * include/bits/c++config: Only do PSTL config when the header is | |
99 | present, to fix freestanding. | |
100 | * libsupc++/new_opa.cc [!_GLIBCXX_HOSTED]: Declare allocation | |
101 | functions if they were detected by configure. | |
102 | ||
98d56ea8 JW |
103 | 2020-01-16 Kai-Uwe Eckhardt <kuehro@gmx.de> |
104 | Matthew Bauer <mjbauer95@gmail.com> | |
105 | Jonathan Wakely <jwakely@redhat.com> | |
106 | ||
107 | PR bootstrap/64271 (partial) | |
108 | * config/os/bsd/netbsd/ctype_base.h (ctype_base::mask): Change type | |
109 | to unsigned short. | |
110 | (ctype_base::alpha, ctype_base::digit, ctype_base::xdigit) | |
111 | (ctype_base::print, ctype_base::graph, ctype_base::alnum): Sync | |
112 | definitions with NetBSD upstream. | |
113 | (ctype_base::blank): Use _CTYPE_BL. | |
114 | * config/os/bsd/netbsd/ctype_configure_char.cc (_C_ctype_): Remove | |
115 | Declaration. | |
116 | (ctype<char>::classic_table): Use _C_ctype_tab_ instead of _C_ctype_. | |
117 | (ctype<char>::do_toupper, ctype<char>::do_tolower): Cast char | |
118 | parameters to unsigned char. | |
119 | * config/os/bsd/netbsd/ctype_inline.h (ctype<char>::is): Likewise. | |
120 | ||
d9165389 FD |
121 | 2020-01-16 François Dumont <fdumont@gcc.gnu.org> |
122 | ||
123 | PR libstdc++/91263 | |
124 | * include/bits/hashtable.h (_Hashtable<>): Make _Equality<> friend. | |
125 | * include/bits/hashtable_policy.h: Include <bits/stl_algo.h>. | |
126 | (_Equality_base): Remove. | |
127 | (_Equality<>::_M_equal): Review implementation. Use | |
128 | std::is_permutation. | |
129 | * testsuite/23_containers/unordered_multiset/operators/1.cc | |
130 | (Hash, Equal, test02, test03): New. | |
131 | * testsuite/23_containers/unordered_set/operators/1.cc | |
132 | (Hash, Equal, test02, test03): New. | |
133 | ||
2a0f6c61 JW |
134 | 2020-01-15 Jonathan Wakely <jwakely@redhat.com> |
135 | ||
136 | PR libstdc++/93267 | |
137 | * include/bits/iterator_concepts.h (__max_diff_type, __max_size_type): | |
138 | Move here from <bits/range_access.h> and define using __int128 when | |
139 | available. | |
140 | (__is_integer_like, __is_signed_integer_like): Move here from | |
141 | <bits/range_access.h>. | |
142 | (weakly_incrementable): Use __is_signed_integer_like. | |
143 | * include/bits/range_access.h (__max_diff_type, __max_size_type) | |
144 | (__is_integer_like, __is_signed_integer_like): Move to | |
145 | <bits/iterator_concepts.h>. | |
146 | (__make_unsigned_like_t): Move here from <ranges>. | |
147 | * include/std/ranges (__make_unsigned_like_t): Move to | |
148 | <bits/range_access.h>. | |
149 | (iota_view): Replace using-directive with using-declarations. | |
150 | * testsuite/std/ranges/iota/93267.cc: New test. | |
151 | * testsuite/std/ranges/iota_view.cc: Move to new 'iota' sub-directory. | |
152 | ||
e4379a93 JW |
153 | 2020-01-13 Jonathan Wakely <jwakely@redhat.com> |
154 | ||
fe7cc34f JW |
155 | PR libstdc++/93244 |
156 | * include/bits/fs_path.h (path::generic_string<C,A>) | |
157 | [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Convert root-dir to forward-slash. | |
158 | * testsuite/27_io/filesystem/path/generic/generic_string.cc: Check | |
159 | root-dir is converted to forward slash in generic pathname. | |
160 | * testsuite/27_io/filesystem/path/generic/utf.cc: New test. | |
161 | * testsuite/27_io/filesystem/path/generic/wchar_t.cc: New test. | |
162 | ||
e4379a93 JW |
163 | PR libstdc++/58605 |
164 | * include/bits/atomic_base.h (__cpp_lib_atomic_value_initialization): | |
165 | Define. | |
166 | (__atomic_flag_base, __atomic_base, __atomic_base<_PTp*>) | |
167 | (__atomic_float): Add default member initializer for C++20. | |
168 | * include/std/atomic (atomic): Likewise. | |
169 | (atomic::atomic()): Remove noexcept-specifier on default constructor. | |
170 | * include/std/version (__cpp_lib_atomic_value_initialization): Define. | |
171 | * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error line | |
172 | number. | |
173 | * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise. | |
174 | * testsuite/29_atomics/atomic/cons/value_init.cc: New test. | |
175 | * testsuite/29_atomics/atomic_flag/cons/value_init.cc: New test. | |
176 | * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Adjust | |
177 | expected result for is_trivially_default_constructible. | |
178 | * testsuite/29_atomics/atomic_float/requirements.cc: Likewise. | |
179 | * testsuite/29_atomics/atomic_float/value_init.cc: New test. | |
180 | * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise. | |
181 | * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise. | |
182 | * testsuite/29_atomics/atomic_integral/cons/value_init.cc | |
183 | * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Adjust | |
184 | expected results for is_trivially_default_constructible. | |
185 | * testsuite/util/testsuite_common_types.h (has_trivial_dtor): Add | |
186 | new test generator. | |
187 | ||
7918cb93 JW |
188 | 2020-01-10 Jonathan Wakely <jwakely@redhat.com> |
189 | ||
68be73fc JW |
190 | * testsuite/util/testsuite_iterators.h: Improve comment. |
191 | ||
78f02e80 JW |
192 | * testsuite/25_algorithms/equal/deque_iterators/1.cc: Don't use C++11 |
193 | initialization syntax. | |
194 | ||
7918cb93 JW |
195 | PR libstdc++/92285 |
196 | * include/bits/streambuf_iterator.h (istreambuf_iterator): Make type | |
197 | of base class independent of __cplusplus value. | |
198 | [__cplusplus < 201103L] (istreambuf_iterator::reference): Override the | |
199 | type defined in the base class | |
200 | * testsuite/24_iterators/istreambuf_iterator/92285.cc: New test. | |
201 | * testsuite/24_iterators/istreambuf_iterator/requirements/ | |
202 | base_classes.cc: Adjust expected base class for C++98. | |
203 | ||
acd43917 OH |
204 | 2020-01-09 Olivier Hainque <hainque@adacore.com> |
205 | ||
206 | * doc/xml/manual/appendix_contributing.xml: Document _C2 | |
207 | as a reserved identifier, by VxWorks. | |
208 | * include/bits/stl_map.h: Rename _C2 template typenames as _Cmp2. | |
209 | * include/bits/stl_multimap.h: Likewise. | |
210 | ||
caa39b2e JW |
211 | 2020-01-09 Jonathan Wakely <jwakely@redhat.com> |
212 | ||
1a788638 JW |
213 | * include/ext/extptr_allocator.h (_ExtPtr_allocator::operator==) |
214 | (_ExtPtr_allocator::operator!=): Add missing const qualifiers. | |
215 | * include/ext/pointer.h (readable_traits<_Pointer_adapter<S>>): Add | |
216 | partial specialization to disambiguate the two constrained | |
217 | specializations. | |
218 | ||
caa39b2e JW |
219 | * include/experimental/type_traits (experimental::is_pod_v): Disable |
220 | -Wdeprecated-declarations warnings around reference to std::is_pod. | |
221 | * include/std/type_traits (is_pod_v): Likewise. | |
222 | * testsuite/18_support/max_align_t/requirements/2.cc: Also check | |
223 | is_standard_layout and is_trivial. Do not check is_pod for C++20. | |
224 | * testsuite/20_util/is_pod/requirements/explicit_instantiation.cc: | |
225 | Add -Wno-deprecated for C++20. | |
226 | * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise. | |
227 | * testsuite/20_util/is_pod/value.cc: Likewise. | |
228 | * testsuite/experimental/type_traits/value.cc: Likewise. | |
229 | ||
1a6c5064 JTM |
230 | 2020-01-09 JeanHeyd "ThePhD" Meneide <phdofthehouse@gmail.com> |
231 | ||
232 | * include/bits/c++config (_GLIBCXX20_DEPRECATED): Add new macro. | |
233 | * include/std/type_traits (is_pod, is_pod_v): Deprecate for C++20. | |
234 | * testuite/20_util/is_pod/deprecated-2a.cc: New test. | |
235 | ||
d574c8aa JW |
236 | 2020-01-09 Jonathan Wakely <jwakely@redhat.com> |
237 | ||
160e95dc JW |
238 | PR libstdc++/93205 |
239 | * include/bits/random.h (operator>>): Check stream operation succeeds. | |
240 | * include/bits/random.tcc (operator<<): Remove redundant __ostream_type | |
241 | typedefs. | |
242 | (operator>>): Remove redundant __istream_type typedefs. Check stream | |
243 | operations succeed. | |
244 | (__extract_params): New function to fill a vector from a stream. | |
245 | * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line. | |
246 | ||
d574c8aa JW |
247 | PR libstdc++/93208 |
248 | * config/abi/pre/gnu.ver: Add new exports. | |
249 | * include/std/memory_resource (memory_resource::~memory_resource()): | |
250 | Do not define inline. | |
251 | (monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise. | |
252 | * src/c++17/memory_resource.cc (memory_resource::~memory_resource()): | |
253 | Define. | |
254 | (monotonic_buffer_resource::~monotonic_buffer_resource()): Define. | |
255 | * testsuite/20_util/monotonic_buffer_resource/93208.cc: New test. | |
256 | ||
b9c84e95 FD |
257 | 2020-01-09 François Dumont <fdumont@gcc.gnu.org> |
258 | ||
259 | PR libstdc++/92124 | |
260 | * include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New | |
261 | template alias. | |
262 | (_Hashtable<>::__fwd_value_for): New. | |
263 | (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template | |
264 | parameter. | |
265 | (_Hashtable<>::_M_assign<>): Add _Ht template parameter. | |
266 | (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt. | |
267 | (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept | |
268 | with std::move. | |
269 | (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt. | |
270 | (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)): | |
271 | Adapt. | |
272 | (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)): | |
273 | Adapt. | |
274 | * testsuite/23_containers/unordered_set/92124.cc: New. | |
275 | ||
fff148b7 JW |
276 | 2020-01-08 Jonathan Wakely <jwakely@redhat.com> |
277 | ||
278 | PR libstdc++/93201 | |
279 | * src/c++17/fs_ops.cc (do_remove_all): New function implementing more | |
280 | detailed error reporting for remove_all. Check result of recursive | |
281 | call before incrementing iterator. | |
282 | (remove_all(const path&), remove_all(const path&, error_code&)): Use | |
283 | do_remove_all. | |
284 | * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check | |
285 | result of recursive call before incrementing iterator. | |
286 | * testsuite/27_io/filesystem/operations/remove_all.cc: Check errors | |
287 | are reported correctly. | |
288 | * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise. | |
289 | ||
9e3c1eb7 TR |
290 | 2020-01-07 Thomas Rodgers <trodgers@redhat.com> |
291 | ||
292 | * include/std/condition_variable | |
293 | (condition_variable_any::wait_on): Rename to match current draft | |
294 | standard. | |
295 | (condition_variable_any::wait_on_until): Likewise. | |
296 | (condition_variable_any::wait_on_for): Likewise. | |
297 | * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc: | |
298 | Adjust tests to account for renamed methods. | |
299 | ||
6af8819b FD |
300 | 2020-01-07 François Dumont <fdumont@gcc.gnu.org> |
301 | ||
302 | PR libstdc++/92124 | |
303 | * include/bits/stl_tree.h | |
304 | (_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace | |
305 | std::move_if_noexcept by std::move. | |
306 | * testsuite/23_containers/map/92124.cc: New. | |
307 | * testsuite/23_containers/set/92124.cc: New. | |
308 | ||
f31a99f7 JW |
309 | 2020-01-06 Jonathan Wakely <jwakely@redhat.com> |
310 | ||
a4a1f965 JW |
311 | * include/std/stop_token (stop_token): Remove operator!= (LWG 3254). |
312 | (stop_source): Likewise (LWG 3362). | |
313 | * testsuite/30_threads/stop_token/stop_source.cc: Test equality | |
314 | comparisons. | |
315 | ||
f31a99f7 JW |
316 | * include/bits/stl_algobase.h (__is_byte_iter, __min_cmp) |
317 | (lexicographical_compare_three_way): Do not depend on | |
318 | __cpp_lib_concepts. | |
319 | * include/std/version (__cpp_lib_three_way_comparison): Only define | |
320 | when __cpp_lib_concepts is defined. | |
321 | * libsupc++/compare (__cpp_lib_three_way_comparison): Likewise. | |
322 | ||
b4e70137 JW |
323 | 2020-01-03 Jonathan Wakely <jwakely@redhat.com> |
324 | ||
325 | * include/bits/stl_algobase.h (lexicographical_compare_three_way): | |
326 | Only define four-argument overload when __cpp_lib_concepts is defined. | |
327 | ||
a8497ec6 JDA |
328 | 2020-01-01 John David Anglin <danglin@gcc.gnu.org> |
329 | ||
330 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. | |
331 | ||
8d9254fc | 332 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
5624e564 JJ |
333 | |
334 | Update copyright years. | |
b4df5e92 | 335 | \f |
8d9254fc | 336 | Copyright (C) 2020 Free Software Foundation, Inc. |
b4df5e92 JW |
337 | |
338 | Copying and distribution of this file, with or without modification, | |
339 | are permitted in any medium without royalty provided the copyright | |
340 | notice and this notice are preserved. |