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