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