[PR86379] do not use TREE_TYPE for USING_DECL_SCOPE
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobd792ea6556b73678734d54964e306330a2848616
1 2019-02-11  Jonathan Wakely  <jwakely@redhat.com>
3         PR libstdc++/89023
4         * testsuite/17_intro/headers/c++2011/parallel_mode.cc: New test.
5         * testsuite/17_intro/headers/c++2014/parallel_mode.cc: New test.
6         * testsuite/17_intro/headers/c++2017/parallel_mode.cc: New test.
7         * testsuite/28_regex/headers/regex/parallel_mode.cc: Remove.
9 2019-02-09  Jonathan Wakely  <jwakely@redhat.com>
11         PR libstdc++/71044
12         * include/bits/fs_path.h (path::has_root_name)
13         (path::has_root_directory, path::has_root_path)
14         (path::has_relative_path, path::has_parent_path)
15         (path::has_filename, path::has_stem, path::has_extension)
16         (path::is_absolute, path::is_relative, path::_M_find_extension): Add
17         noexcept.
18         * src/c++17/fs_path.cc (path::has_root_name)
19         (path::has_root_directory, path::has_root_path)
20         (path::has_relative_path, path::has_parent_path)
21         (path::has_filename, path::_M_find_extension): Add noexcept.
23 2019-02-06  Jonathan Wakely  <jwakely@redhat.com>
25         PR libstdc++/89102 (partial)
26         * include/std/type_traits (common_type<>): Define.
27         (common_type<T>): Derive from common_type<T, T>.
28         * testsuite/20_util/common_type/requirements/explicit_instantiation.cc:
29         Test zero-length template argument list.
30         * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
31         Test additional single argument cases.
32         * testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc:
33         Adjust expected error.
35 2019-02-05  Jonathan Wakely  <jwakely@redhat.com>
37         PR libstdc++/89128
38         * include/bits/stl_queue.h (queue, priority_queue): Add deduction
39         guides.
40         * include/bits/stl_stack.h (stack): Likewise.
41         * testsuite/23_containers/priority_queue/deduction.cc: New test.
42         * testsuite/23_containers/queue/deduction.cc: New test.
43         * testsuite/23_containers/stack/deduction.cc: New test.
45         PR libstdc++/89194
46         * include/std/type_traits (__is_convertible_helper)
47         (__is_convertible_helper<_From, _To, false>): Revert changes to
48         support is_nothrow_convertible.
49         (__is_nt_convertible_helper): New helper.
50         (is_nothrow_convertible): Use __is_nt_convertible_helper.
52         * testsuite/23_containers/vector/modifiers/push_back/49836.cc: Restore
53         use of CopyConsOnlyType, but also test DelAnyAssign for completeness.
55         PR libstdc++/89130
56         * include/bits/alloc_traits.h (__is_copy_insertable_impl): Rename to
57         __is_alloc_insertable_impl. Replace single type member with two
58         members, one for each of copy and move insertable.
59         (__is_move_insertable): New trait for internal use.
60         * include/bits/stl_vector.h (vector::_S_nothrow_relocate(true_type))
61         (vector::_S_nothrow_relocate(true_type)): New functions to
62         conditionally check if __relocate_a can throw.
63         (vector::_S_use_relocate()): Dispatch to _S_nothrow_relocate based
64         on __is_move_insertable.
65         (vector::_S_do_relocate): New overloaded functions to conditionally
66         call __relocate_a.
67         (vector::_S_relocate): New function that dispatches to _S_do_relocate
68         based on _S_use_relocate.
69         * include/bits/vector.tcc (vector::reserve, vector::_M_realloc_insert)
70         (vector::_M_default_append): Call _S_relocate instead of __relocate_a.
71         * testsuite/23_containers/vector/modifiers/push_back/89130.cc: New.
73         PR libstdc++/89090
74         * include/bits/stl_uninitialized.h (__relocate_a_1): Make unused
75         parameter unnamed. Add message to static assertion.
76         * include/bits/vector.tcc (vector::reserve, vector::_M_realloc_insert)
77         (vector::_M_default_append): Use _GLIBCXX17_CONSTEXPR for if constexpr
78         in C++11 code.
80 2019-02-05  Marc Glisse  <marc.glisse@inria.fr>
82         PR libstdc++/87106
83         * include/bits/stl_uninitialized.h (__is_trivially_relocatable):
84         Rename...
85         (__is_bitwise_relocatable): ... to this.
86         (__relocate_a_1): Adapt.
87         * include/bits/stl_deque.h (__is_trivially_relocatable): Rename...
88         (__is_bitwise_relocatable): ... to this.
90 2019-01-30  Jonathan Wakely  <jwakely@redhat.com>
92         PR libstdc++/89117
93         * src/c++17/fs_path.cc (path::replace_extension): Erase extension from
94         final component as well as from _M_pathname. Append the dot using
95         operator+= instead of only to _M_pathname.
96         (path::_M_find_extension): Reformat slightly.
97         * testsuite/27_io/filesystem/path/modifiers/replace_extension.cc:
98         Add more test cases.
100 2019-01-30  Ulrich Drepper  <drepper@redhat.com>
102         * doc/xml/manual/status_cxx2020.xml: Update P0600 entry.
104 2019-01-29  Jonathan Wakely  <jwakely@redhat.com>
106         * testsuite/26_numerics/headers/complex/synopsis.cc: Remove incorrect
107         constexpr specifiers from arg and proj.
109         * config/abi/pre/gnu.ver (GLIBCXX_3.4.26): Add missing exports for
110         __shared_ptr instantiations used by gcc4-compatible ABI.
112         * include/experimental/forward_list (experimental::erase): Qualify
113         call to erase_if.
114         * include/experimental/list (experimental::erase): Likewise.
115         * include/std/forward_list (std::erase): Likewise.
116         * include/std/list (std::erase): Likewise.
118         * testsuite/20_util/reference_wrapper/result_type.cc: Disable for
119         C++2a.
120         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
121         * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
122         * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
123         * testsuite/30_threads/async/54297.cc: Suppress nodiscard warning.
124         * testsuite/ext/array_allocator/26875.cc: Likewise.
125         * testsuite/ext/pool_allocator/allocate_chunk.cc: Likewise.
126         * testsuite/util/replacement_memory_operators.h: Likewise.
127         * testsuite/util/testsuite_allocator.h: Likewise.
129         * include/std/memory_resource (__pool_resource::_M_unpooled): Use
130         normal mode vector, even for debug mode.
131         * include/std/vector [_GLIBCXX_DEBUG] (_GLIBCXX_STD_C::pmr::vector):
132         Define alias template for normal mode vector.
134 2019-01-28  Jonathan Wakely  <jwakely@redhat.com>
136         PR libstdc++/68737
137         * config/locale/generic/c_locale.h (__convert_from_v)
138         [_GLIBCXX_USE_C99_STDIO]: Also check _GLIBCXX_HAVE_BROKEN_VSNPRINTF.
139         * config/os/hpux/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSNPRINTF.
140         * include/bits/locale_facets.tcc (num_put::_M_insert_float)
141         [_GLIBCXX_USE_C99_STDIO]: Also check _GLIBCXX_HAVE_BROKEN_VSNPRINTF.
143 2019-01-24  Jonathan Wakely  <jwakely@redhat.com>
145         PR libstdc++/88840
146         * include/bits/stl_vector.h (vector::__use_relocate): Replace static
147         data member with static member function _S_use_relocate().
148         * include/bits/vector.tcc (vector::reserve, vector::_M_realloc_insert)
149         (vector::_M_default_append): Use _S_use_relocate() instead of
150         __use_relocate.
152         * testsuite/27_io/filesystem/path/compare/strings.cc: Only compare
153         sign of results.
155 2019-01-22  Jonathan Wakely  <jwakely@redhat.com>
157         PR libstdc++/88740
158         * testsuite/util/testsuite_hooks.h [stderr] (VERIFY): Use fprintf to
159         write to stderr instead of using printf.
161 2019-01-21  Jakub Jelinek  <jakub@redhat.com>
163         PR libstdc++/86590
164         * include/bits/char_traits.h (__constant_string_p,
165         __constant_char_array_p): Use __builtin_is_constant_evaluated if
166         available.
168 2019-01-20  Ulrich Drepper  <drepper@redhat.com>
170         Implement C++20 P0600r1.
171         * include/backward/hash_map: Add nodiscard attribute to empty.
172         * include/backward/hash_set: Likewise.
173         * backward/hashtable.h: Likewise.
174         * include/bits/basic_string.h: Likewise.
175         * include/bits/forward_list.h: Likewise.
176         * include/bits/hashtable.h: Likewise.
177         * include/bits/regex.h: Likewise.
178         * include/bits/stl_deque.h: Likewise.
179         * include/bits/stl_list.h: Likewise.
180         * include/bits/stl_map.h: Likewise.
181         * include/bits/stl_multimap.h: Likewise.
182         * include/bits/stl_multiset.h: Likewise.
183         * include/bits/stl_queue.h: Likewise.
184         * include/bits/stl_set.h: Likewise.
185         * include/bits/stl_stack.h: Likewise.
186         * include/bits/stl_tree.h: Likewise.
187         * include/bits/stl_vector.h: Likewise.
188         * include/bits/unordered_map.h: Likewise.
189         * include/bits/unordered_set.h: Likewise.
190         * include/debug/array: Likewise.
191         * include/experimental/any: Likewise.
192         * include/experimental/bits/fs_path.h: Likewise.
193         * include/experimental/internet: Likewise.
194         * include/experimental/string_view: Likewise.
195         * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp:
196         Likewise.
197         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp:
198         Likewise.
199         * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp:
200         Likewise.
201         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp:
202         Likewise.
203         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp:
204         Likewise.
205         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp:
206         Likewise.
207         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp:
208         Likewise.
209         * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp:
210         Likewise.
211         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
212         info_fn_imps.hpp: Likewise.
213         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
214         left_child_next_sibling_heap_.hpp: Likewise.
215         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp:
216         Likewise.
217         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp:
218         Likewise.
219         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp:
220         Likewise.
221         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hp:
222         Likewise.
223         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp:
224         Likewise.
225         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:
226         Likewise.
227         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp:
228         Likewise.
229         * include/ext/pb_ds/detail/tree_trace_base.hpp: Likewise.
230         * include/ext/pb_ds/trie_policy.hpp: Likewise.
231         * include/ext/rope: Likewise.
232         * include/ext/slist: Likewise.
233         * include/ext/vstring.h: Likewise.
234         * include/profile/array: Likewise.
235         * include/std/array: Likewise.
236         * include/tr1/array: Likewise.
237         * include/tr1/hashtable.h: Likewise.
238         * include/tr1/regex: Likewise.
239         * include/tr2/dynamic_bitset: Likewise.
240         * include/bits/alloc_traits.h: Add nodiscard attribute to
241         allocate.
242         * include/experimental/memory_resource: Likewise.
243         * include/ext/alloc_traits.h: Likewise.
244         * include/ext/array_allocator.h: Likewise.
245         * include/ext/bitmap_allocator.h: Likewise.
246         * include/ext/debug_allocator.h: Likewise.
247         * include/ext/extptr_allocator.h: Likewise.
248         * include/ext/mt_allocator.h: Likewise.
249         * include/ext/new_allocator.h: Likewise.
250         * include/ext/pool_allocator.h: Likewise.
251         * include/ext/throw_allocator.h: Likewise.
252         * include/std/scoped_allocator: Likewise.
253         * libsupc++/eh_alloc.cc: Likewise.
254         * include/std/future: Add nodiscard attribute to async.
255         * libsupc++/new: Add nodiscard attribute to new.
257 2019-01-18  Jonathan Wakely  <jwakely@redhat.com>
259         PR libstdc++/87514
260         PR libstdc++/87520
261         PR libstdc++/88782
262         * config/abi/pre/gnu.ver (GLIBCXX_3.4.26): Export new symbol.
263         * include/bits/shared_ptr.h
264         (shared_ptr(_Sp_make_shared_tag, const Alloc&, Args&&...))
265         (allocate_shared): Change to use new tag type.
266         * include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_eq):
267         Declare new member function.
268         (_Sp_alloc_shared_tag): Define new type.
269         (_Sp_counted_ptr_inplace): Declare __shared_count<_Lp> as a friend.
270         (_Sp_counted_ptr_inplace::_M_get_deleter) [!__cpp_rtti]: Use
271         _Sp_make_shared_tag::_S_eq to check type_info.
272         (__shared_count(Ptr, Deleter),__shared_count(Ptr, Deleter, Alloc)):
273         Constrain to prevent being called with _Sp_alloc_shared_tag.
274         (__shared_count(_Sp_make_shared_tag, const _Alloc&, Args&&...)):
275         Replace constructor with ...
276         (__shared_count(Tp*&, _Sp_alloc_shared_tag<_Alloc>, Args&&...)): Use
277         reference parameter so address of the new object can be returned to
278         the caller. Obtain the allocator from the tag type.
279         (__shared_ptr(_Sp_make_shared_tag, const Alloc&, Args&&...)): Replace
280         constructor with ...
281         (__shared_ptr(_Sp_alloc_shared_tag<Alloc>, Args&&...)): Pass _M_ptr
282         to the __shared_count constructor.
283         (__allocate_shared): Change to use new tag type.
284         * src/c++11/shared_ptr.cc (_Sp_make_shared_tag::_S_eq): Define.
286 2019-01-17  Jonathan Wakely  <jwakely@redhat.com>
288         * src/c++17/fs_ops.cc
289         (equivalent(const path&, const path&, error_code&))
290         [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use GetFileInformationByHandle to
291         compare files instead of relying on incomplete info returned by stat.
293         PR libstdc++/88884
294         * src/c++17/fs_ops.cc (absolute(const path&, error_code&)): Do nothing
295         if the path is already absolute.
296         [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Normalize root-directory.
297         [!_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Pass error_code to current_path.
299         PR libstdc++/88881
300         * src/c++17/fs_ops.cc (canonical(const path&, error_code&))
301         [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Normalize path, to match behaviour
302         of filesystem::exists.
303         (create_directories(const path&, error_code&)): Add assertions.
304         (status(const path&, error_code&)) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]:
305         Add workaround for bug in _wstat for paths with trailing slash.
306         * testsuite/27_io/filesystem/operations/create_directories.cc: Adjust
307         for expected behaviour on mingw.
308         * testsuite/experimental/filesystem/operations/create_directories.cc:
309         Likewise.
310         * testsuite/27_io/filesystem/operations/temp_directory_path.cc: Use
311         "TMP" instead of "TMPDIR" and clean environment before each test. Do
312         not test permissions on mingw targets.
314 2019-01-16  Jonathan Wakely  <jwakely@redhat.com>
316         * config/abi/pre/gnu.ver (GLIBCXX_3.4.26): Add exports for fstream
317         constructors and open members taking wide strings. Fix patterns for
318         filesystem::path members to match wstring_view parameters. Add
319         exports for shared_ptr members used by directory iterators.
320         * src/c++17/fs_ops.cc (remove(const path&, error_code&)): Clear the
321         error code parameter if the file doesn't exist.
322         * src/filesystem/ops.cc (remove(const path&, error_code&)):
323         Likewise.
324         * testsuite/27_io/filesystem/operations/canonical.cc: Fix expected
325         values for mingw targets, where "/" is not an absolute path. Do not
326         test symlinks on mingw targets.
327         * testsuite/experimental/filesystem/operations/canonical.cc: Likewise.
328         * testsuite/27_io/filesystem/operations/copy.cc: Do not test symlinks
329         on mingw targets.
330         * testsuite/experimental/filesystem/operations/copy.cc: Likewise.
331         * testsuite/27_io/filesystem/operations/create_directories.cc: Check
332         that each component of the path is created.
333         * testsuite/experimental/filesystem/operations/create_directories.cc:
334         Likewise.
335         * testsuite/27_io/filesystem/operations/exists.cc: Do not test
336         permissions on mingw targets.
337         * testsuite/experimental/filesystem/operations/exists.cc: Likewise.
338         * testsuite/27_io/filesystem/operations/is_empty.cc: Likewise.
339         * testsuite/experimental/filesystem/operations/is_empty.cc: Likewise.
340         * testsuite/27_io/filesystem/operations/permissions.cc: XFAIL for
341         mingw targets.
342         * testsuite/experimental/filesystem/operations/permissions.cc:
343         Likewise.
344         * testsuite/27_io/filesystem/operations/remove.cc: Do not test
345         symlinks or permissions on mingw targets.
346         * testsuite/experimental/filesystem/operations/remove.cc: Likewise.
347         * testsuite/27_io/filesystem/operations/remove_all.cc: Do not test
348         symlinks on mingw targets.
349         * testsuite/experimental/filesystem/operations/remove_all.cc:
350         Likewise.
351         * testsuite/27_io/filesystem/operations/status.cc: Do not test
352         permissions on mingw targets.
353         * testsuite/27_io/filesystem/operations/weakly_canonical.cc: Do not
354         test symlinks on mingw targets.
355         * testsuite/experimental/filesystem/operations/space.cc: Fix test
356         for mingw targets.
358 2019-02-14  Ulrich Drepper  <drepper@redhat.com>
360         PR libstdc++/88738
361         Warn about unused comparisons of shared_ptr/unique_ptr
362         * include/bits/c++config [_GLIBCXX_NODISCARD]: Define.
363         * include/bits/shared_ptr.h: Use it for operator ==, !=,
364         <, <=, >, >= for shared_ptr.
365         * include/bits/unique_ptr.h: Likewise for unique_ptr.
367 2019-01-15  Jonathan Wakely  <jwakely@redhat.com>
369         * include/bits/shared_ptr_base.h (__cpp_lib_shared_ptr_arrays): Define
370         as 201611L, because P0497R0 changes are supported.
371         * include/std/version (__cpp_lib_shared_ptr_arrays): Likewise.
373         * include/bits/erase_if.h [__cplusplus > 201703L]
374         (__cpp_lib_erase_if): Only define for C++2a.
375         * include/std/iterator [__cplusplus >= 201402L && !_GLIBCXX_DEBUG]
376         (__cpp_lib_null_iterators): Define.
377         * include/std/version [__cplusplus >= 201402L && !_GLIBCXX_DEBUG]
378         (__cpp_lib_null_iterators): Define.
379         [__cpp_impl_destroying_delete] (__cpp_lib_destroying_delete): Define.
381         * doc/xml/manual/status_cxx2017.xml: Document P0032R3 and P0307R2
382         status.
383         * include/bits/stl_uninitialized.h (__cpp_lib_raw_memory_algorithms):
384         Define.
385         * include/std/any (__cpp_lib_any): Define as 201606L, because P0032R3
386         changes are supported.
387         * include/std/optional (__cpp_lib_optional): Likewise.
388         * include/std/variant (__cpp_lib_variant): Likewise.
389         * include/std/version [!__STRICT_ANSI__]
390         (__cpp_lib_uncaught_exceptions): Define as long integer.
391         [__cplusplus >= 201703L] (__cpp_lib_any)
392         (__cpp_lib_raw_memory_algorithms, __cpp_lib_uncaught_exceptions)
393         (__cpp_lib_variant): Define for C++17.
394         [__cplusplus >= 201703L] (__cpp_lib_optional): Update value and define
395         as long integer.
396         * libsupc++/exception (__cpp_lib_uncaught_exceptions): Define as long
397         integer.
399         * doc/xml/manual/status_cxx2020.xml: Update P1123R0 status.
401 2019-01-12  Jonathan Wakely  <jwakely@redhat.com>
403         PR libstdc++/88811
404         PR libstdc++/83306
405         * src/filesystem/path.cc: Fix typo. If first path is empty, show []
406         before second path.
407         * testsuite/experimental/filesystem/filesystem_error/cons.cc: New
408         test.
410 2019-01-11  Jonathan Wakely  <jwakely@redhat.com>
412         * doc/xml/manual/intro.xml: Include new section.
413         * doc/xml/manual/status_cxx2017.xml: Document more
414         implementation-defined properties of the library.
415         * doc/xml/manual/status_cxx2020.xml: Document C++2a status.
416         * doc/html/*: Regenerate.
418         * include/bits/refwrap.h [__cplusplus > 201703L]
419         (_Refwrap_base_arg1, _Refwrap_base_arg2, _Reference_wrapper_base)
420         (_Reference_wrapper_base_memfun): Do not define for C++2a.
421         (reference_wrapper): Do not derive from _Reference_wrapper_base_memfun
422         for C++2a.
423         (reference_wrapper::operator()): Add static assertion.
424         * testsuite/20_util/reference_wrapper/incomplete.cc: New test.
426         * include/std/chrono (duration_values::zero(), duration_values::min())
427         (duration_values::max()): Add noexcept.
428         (duration::zero(), duration::min(), duration::max()): Likewise.
429         (time_point::zero(), time_point::min(), time_point::max()): Likewise.
430         * testsuite/20_util/duration/requirements/noexcept.cc: New test.
431         * testsuite/20_util/time_point/requirements/noexcept.cc: New test.
433         * include/std/version (__cpp_lib_erase_if): Move to C++20 group.
435 2019-01-11  Jakub Jelinek  <jakub@redhat.com>
437         * include/std/type_traits (__cpp_lib_is_constant_evaluated): Define.
438         * include/std/version (__cpp_lib_is_constant_evaluated): Define.
440 2019-01-11  Jonathan Wakely  <jwakely@redhat.com>
442         PR libstdc++/88802
443         * include/bits/functional_hash.h (hash<nullptr_t>): Define
444         specialization for C++17 (P0513R0, LWG 2817).
445         * testsuite/20_util/hash/nullptr.cc: New test.
447         PR libstdc++/88125
448         * config/abi/pre/gnu.ver (GLIBCXX_3.4.6): Remove unused duplicate
449         pattern for std::basic_stringbuf::str().
451         * config/abi/pre/gnu.ver (GLIBCXX_3.4): Correct recent changes to
452         basic_ostream::operator<< patterns.
454 2019-01-10  Jonathan Wakely  <jwakely@redhat.com>
456         * testsuite/27_io/filesystem/operations/last_write_time.cc: Fix
457         test failures on targets with 32-bit time_t.
459         * include/bits/erase_if.h: Define __cpp_lib_erase_if.
460         * include/std/deque: Likewise.
461         * include/std/forward_list: Likewise.
462         * include/std/list: Likewise.
463         * include/std/string: Likewise.
464         * include/std/vector: Likewise.
465         * include/std/version: Likewise.
466         * testsuite/21_strings/basic_string/erasure.cc: Test macro.
467         * testsuite/23_containers/deque/erasure.cc: Likewise.
468         * testsuite/23_containers/forward_list/erasure.cc: Likewise.
469         * testsuite/23_containers/list/erasure.cc: Likewise.
470         * testsuite/23_containers/map/erasure.cc: Likewise.
471         * testsuite/23_containers/set/erasure.cc: Likewise.
472         * testsuite/23_containers/unordered_map/erasure.cc: Likewise.
473         * testsuite/23_containers/unordered_set/erasure.cc: Likewise.
474         * testsuite/23_containers/vector/erasure.cc: Likewise.
476         * include/experimental/internet [AI_NUMERICSERV]
477         (resolver_base::numeric_service): Define conditionally.
478         * testsuite/experimental/net/internet/resolver/base.cc: Test it
479         conditionally.
480         * testsuite/experimental/net/internet/resolver/ops/lookup.cc:
481         Likewise.
483 2019-01-10  Ville Voutilainen  <ville.voutilainen@gmail.com>
484             Jonathan Wakely  <jwakely@redhat.com>
486         Implement LWG 2221
487         * config/abi/pre/gnu.ver (GLIBCXX_3.4): Tighten patterns.
488         (GLIBCXX_3.4.26): Add new exports.
489         * include/Makefile.am: Add ostream-inst.cc. Move string-inst.cc to
490         correct list of sources.
491         * include/Makefile.in: Regenerate.
492         * include/std/ostream (operator<<(nullptr_t)): New member function.
493         * src/c++17/ostream-inst.cc: New file.
494         * testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc: New
495         test.
497 2019-01-10  Jonathan Wakely  <jwakely@redhat.com>
499         * testsuite/util/testsuite_fs.h (nonexistent_path): Include name
500         of the source file containing the caller.
501         * testsuite/27_io/filesystem/iterators/directory_iterator.cc: Remove
502         directories created by test.
503         * testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc:
504         Likewise.
505         * testsuite/experimental/filesystem/iterators/directory_iterator.cc:
506         Likewise.
507         * testsuite/experimental/filesystem/iterators/
508         recursive_directory_iterator.cc: Likewise.
510 2019-01-10  Jakub Jelinek  <jakub@redhat.com>
512         PR tree-optimization/88775
513         * include/bits/stl_function.h (greater<_Tp*>::operator(),
514         less<_Tp*>::operator(), greater_equal<_Tp*>::operator(),
515         less_equal<_Tp*>::operator()): Use __builtin_is_constant_evaluated
516         instead of __builtin_constant_p if available.  Don't bother with
517         the pointer comparison in C++11 and earlier.
519 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
521         PR other/16615
523         * include/ext/bitmap_allocator.h: Mechanically replace "can not"
524         with "cannot".
526 2019-01-09  Jonathan Wakely  <jwakely@redhat.com>
528         * testsuite/libstdc++-prettyprinters/cxx17.cc: Fix expected output
529         for filesystem::path. Give variables more distinctive names.
531         * include/std/optional (_Optional_payload_base::_M_copy_assign): New
532         member function to perform non-trivial assignment.
533         (_Optional_payload_base::_M_move_assign): Likewise.
534         (_Optional_payload<T, true, false, true>::operator=)
535         (_Optional_payload<T, true, true, false>::operator=)
536         (_Optional_payload<T, true, false, false>::operator=): Call
537         _M_copy_assign and/or _M_move_assign to do non-trivial assignments.
539         PR libstdc++/88204
540         * testsuite/26_numerics/complex/operators/more_constexpr.cc: Do not
541         test std::complex<long double> if long double format is IBM128.
542         * testsuite/26_numerics/complex/requirements/more_constexpr.cc:
543         Likewise.
545 2019-01-08  Jonathan Wakely  <jwakely@redhat.com>
547         * testsuite/libstdc++-prettyprinters/compat.cc: Test printer support
548         for old std::unique_ptr layout.
549         * testsuite/libstdc++-prettyprinters/cxx17.cc: Fix std::variant test
550         to become valueless. Add filesystem::path tests.
552         PR libstdc++/87855
553         * include/std/optional (_Optional_payload_base): New class template
554         for common code hoisted from _Optional_payload specializations. Use
555         a template for the union, to allow a partial specialization for
556         types with non-trivial destructors. Add constructors for in-place
557         initialization to the union.
558         (_Optional_payload(bool, const _Optional_payload&)): Use _M_construct
559         to perform non-trivial copy construction, instead of relying on
560         non-standard copy elision in a delegating constructor.
561         (_Optional_payload(bool, _Optional_payload&&)): Likewise for
562         non-trivial move construction.
563         (_Optional_payload): Derive from _Optional_payload_base and use it
564         for everything except the non-trivial assignment operators, which are
565         defined as needed.
566         (_Optional_payload<false, C, M>): Derive from the specialization
567         _Optional_payload<true, false, false> and add a destructor.
568         (_Optional_base_impl::_M_destruct, _Optional_base_impl::_M_reset):
569         Forward to corresponding members of _Optional_payload.
570         (_Optional_base_impl::_M_is_engaged, _Optional_base_impl::_M_get):
571         Hoist common members from _Optional_base.
572         (_Optional_base): Make all members and base class public.
573         (_Optional_base::_M_get, _Optional_base::_M_is_engaged): Move to
574         _Optional_base_impl.
575         * python/libstdcxx/v6/printers.py (StdExpOptionalPrinter): Add
576         support for new std::optional layout.
577         * testsuite/libstdc++-prettyprinters/compat.cc: New test.
579         PR libstdc++/88066
580         * include/bits/locale_conv.h: Use <> for includes not "".
581         * include/ext/random: Likewise.
582         * include/ext/vstring.h: Likewise.
584 2019-01-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
586         * config/abi/pre/gnu.ver (GLIBCXX_3.4): Tighten existing patterns.
587         (GLIBCXX_3.4.21): Likewise.
589 2019-01-08  Jonathan Wakely  <jwakely@redhat.com>
591         PR libstdc++/88749
592         * src/filesystem/ops.cc (last_write_time): Fix preprocessor condition
593         to match the one that controls whether utimbuf and utime are declared.
595 2019-01-07  Jonathan Wakely  <jwakely@redhat.com>
597         PR libstdc++/87787
598         * include/bits/char_traits.h (char_traits::move): Do not pass null
599         pointers to memmove.
600         * include/bits/locale_facets.h
601         (ctype<char>::widen(const char*, const char*, char*)): Do not
602         pass null pointers to memcpy.
603         (ctype<char>::narrow(const char*, const char*, char, char*)):
604         Likewise.
605         (ctype<char>::do_widen(const char*, const char*, char*)):
606         Likewise.
607         (ctype<char>::do_narrow(const char*, const char*, char, char*)):
608         Likewise.
610         * doc/xml/manual/spine.xml: Update copyright years.
611         * doc/xml/manual/status_cxx2017.xml: Adjust note about -lstdc++fs.
612         * doc/xml/manual/using.xml: Remove requirement to link with -lstdc++fs
613         for C++17 filesystem library.
614         * doc/html/*: Regenerate.
616         * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for truncate.
617         * config.h.in: Regenerate.
618         * config/abi/pre/gnu.ver: Order patterns for filesystem operations
619         alphabetically and add missing entries for copy_symlink,
620         hard_link_count, rename, and resize_file.
621         * configure: Regenerate.
622         * src/c++17/fs_ops.cc (resize_file): Remove #if so posix::truncate is
623         used unconditionally.
624         * src/filesystem/ops-common.h (__gnu_posix::truncate)
625         [!_GLIBCXX_HAVE_TRUNCATE]: Provide fallback definition that only
626         supports truncating to zero length.
627         * testsuite/27_io/filesystem/operations/all.cc: New test.
628         * testsuite/27_io/filesystem/operations/resize_file.cc: New test.
630 2019-01-06  Jonathan Wakely  <jwakely@redhat.com>
632         PR libstdc++/86756
633         * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for utime and
634         lstat and define _GLIBCXX_USE_UTIME and _GLIBCXX_USE_LSTAT.
635         * config.h.in: Regenerate.
636         * config/abi/pre/gnu.ver (GLIBCXX_3.4.26): Export symbols for
637         remaining std::filesystem types and functions.
638         * configure: Regenerate.
639         * src/c++17/Makefile.am: Add C++17 filesystem sources.
640         * src/c++17/Makefile.in: Regenerate.
641         * src/c++17/cow-fs_dir.cc: Move src/filesystem/cow-std-dir.cc to
642         here, and change name of included file.
643         * src/c++17/cow-fs_ops.cc: Move src/filesystem/cow-std-ops.cc to
644         here, and change name of included file.
645         * src/c++17/fs_dir.cc: Move src/filesystem/std-dir.cc to here. Change
646         path to dir-common.h.
647         * src/c++17/fs_ops.cc: Move src/filesystem/std-ops.cc to here. Change
648         path to ops-common.h. Disable -Wunused-parameter warnings.
649         (internal_file_clock): Define unconditionally.
650         [!_GLIBCXX_HAVE_SYS_STAT_H] (internal_file_clock::from_stat): Do not
651         define.
652         (do_copy_file, do_space): Move definitions to ops.common.h.
653         (copy, file_size, hard_link_count, last_write_time, space): Only
654         perform operation when _GLIBCXX_HAVE_SYS_STAT_H is defined, otherwise
655         report an error.
656         (last_write_time, read_symlink): Remove unused attributes from
657         parameters.
658         * src/filesystem/Makefile.am: Remove C++17 filesystem sources.
659         * src/filesystem/Makefile.in: Regenerate.
660         * src/filesystem/cow-std-dir.cc: Move to src/c++17/cow-fs_dir.cc.
661         * src/filesystem/cow-std-ops.cc: Move to src/c++17/cow-fs_ops.cc.
662         * src/filesystem/std-dir.cc: Move to src/c++17/fs_dir.cc.
663         * src/filesystem/std-ops.cc: Move to src/c++17/fs_ops.cc.
664         * src/filesystem/dir-common.h [!_GLIBCXX_HAVE_DIRENT_H]: Define
665         dummy types and functions instead of using #error.
666         * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H]: Use #error.
667         * src/filesystem/ops-common.h [!_GLIBCXX_USE_LSTAT] (lstat): Define
668         in terms of stat.
669         [!_GLIBCXX_HAVE_UNISTD_H]: Define dummy types and functions.
670         (do_copy_file, do_space): Move definitions here from std-ops.cc.
671         * src/filesystem/ops.cc: Adjust calls to do_copy_file and do_space
672         to account for new namespace.
673         * testsuite/27_io/filesystem/directory_entry/86597.cc: Remove
674         -lstdc++fs from dg-options.
675         * testsuite/27_io/filesystem/directory_entry/lwg3171.cc: Likewise.
676         * testsuite/27_io/filesystem/file_status/1.cc: Likewise.
677         * testsuite/27_io/filesystem/filesystem_error/cons.cc: Likewise.
678         * testsuite/27_io/filesystem/filesystem_error/copy.cc: Likewise.
679         * testsuite/27_io/filesystem/iterators/directory_iterator.cc:
680         Likewise.
681         * testsuite/27_io/filesystem/iterators/pop.cc: Likewise.
682         * testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc:
683         Likewise.
684         * testsuite/27_io/filesystem/operations/absolute.cc: Likewise.
685         * testsuite/27_io/filesystem/operations/canonical.cc: Likewise.
686         * testsuite/27_io/filesystem/operations/copy.cc: Likewise.
687         * testsuite/27_io/filesystem/operations/copy_file.cc: Likewise.
688         * testsuite/27_io/filesystem/operations/create_directories.cc:
689         Likewise.
690         * testsuite/27_io/filesystem/operations/create_directory.cc: Likewise.
691         * testsuite/27_io/filesystem/operations/create_symlink.cc: Likewise.
692         * testsuite/27_io/filesystem/operations/current_path.cc: Likewise.
693         * testsuite/27_io/filesystem/operations/equivalent.cc: Likewise.
694         * testsuite/27_io/filesystem/operations/exists.cc: Likewise.
695         * testsuite/27_io/filesystem/operations/file_size.cc: Likewise.
696         * testsuite/27_io/filesystem/operations/is_empty.cc: Likewise.
697         * testsuite/27_io/filesystem/operations/last_write_time.cc: Likewise.
698         * testsuite/27_io/filesystem/operations/permissions.cc: Likewise.
699         * testsuite/27_io/filesystem/operations/proximate.cc: Likewise.
700         * testsuite/27_io/filesystem/operations/read_symlink.cc: Likewise.
701         * testsuite/27_io/filesystem/operations/relative.cc: Likewise.
702         * testsuite/27_io/filesystem/operations/remove.cc: Likewise.
703         * testsuite/27_io/filesystem/operations/remove_all.cc: Likewise.
704         * testsuite/27_io/filesystem/operations/space.cc: Likewise.
705         * testsuite/27_io/filesystem/operations/status.cc: Likewise.
706         * testsuite/27_io/filesystem/operations/symlink_status.cc: Likewise.
707         * testsuite/27_io/filesystem/operations/temp_directory_path.cc:
708         Likewise.
709         * testsuite/27_io/filesystem/operations/weakly_canonical.cc: Likewise.
712         PR libstdc++/86756
713         * config/abi/pre/gnu.ver (GLIBCXX_3.4): Make various patterns for
714         typeinfo and vtables less greedy.
715         (GLIBCXX_3.4.26): Export symbols for std::filesystem::path.
716         * src/c++17/Makefile.am: Add fs_path.cc and cow-fs_path.cc.
717         * src/c++17/Makefile.in: Regenerate.
718         * src/c++17/cow-fs_path.cc: Move src/filesystem/cow-std-path.cc to
719         here, and change name of included file.
720         * src/c++17/fs_path.cc: Move src/filesystem/std-path.cc to here.
721         * src/filesystem/Makefile.am: Remove std-path.cc and cow-std-path.cc
722         from sources.
723         * src/filesystem/Makefile.in: Regenerate.
724         * src/filesystem/cow-std-path.cc: Move to src/c++17/cow-fs_path.cc.
725         * src/filesystem/std-path.cc: Move to src/c++17/fs_path.cc.
726         * testsuite/27_io/filesystem/path/append/path.cc: Remove -lstdc++fs
727         from dg-options and remove dg-require-filesystem-ts.
728         * testsuite/27_io/filesystem/path/append/source.cc: Likewise.
729         * testsuite/27_io/filesystem/path/assign/assign.cc: Likewise.
730         * testsuite/27_io/filesystem/path/assign/copy.cc: Likewise.
731         * testsuite/27_io/filesystem/path/compare/compare.cc: Likewise.
732         * testsuite/27_io/filesystem/path/compare/lwg2936.cc: Likewise.
733         * testsuite/27_io/filesystem/path/compare/path.cc: Likewise.
734         * testsuite/27_io/filesystem/path/compare/strings.cc: Likewise.
735         * testsuite/27_io/filesystem/path/concat/path.cc: Likewise.
736         * testsuite/27_io/filesystem/path/concat/strings.cc: Likewise.
737         * testsuite/27_io/filesystem/path/construct/80762.cc: Likewise.
738         * testsuite/27_io/filesystem/path/construct/copy.cc: Likewise.
739         * testsuite/27_io/filesystem/path/construct/default.cc: Likewise.
740         * testsuite/27_io/filesystem/path/construct/format.cc: Likewise.
741         * testsuite/27_io/filesystem/path/construct/locale.cc: Likewise.
742         * testsuite/27_io/filesystem/path/construct/range.cc: Likewise.
743         * testsuite/27_io/filesystem/path/construct/string_view.cc: Likewise.
744         * testsuite/27_io/filesystem/path/decompose/extension.cc: Likewise.
745         * testsuite/27_io/filesystem/path/decompose/filename.cc: Likewise.
746         * testsuite/27_io/filesystem/path/decompose/parent_path.cc: Likewise.
747         * testsuite/27_io/filesystem/path/decompose/relative_path.cc: Likewise.
748         * testsuite/27_io/filesystem/path/decompose/root_directory.cc:
749         Likewise.
750         * testsuite/27_io/filesystem/path/decompose/root_name.cc: Likewise.
751         * testsuite/27_io/filesystem/path/decompose/root_path.cc: Likewise.
752         * testsuite/27_io/filesystem/path/decompose/stem.cc: Likewise.
753         * testsuite/27_io/filesystem/path/generation/normal.cc: Likewise.
754         * testsuite/27_io/filesystem/path/generation/normal2.cc: Likewise.
755         * testsuite/27_io/filesystem/path/generation/proximate.cc: Likewise.
756         * testsuite/27_io/filesystem/path/generation/relative.cc: Likewise.
757         * testsuite/27_io/filesystem/path/generic/generic_string.cc: Likewise.
758         * testsuite/27_io/filesystem/path/itr/components.cc: Likewise.
759         * testsuite/27_io/filesystem/path/itr/traversal.cc: Likewise.
760         * testsuite/27_io/filesystem/path/modifiers/clear.cc: Likewise.
761         * testsuite/27_io/filesystem/path/modifiers/make_preferred.cc:
762         Likewise.
763         * testsuite/27_io/filesystem/path/modifiers/remove_filename.cc:
764         Likewise.
765         * testsuite/27_io/filesystem/path/modifiers/replace_extension.cc:
766         Likewise.
767         * testsuite/27_io/filesystem/path/modifiers/replace_filename.cc:
768         Likewise.
769         * testsuite/27_io/filesystem/path/modifiers/swap.cc: Likewise.
770         * testsuite/27_io/filesystem/path/native/string.cc: Likewise.
771         * testsuite/27_io/filesystem/path/nonmember/append.cc: Likewise.
772         * testsuite/27_io/filesystem/path/nonmember/hash_value.cc: Likewise.
773         * testsuite/27_io/filesystem/path/query/empty.cc: Likewise.
774         * testsuite/27_io/filesystem/path/query/has_extension.cc: Likewise.
775         * testsuite/27_io/filesystem/path/query/has_filename.cc: Likewise.
776         * testsuite/27_io/filesystem/path/query/has_parent_path.cc: Likewise.
777         * testsuite/27_io/filesystem/path/query/has_relative_path.cc: Likewise.
778         * testsuite/27_io/filesystem/path/query/has_root_directory.cc:
779         Likewise.
780         * testsuite/27_io/filesystem/path/query/has_root_name.cc: Likewise.
781         * testsuite/27_io/filesystem/path/query/has_root_path.cc: Likewise.
782         * testsuite/27_io/filesystem/path/query/has_stem.cc: Likewise.
783         * testsuite/27_io/filesystem/path/query/is_absolute.cc: Likewise.
784         * testsuite/27_io/filesystem/path/query/is_relative.cc: Likewise.
786         PR libstdc++/87431
787         * include/std/variant (_Variant_storage<true, _Types...>::_M_valid):
788         Check is_trivially_copyable instead of is_scalar.
789         (variant::emplace<N, Args>(Args&&...)): If construction of the new
790         contained value can throw and its type is trivially copyable then
791         construct into a temporary variant and move from it, to provide the
792         strong exception safety guarantee.
793         (variant::emplace<N, U, Args>(initializer_list<U>, Args&&...)):
794         Likewise.
795         * testsuite/20_util/variant/87431.cc: New test.
796         * testsuite/20_util/variant/run.cc: Adjust test so that throwing
797         conversion causes valueless state.
799         PR libstdc++/88607
800         * testsuite/17_intro/headers/c++1998/charset.cc: New test.
801         * testsuite/17_intro/headers/c++2011/charset.cc: New test.
802         * testsuite/17_intro/headers/c++2014/charset.cc: New test.
803         * testsuite/17_intro/headers/c++2017/charset.cc: New test.
804         * testsuite/17_intro/headers/c++2020/charset.cc: New test.
806 2019-01-05  Jonathan Wakely  <jwakely@redhat.com>
808         * include/bits/fs_fwd.h (__file_clock): Define new clock.
809         (file_time_type): Redefine in terms of __file_clock.
810         * src/filesystem/ops-common.h (file_time): Add FIXME comment about
811         overflow.
812         * src/filesystem/std-ops.cc (is_set(perm_options, perm_options)): Give
813         internal linkage.
814         (internal_file_lock): New helper type for accessing __file_clock.
815         (do_copy_file): Use internal_file_lock to convert system time to
816         file_time_type.
817         (last_write_time(const path&, error_code&)): Likewise.
818         (last_write_time(const path&, file_time_type, error_code&)): Likewise.
820 2019-01-04  Jonathan Wakely  <jwakely@redhat.com>
822         * config/abi/pre/gnu.ver (GLIBCXX_3.4.21): Make patterns less greedy
823         for const member functions of std::basic_string.
824         (GLIBCXX_3.4.26): Export member functions of std::basic_string added
825         in C++17.
826         * include/bits/basic_string.h (basic_string(__sv_wrapper, const A&)):
827         Make non-standard constructor private.
828         [!_GLIBCXX_USE_CXX11_ABI] (basic_string(__sv_wrapper, const A&)):
829         Likewise.
830         * include/bits/basic_string.tcc (std::string, std::wstring): Declare
831         explicit instantiations for C++17 as well as earlier dialects.
832         * src/c++17/Makefile.am: Add new source files.
833         * src/c++17/Makefile.in: Regenerate.
834         * src/c++17/cow-string-inst.cc: New file defining explicit
835         instantiations for basic_string member functions added in C++17.
836         * src/c++17/string-inst.cc: Likewise.
838         * config/abi/pre/gnu.ver (GLIBCXX_3.4.26): Export allocator-extended
839         copy/move constructors for old std::basic_string.
840         * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
841         (basic_string::reference, basic_string::const_reference): Define
842         as plain references for C++11 and later.
843         (basic_string::basic_string()): Put constructor body outside
844         preprocessor conditional groups.
845         (basic_string::basic_string(basic_string&&)): Move _Alloc_hider
846         instead of copying it.
847         (basic_string::basic_string(const basic_string&, const _Alloc&)):
848         Define.
849         (basic_string::basic_string(basic_string&&, const _Alloc&)):
850         Define.
851         * include/bits/fs_path.h [!_GLIBCXX_USE_CXX11_ABI]: Remove special
852         cases for old basic_string.
853         * testsuite/21_strings/basic_string/cons/char/8.cc: Test
854         allocator-extended constructors unconditionally. Add extra members to
855         allocator type when using old string ABI.
856         * testsuite/21_strings/basic_string/allocator/71964.cc: Enable test
857         for old string ABI.
858         * testsuite/21_strings/basic_string/cons/wchar_t/8.cc: Likewise.
860         * testsuite/23_containers/list/61347.cc: Avoid spurious failure when
861         -fno-inline added to test flags.
863         * testsuite/21_strings/basic_string/requirements/
864         explicit_instantiation/debug.cc: Remove XFAIL for old ABI.
866         * testsuite/27_io/filesystem/filesystem_error/copy.cc: Fix static
867         assertion failures with old std::string ABI.
869         * include/bits/fs_path.h (path::_List::erase): Replace both overloads
870         with ...
871         (path::pop_back(), path::_M_erase_from(const_iterator)): New member
872         functions that will only erase elements at the end.
873         * src/filesystem/std-path.cc (path::_List::_Impl::pop_back()): Define.
874         (path::_List::_Impl::_M_erase_from(const_iterator)): Define.
875         (path::_List::operator=(const _List&)): Use _M_erase_from(p) instead
876         of erase(p, end()).
877         (path::_List::pop_back()): Define.
878         (path::_List::_M_erase_from(const_iterator)): Define.
879         (path::operator/=(const path&)): Use pop_back to remove last component
880         and _M_erase_from to remove multiple components.
881         (path::_M_append(basic_string_view<value_type>)): Likewise.
882         (path::operator+=(const path&)): Likewise.
883         (path::_M_concat(basic_string_view<value_type>)): Likewise.
884         (path::remove_filename()): Likewise.
885         (path::lexically_normal()): Use _List::_Impl iterators instead of
886         path::iterator. Use pop_back to remove components from the end. Clear
887         trailing filename, instead of using erase(const_iterator) to remove
888         a non-final component.
889         * testsuite/27_io/filesystem/path/generation/normal.cc: Test
890         additional cases.
891         * testsuite/27_io/filesystem/path/generation/normal2.cc: New test.
893         * src/filesystem/std-path.cc (path::operator+=(const path&)): Fix
894         incorrect treatment of empty filename after trailing slash.
895         * testsuite/27_io/filesystem/path/concat/path.cc: Test problem case.
897         * testsuite/21_strings/basic_string/modifiers/assign/char/
898         move_assign_optim.cc: Avoid spurious failure when -fno-inline added
899         to test flags.
900         * testsuite/21_strings/basic_string/modifiers/assign/wchar_t/
901         move_assign_optim.cc: Likewise.
903 2019-01-03  Jonathan Wakely  <jwakely@redhat.com>
904             Jakub Jelinek  <jakub@redhat.com>
906         PR libstdc++/88607
907         * include/experimental/memory: Replace UTF-8 quote characters.
908         * include/std/future: Replace UTF-8 "em dash" characters.
910 2019-01-03  Jonathan Wakely  <jwakely@redhat.com>
912         PR libstdc++/88607
913         * include/bits/forward_list.h: Replace UTF-8 "ligature fi" character.
914         * include/debug/forward_list: Likewise.
915         * include/experimental/bits/shared_ptr.h: Remove UTF-8 "section sign"
916         character.
917         * include/experimental/chrono: Likewise.
918         * include/experimental/functional: Likewise.
919         * include/experimental/ratio: Likewise.
920         * include/experimental/system_error: Likewise.
921         * include/experimental/tuple: Likewise.
922         * include/experimental/type_traits: Likewise.
923         * include/parallel/workstealing.h: Replace UTF-8 "en dash" character.
924         * include/parallel/multiseq_selection.h: Likewise.
926         PR libstdc++/88681
927         * config/abi/pre/gnu.ver: Add missing exports.
928         * testsuite/22_locale/collate_byname/88681.cc: New test.
929         * testsuite/22_locale/time_get/get/char/88681.cc: New test.
930         * testsuite/22_locale/time_get/get/wchar_t/88681.cc: New test.
932 2019-01-02  Jonathan Wakely  <jwakely@redhat.com>
934         * testsuite/23_containers/map/cons/deduction.cc: Test deduction from
935         initializer_list<value_type> and from input iterator ranges.
936         * testsuite/23_containers/multimap/cons/deduction.cc: Likewise.
938         * testsuite/experimental/string_view/element_access/char/empty.cc:
939         Fix year range in copyright header.
941 2019-01-02  Joel Brobecker  <brobecker@adacore.com>
943         * testsuite/21_strings/basic_string_view/element_access/char/empty.cc:
944         Fix year range in copyright header.
946 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
948         Update copyright years.
950 Copyright (C) 2019 Free Software Foundation, Inc.
952 Copying and distribution of this file, with or without modification,
953 are permitted in any medium without royalty provided the copyright
954 notice and this notice are preserved.