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