]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
OpenACC – support "if" + "if_present" clauses with "host_data"
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
acd43917
OH
12020-01-09 Olivier Hainque <hainque@adacore.com>
2
3 * doc/xml/manual/appendix_contributing.xml: Document _C2
4 as a reserved identifier, by VxWorks.
5 * include/bits/stl_map.h: Rename _C2 template typenames as _Cmp2.
6 * include/bits/stl_multimap.h: Likewise.
7
caa39b2e
JW
82020-01-09 Jonathan Wakely <jwakely@redhat.com>
9
1a788638
JW
10 * include/ext/extptr_allocator.h (_ExtPtr_allocator::operator==)
11 (_ExtPtr_allocator::operator!=): Add missing const qualifiers.
12 * include/ext/pointer.h (readable_traits<_Pointer_adapter<S>>): Add
13 partial specialization to disambiguate the two constrained
14 specializations.
15
caa39b2e
JW
16 * include/experimental/type_traits (experimental::is_pod_v): Disable
17 -Wdeprecated-declarations warnings around reference to std::is_pod.
18 * include/std/type_traits (is_pod_v): Likewise.
19 * testsuite/18_support/max_align_t/requirements/2.cc: Also check
20 is_standard_layout and is_trivial. Do not check is_pod for C++20.
21 * testsuite/20_util/is_pod/requirements/explicit_instantiation.cc:
22 Add -Wno-deprecated for C++20.
23 * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
24 * testsuite/20_util/is_pod/value.cc: Likewise.
25 * testsuite/experimental/type_traits/value.cc: Likewise.
26
1a6c5064
JTM
272020-01-09 JeanHeyd "ThePhD" Meneide <phdofthehouse@gmail.com>
28
29 * include/bits/c++config (_GLIBCXX20_DEPRECATED): Add new macro.
30 * include/std/type_traits (is_pod, is_pod_v): Deprecate for C++20.
31 * testuite/20_util/is_pod/deprecated-2a.cc: New test.
32
d574c8aa
JW
332020-01-09 Jonathan Wakely <jwakely@redhat.com>
34
160e95dc
JW
35 PR libstdc++/93205
36 * include/bits/random.h (operator>>): Check stream operation succeeds.
37 * include/bits/random.tcc (operator<<): Remove redundant __ostream_type
38 typedefs.
39 (operator>>): Remove redundant __istream_type typedefs. Check stream
40 operations succeed.
41 (__extract_params): New function to fill a vector from a stream.
42 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line.
43
d574c8aa
JW
44 PR libstdc++/93208
45 * config/abi/pre/gnu.ver: Add new exports.
46 * include/std/memory_resource (memory_resource::~memory_resource()):
47 Do not define inline.
48 (monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise.
49 * src/c++17/memory_resource.cc (memory_resource::~memory_resource()):
50 Define.
51 (monotonic_buffer_resource::~monotonic_buffer_resource()): Define.
52 * testsuite/20_util/monotonic_buffer_resource/93208.cc: New test.
53
b9c84e95
FD
542020-01-09 François Dumont <fdumont@gcc.gnu.org>
55
56 PR libstdc++/92124
57 * include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New
58 template alias.
59 (_Hashtable<>::__fwd_value_for): New.
60 (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template
61 parameter.
62 (_Hashtable<>::_M_assign<>): Add _Ht template parameter.
63 (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt.
64 (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept
65 with std::move.
66 (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt.
67 (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)):
68 Adapt.
69 (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)):
70 Adapt.
71 * testsuite/23_containers/unordered_set/92124.cc: New.
72
fff148b7
JW
732020-01-08 Jonathan Wakely <jwakely@redhat.com>
74
75 PR libstdc++/93201
76 * src/c++17/fs_ops.cc (do_remove_all): New function implementing more
77 detailed error reporting for remove_all. Check result of recursive
78 call before incrementing iterator.
79 (remove_all(const path&), remove_all(const path&, error_code&)): Use
80 do_remove_all.
81 * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check
82 result of recursive call before incrementing iterator.
83 * testsuite/27_io/filesystem/operations/remove_all.cc: Check errors
84 are reported correctly.
85 * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise.
86
9e3c1eb7
TR
872020-01-07 Thomas Rodgers <trodgers@redhat.com>
88
89 * include/std/condition_variable
90 (condition_variable_any::wait_on): Rename to match current draft
91 standard.
92 (condition_variable_any::wait_on_until): Likewise.
93 (condition_variable_any::wait_on_for): Likewise.
94 * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc:
95 Adjust tests to account for renamed methods.
96
6af8819b
FD
972020-01-07 François Dumont <fdumont@gcc.gnu.org>
98
99 PR libstdc++/92124
100 * include/bits/stl_tree.h
101 (_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace
102 std::move_if_noexcept by std::move.
103 * testsuite/23_containers/map/92124.cc: New.
104 * testsuite/23_containers/set/92124.cc: New.
105
f31a99f7
JW
1062020-01-06 Jonathan Wakely <jwakely@redhat.com>
107
a4a1f965
JW
108 * include/std/stop_token (stop_token): Remove operator!= (LWG 3254).
109 (stop_source): Likewise (LWG 3362).
110 * testsuite/30_threads/stop_token/stop_source.cc: Test equality
111 comparisons.
112
f31a99f7
JW
113 * include/bits/stl_algobase.h (__is_byte_iter, __min_cmp)
114 (lexicographical_compare_three_way): Do not depend on
115 __cpp_lib_concepts.
116 * include/std/version (__cpp_lib_three_way_comparison): Only define
117 when __cpp_lib_concepts is defined.
118 * libsupc++/compare (__cpp_lib_three_way_comparison): Likewise.
119
b4e70137
JW
1202020-01-03 Jonathan Wakely <jwakely@redhat.com>
121
122 * include/bits/stl_algobase.h (lexicographical_compare_three_way):
123 Only define four-argument overload when __cpp_lib_concepts is defined.
124
a8497ec6
JDA
1252020-01-01 John David Anglin <danglin@gcc.gnu.org>
126
127 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
128
8d9254fc 1292020-01-01 Jakub Jelinek <jakub@redhat.com>
5624e564
JJ
130
131 Update copyright years.
b4df5e92 132\f
8d9254fc 133Copyright (C) 2020 Free Software Foundation, Inc.
b4df5e92
JW
134
135Copying and distribution of this file, with or without modification,
136are permitted in any medium without royalty provided the copyright
137notice and this notice are preserved.
This page took 0.871903 seconds and 5 git commands to generate.