]>
Commit | Line | Data |
---|---|---|
0ba6a850 JW |
1 | 2020-01-17 Jonathan Wakely <jwakely@redhat.com> |
2 | ||
3 | PR libstdc++/92376 | |
4 | * include/bits/c++config: Only do PSTL config when the header is | |
5 | present, to fix freestanding. | |
6 | * libsupc++/new_opa.cc [!_GLIBCXX_HOSTED]: Declare allocation | |
7 | functions if they were detected by configure. | |
8 | ||
98d56ea8 JW |
9 | 2020-01-16 Kai-Uwe Eckhardt <kuehro@gmx.de> |
10 | Matthew Bauer <mjbauer95@gmail.com> | |
11 | Jonathan Wakely <jwakely@redhat.com> | |
12 | ||
13 | PR bootstrap/64271 (partial) | |
14 | * config/os/bsd/netbsd/ctype_base.h (ctype_base::mask): Change type | |
15 | to unsigned short. | |
16 | (ctype_base::alpha, ctype_base::digit, ctype_base::xdigit) | |
17 | (ctype_base::print, ctype_base::graph, ctype_base::alnum): Sync | |
18 | definitions with NetBSD upstream. | |
19 | (ctype_base::blank): Use _CTYPE_BL. | |
20 | * config/os/bsd/netbsd/ctype_configure_char.cc (_C_ctype_): Remove | |
21 | Declaration. | |
22 | (ctype<char>::classic_table): Use _C_ctype_tab_ instead of _C_ctype_. | |
23 | (ctype<char>::do_toupper, ctype<char>::do_tolower): Cast char | |
24 | parameters to unsigned char. | |
25 | * config/os/bsd/netbsd/ctype_inline.h (ctype<char>::is): Likewise. | |
26 | ||
d9165389 FD |
27 | 2020-01-16 François Dumont <fdumont@gcc.gnu.org> |
28 | ||
29 | PR libstdc++/91263 | |
30 | * include/bits/hashtable.h (_Hashtable<>): Make _Equality<> friend. | |
31 | * include/bits/hashtable_policy.h: Include <bits/stl_algo.h>. | |
32 | (_Equality_base): Remove. | |
33 | (_Equality<>::_M_equal): Review implementation. Use | |
34 | std::is_permutation. | |
35 | * testsuite/23_containers/unordered_multiset/operators/1.cc | |
36 | (Hash, Equal, test02, test03): New. | |
37 | * testsuite/23_containers/unordered_set/operators/1.cc | |
38 | (Hash, Equal, test02, test03): New. | |
39 | ||
2a0f6c61 JW |
40 | 2020-01-15 Jonathan Wakely <jwakely@redhat.com> |
41 | ||
42 | PR libstdc++/93267 | |
43 | * include/bits/iterator_concepts.h (__max_diff_type, __max_size_type): | |
44 | Move here from <bits/range_access.h> and define using __int128 when | |
45 | available. | |
46 | (__is_integer_like, __is_signed_integer_like): Move here from | |
47 | <bits/range_access.h>. | |
48 | (weakly_incrementable): Use __is_signed_integer_like. | |
49 | * include/bits/range_access.h (__max_diff_type, __max_size_type) | |
50 | (__is_integer_like, __is_signed_integer_like): Move to | |
51 | <bits/iterator_concepts.h>. | |
52 | (__make_unsigned_like_t): Move here from <ranges>. | |
53 | * include/std/ranges (__make_unsigned_like_t): Move to | |
54 | <bits/range_access.h>. | |
55 | (iota_view): Replace using-directive with using-declarations. | |
56 | * testsuite/std/ranges/iota/93267.cc: New test. | |
57 | * testsuite/std/ranges/iota_view.cc: Move to new 'iota' sub-directory. | |
58 | ||
e4379a93 JW |
59 | 2020-01-13 Jonathan Wakely <jwakely@redhat.com> |
60 | ||
fe7cc34f JW |
61 | PR libstdc++/93244 |
62 | * include/bits/fs_path.h (path::generic_string<C,A>) | |
63 | [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Convert root-dir to forward-slash. | |
64 | * testsuite/27_io/filesystem/path/generic/generic_string.cc: Check | |
65 | root-dir is converted to forward slash in generic pathname. | |
66 | * testsuite/27_io/filesystem/path/generic/utf.cc: New test. | |
67 | * testsuite/27_io/filesystem/path/generic/wchar_t.cc: New test. | |
68 | ||
e4379a93 JW |
69 | PR libstdc++/58605 |
70 | * include/bits/atomic_base.h (__cpp_lib_atomic_value_initialization): | |
71 | Define. | |
72 | (__atomic_flag_base, __atomic_base, __atomic_base<_PTp*>) | |
73 | (__atomic_float): Add default member initializer for C++20. | |
74 | * include/std/atomic (atomic): Likewise. | |
75 | (atomic::atomic()): Remove noexcept-specifier on default constructor. | |
76 | * include/std/version (__cpp_lib_atomic_value_initialization): Define. | |
77 | * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error line | |
78 | number. | |
79 | * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise. | |
80 | * testsuite/29_atomics/atomic/cons/value_init.cc: New test. | |
81 | * testsuite/29_atomics/atomic_flag/cons/value_init.cc: New test. | |
82 | * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Adjust | |
83 | expected result for is_trivially_default_constructible. | |
84 | * testsuite/29_atomics/atomic_float/requirements.cc: Likewise. | |
85 | * testsuite/29_atomics/atomic_float/value_init.cc: New test. | |
86 | * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise. | |
87 | * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise. | |
88 | * testsuite/29_atomics/atomic_integral/cons/value_init.cc | |
89 | * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Adjust | |
90 | expected results for is_trivially_default_constructible. | |
91 | * testsuite/util/testsuite_common_types.h (has_trivial_dtor): Add | |
92 | new test generator. | |
93 | ||
7918cb93 JW |
94 | 2020-01-10 Jonathan Wakely <jwakely@redhat.com> |
95 | ||
68be73fc JW |
96 | * testsuite/util/testsuite_iterators.h: Improve comment. |
97 | ||
78f02e80 JW |
98 | * testsuite/25_algorithms/equal/deque_iterators/1.cc: Don't use C++11 |
99 | initialization syntax. | |
100 | ||
7918cb93 JW |
101 | PR libstdc++/92285 |
102 | * include/bits/streambuf_iterator.h (istreambuf_iterator): Make type | |
103 | of base class independent of __cplusplus value. | |
104 | [__cplusplus < 201103L] (istreambuf_iterator::reference): Override the | |
105 | type defined in the base class | |
106 | * testsuite/24_iterators/istreambuf_iterator/92285.cc: New test. | |
107 | * testsuite/24_iterators/istreambuf_iterator/requirements/ | |
108 | base_classes.cc: Adjust expected base class for C++98. | |
109 | ||
acd43917 OH |
110 | 2020-01-09 Olivier Hainque <hainque@adacore.com> |
111 | ||
112 | * doc/xml/manual/appendix_contributing.xml: Document _C2 | |
113 | as a reserved identifier, by VxWorks. | |
114 | * include/bits/stl_map.h: Rename _C2 template typenames as _Cmp2. | |
115 | * include/bits/stl_multimap.h: Likewise. | |
116 | ||
caa39b2e JW |
117 | 2020-01-09 Jonathan Wakely <jwakely@redhat.com> |
118 | ||
1a788638 JW |
119 | * include/ext/extptr_allocator.h (_ExtPtr_allocator::operator==) |
120 | (_ExtPtr_allocator::operator!=): Add missing const qualifiers. | |
121 | * include/ext/pointer.h (readable_traits<_Pointer_adapter<S>>): Add | |
122 | partial specialization to disambiguate the two constrained | |
123 | specializations. | |
124 | ||
caa39b2e JW |
125 | * include/experimental/type_traits (experimental::is_pod_v): Disable |
126 | -Wdeprecated-declarations warnings around reference to std::is_pod. | |
127 | * include/std/type_traits (is_pod_v): Likewise. | |
128 | * testsuite/18_support/max_align_t/requirements/2.cc: Also check | |
129 | is_standard_layout and is_trivial. Do not check is_pod for C++20. | |
130 | * testsuite/20_util/is_pod/requirements/explicit_instantiation.cc: | |
131 | Add -Wno-deprecated for C++20. | |
132 | * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise. | |
133 | * testsuite/20_util/is_pod/value.cc: Likewise. | |
134 | * testsuite/experimental/type_traits/value.cc: Likewise. | |
135 | ||
1a6c5064 JTM |
136 | 2020-01-09 JeanHeyd "ThePhD" Meneide <phdofthehouse@gmail.com> |
137 | ||
138 | * include/bits/c++config (_GLIBCXX20_DEPRECATED): Add new macro. | |
139 | * include/std/type_traits (is_pod, is_pod_v): Deprecate for C++20. | |
140 | * testuite/20_util/is_pod/deprecated-2a.cc: New test. | |
141 | ||
d574c8aa JW |
142 | 2020-01-09 Jonathan Wakely <jwakely@redhat.com> |
143 | ||
160e95dc JW |
144 | PR libstdc++/93205 |
145 | * include/bits/random.h (operator>>): Check stream operation succeeds. | |
146 | * include/bits/random.tcc (operator<<): Remove redundant __ostream_type | |
147 | typedefs. | |
148 | (operator>>): Remove redundant __istream_type typedefs. Check stream | |
149 | operations succeed. | |
150 | (__extract_params): New function to fill a vector from a stream. | |
151 | * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line. | |
152 | ||
d574c8aa JW |
153 | PR libstdc++/93208 |
154 | * config/abi/pre/gnu.ver: Add new exports. | |
155 | * include/std/memory_resource (memory_resource::~memory_resource()): | |
156 | Do not define inline. | |
157 | (monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise. | |
158 | * src/c++17/memory_resource.cc (memory_resource::~memory_resource()): | |
159 | Define. | |
160 | (monotonic_buffer_resource::~monotonic_buffer_resource()): Define. | |
161 | * testsuite/20_util/monotonic_buffer_resource/93208.cc: New test. | |
162 | ||
b9c84e95 FD |
163 | 2020-01-09 François Dumont <fdumont@gcc.gnu.org> |
164 | ||
165 | PR libstdc++/92124 | |
166 | * include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New | |
167 | template alias. | |
168 | (_Hashtable<>::__fwd_value_for): New. | |
169 | (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template | |
170 | parameter. | |
171 | (_Hashtable<>::_M_assign<>): Add _Ht template parameter. | |
172 | (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt. | |
173 | (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept | |
174 | with std::move. | |
175 | (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt. | |
176 | (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)): | |
177 | Adapt. | |
178 | (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)): | |
179 | Adapt. | |
180 | * testsuite/23_containers/unordered_set/92124.cc: New. | |
181 | ||
fff148b7 JW |
182 | 2020-01-08 Jonathan Wakely <jwakely@redhat.com> |
183 | ||
184 | PR libstdc++/93201 | |
185 | * src/c++17/fs_ops.cc (do_remove_all): New function implementing more | |
186 | detailed error reporting for remove_all. Check result of recursive | |
187 | call before incrementing iterator. | |
188 | (remove_all(const path&), remove_all(const path&, error_code&)): Use | |
189 | do_remove_all. | |
190 | * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check | |
191 | result of recursive call before incrementing iterator. | |
192 | * testsuite/27_io/filesystem/operations/remove_all.cc: Check errors | |
193 | are reported correctly. | |
194 | * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise. | |
195 | ||
9e3c1eb7 TR |
196 | 2020-01-07 Thomas Rodgers <trodgers@redhat.com> |
197 | ||
198 | * include/std/condition_variable | |
199 | (condition_variable_any::wait_on): Rename to match current draft | |
200 | standard. | |
201 | (condition_variable_any::wait_on_until): Likewise. | |
202 | (condition_variable_any::wait_on_for): Likewise. | |
203 | * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc: | |
204 | Adjust tests to account for renamed methods. | |
205 | ||
6af8819b FD |
206 | 2020-01-07 François Dumont <fdumont@gcc.gnu.org> |
207 | ||
208 | PR libstdc++/92124 | |
209 | * include/bits/stl_tree.h | |
210 | (_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace | |
211 | std::move_if_noexcept by std::move. | |
212 | * testsuite/23_containers/map/92124.cc: New. | |
213 | * testsuite/23_containers/set/92124.cc: New. | |
214 | ||
f31a99f7 JW |
215 | 2020-01-06 Jonathan Wakely <jwakely@redhat.com> |
216 | ||
a4a1f965 JW |
217 | * include/std/stop_token (stop_token): Remove operator!= (LWG 3254). |
218 | (stop_source): Likewise (LWG 3362). | |
219 | * testsuite/30_threads/stop_token/stop_source.cc: Test equality | |
220 | comparisons. | |
221 | ||
f31a99f7 JW |
222 | * include/bits/stl_algobase.h (__is_byte_iter, __min_cmp) |
223 | (lexicographical_compare_three_way): Do not depend on | |
224 | __cpp_lib_concepts. | |
225 | * include/std/version (__cpp_lib_three_way_comparison): Only define | |
226 | when __cpp_lib_concepts is defined. | |
227 | * libsupc++/compare (__cpp_lib_three_way_comparison): Likewise. | |
228 | ||
b4e70137 JW |
229 | 2020-01-03 Jonathan Wakely <jwakely@redhat.com> |
230 | ||
231 | * include/bits/stl_algobase.h (lexicographical_compare_three_way): | |
232 | Only define four-argument overload when __cpp_lib_concepts is defined. | |
233 | ||
a8497ec6 JDA |
234 | 2020-01-01 John David Anglin <danglin@gcc.gnu.org> |
235 | ||
236 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. | |
237 | ||
8d9254fc | 238 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
5624e564 JJ |
239 | |
240 | Update copyright years. | |
b4df5e92 | 241 | \f |
8d9254fc | 242 | Copyright (C) 2020 Free Software Foundation, Inc. |
b4df5e92 JW |
243 | |
244 | Copying and distribution of this file, with or without modification, | |
245 | are permitted in any medium without royalty provided the copyright | |
246 | notice and this notice are preserved. |