Fix broken sed command from previous commit
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob4fae49c29332ac0684834cfbc47a011d10625d34
1 2018-04-13  Jonathan Wakely  <jwakely@redhat.com>
3         * src/c++11/Makefile.am: Fix sed command.
4         * src/c++11/Makefile.in: Regenerate.
6         * src/c++11/Makefile.am: Rewrite sed rule to be less fragile and to
7         handle mangled names starting with double underscores on darwin.
8         * src/c++11/Makefile.in: Regenerate.
10 2018-04-12  Jonathan Wakely  <jwakely@redhat.com>
12         * src/c++11/Makefile.am: Fix comment.
13         * src/c++11/Makefile.in: Regenerate.
14         * src/c++11/cxx11-ios_failure.cc: Fix comment.
15         * src/c++98/ios_failure.cc: Likewise.
17         * src/c++11/ios.cc: Remove redundant macro definition.
19 2018-04-11  Jonathan Wakely  <jwakely@redhat.com>
21         * doc/xml/manual/abi.xml: Document header locations in recent
22         releases.
23         * doc/xml/manual/evolution.xml: Add API changes since GCC 5.
24         * doc/xml/manual/spine.xml: Update copyright years.
25         * doc/xml/manual/strings.xml: Adjust tolower example to avoid
26         undefined behaviour.
27         * doc/xml/manual/test.xml: Update outdated notes on VERIFY in tests.
28         * doc/html/*: Regenerate.
30 2018-04-10  Jonathan Wakely  <jwakely@redhat.com>
32         * doc/xml/faq.xml: Update links to archived copy of SGI STL docs.
33         * doc/xml/manual/backwards_compatibility.xml: Likewise.
34         * doc/xml/manual/containers.xml: Likewise.
35         * doc/xml/manual/debug_mode.xml: Likewise.
36         * doc/xml/manual/extensions.xml: Likewise.
37         * doc/xml/manual/policy_data_structures_biblio.xml: Likewise.
38         * doc/xml/manual/using.xml: Likewise.
39         * doc/xml/manual/utilities.xml: Likewise.
41         PR libstdc++/85222
42         * src/c++11/Makefile.am [ENABLE_DUAL_ABI]: Add special rules for
43         cxx11-ios_failure.cc to rewrite type info for __ios_failure.
44         * src/c++11/Makefile.in: Regenerate.
45         * src/c++11/cxx11-ios_failure.cc (__ios_failure, __iosfail_type_info):
46         New types.
47         [_GLIBCXX_USE_DUAL_ABI] (__throw_ios_failure): Define here.
48         * src/c++11/ios.cc (__throw_ios_failure): Remove definition.
49         * src/c++98/ios_failure.cc (__construct_ios_failure)
50         (__destroy_ios_failure, is_ios_failure_handler): New functions.
51         [!_GLIBCXX_USE_DUAL_ABI] (__throw_ios_failure): Define here.
52         * testsuite/27_io/ios_base/failure/dual_abi.cc: New.
53         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Revert changes to
54         handler types, to always catch std::ios_base::failure.
55         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
56         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
57         exceptions_failbit.cc: Likewise.
58         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
59         exceptions_failbit.cc: Likewise.
60         * testsuite/27_io/basic_istream/extractors_other/char/
61         exceptions_null.cc: Likewise.
62         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
63         exceptions_null.cc: Likewise.
64         * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
65         * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
66         * testsuite/27_io/basic_ostream/inserters_other/char/
67         exceptions_null.cc: Likewise.
68         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
69         exceptions_null.cc: Likewise.
70         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
72 2018-04-05  Jonathan Wakely  <jwakely@redhat.com>
74         * include/std/variant (_VARIANT_RELATION_FUNCTION_TEMPLATE): Qualify
75         __get calls to avoid ADL and avoid ambiguity due to Clang bug.
77 2018-04-03  Jonathan Wakely  <jwakely@redhat.com>
79         PR libstdc++/85183
80         * include/std/variant (_Move_assign_base::operator=): Fix incorrect
81         value categories.
82         * testsuite/20_util/variant/85183.cc: New.
84 2018-03-26  Jonathan Wakely  <jwakely@redhat.com>
86         * include/std/variant (__get): Qualify calls to avoid ADL.
87         (__select_index): Adjust whitespace.
88         (variant): Add using-declaration to workaround Clang bug.
90 2018-03-22  Jonathan Wakely  <jwakely@redhat.com>
92         PR libstdc++/85040
93         * include/bits/stl_function.h (greater::__not_overloaded)
94         (less::__not_overloaded, greater_equal::__not_overloaded)
95         (less_equal::__not_overloaded): Fix ambiguous specializations.
96         * testsuite/20_util/function_objects/comparisons_pointer.cc: Add
97         tests for type with overloaded operators.
99 2018-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
101         PR libstdc++/77691
102         * testsuite/experimental/memory_resource/resource_adaptor.cc:
103         xfail execution on 32-bit Solaris/x86.
105 2018-03-21  Jonathan Wakely  <jwakely@redhat.com>
107         * testsuite/20_util/function_objects/comparisons_pointer.cc: Use
108         VERIFY instead of assert.
109         * testsuite/20_util/hash/84998.cc: New test.
110         * testsuite/23_containers/vector/cons/destructible_debug_neg.cc: New
111         copy of test adjusted for Debug Mode.
112         * testsuite/23_containers/vector/cons/destructible_neg.cc: Do not run
113         test in Debug Mode.
115 2018-03-20  François Dumont  <fdumont@gcc.gnu.org>
117         PR libstdc++/84998
118         * include/bits/stl_bvector.h: Fix std::hash friend declaration.
119         * include/std/bitset: Likewise.
120         * include/bits/stl_map.h (std::map<>): Fix _Rb_tree_merge_helper friend
121         declaration.
122         * include/bits/stl_multimap.h (std::multimap<>): Likewise.
123         * include/bits/stl_multiset.h (std::multiset<>): Likewise.
124         * include/bits/stl_set.h (std::set<>): Likewise.
125         * include/bits/unordered_map.h (std::unordered_map<>): Fix
126         _Hash_merge_helper friend declaration.
127         (std::unordered_multimap<>): Likewise.
128         * include/bits/unordered_set.h (std::unordered_set<>): Likewise.
129         (std::unordered_multiset<>): Likewise.
131 2018-03-19  Gerald Pfeifer  <gerald@pfeifer.com>
133         * doc/xml/api.xml: www.fsf.org has moved to https. Also omit
134         trailing slash for domain level link.
135         * doc/xml/faq.xml: Ditto.
136         * doc/xml/manual/appendix_free.xml (software): Ditto.
137         * doc/xml/manual/intro.xml: Ditto.
138         * doc/xml/manual/spine.xml: Ditto.
139         * doc/xml/spine.xml: Ditto.
141 2018-03-19  Gerald Pfeifer  <gerald@pfeifer.com>
143         * doc/xml/manual/documentation_hacking.xml: Adjust link to
144         docbook.org.
146 2018-03-17  Jonathan Wakely  <jwakely@redhat.com>
148         * testsuite/20_util/function_objects/comparisons_pointer.cc: Adjust
149         to compile as C++98.
151 2018-03-14  Jonathan Wakely  <jwakely@redhat.com>
153         PR libstdc++/78420
154         * include/bits/stl_function.h (greater<_Tp*>, less<_Tp*>)
155         (greater_equal<_Tp*>, less_equal<_Tp>*): Add partial specializations
156         to ensure total order for pointers.
157         (greater<void>, less<void>, greater_equal<void>, less_equal<void>):
158         Add operator() overloads for pointer arguments and make generic
159         overloads dispatch to new _S_cmp functions when comparisons would
160         use built-in operators for pointers.
161         * testsuite/20_util/function_objects/comparisons_pointer.cc: New.
163 2018-03-12  Jonathan Wakely  <jwakely@redhat.com>
165         PR libstdc++/84773
166         PR libstdc++/83662
167         * crossconfig.m4: Check for aligned_alloc etc. on freebsd and mingw32.
168         * configure: Regenerate.
169         * include/c_global/cstdlib [_GLIBCXX_HAVE_ALIGNED_ALLOC]
170         (aligned_alloc): Add using-declaration.
171         * testsuite/18_support/aligned_alloc/aligned_alloc.cc: New test.
173 2018-03-09  François Dumont  <fdumont@gcc.gnu.org>
175         * python/libstdcxx/v6/printers.py (build_libstdcxx_dictionary):
176         Fix std::_Fwd_list_iterator and std::_Fwd_list_const_iterator printers
177         registration.
179 2018-03-09  Jonathan Wakely  <jwakely@redhat.com>
181         PR libstdc++/84769
182         * include/std/variant (get<_Tp, _Types...>, get_if<_Tp, _Types...>):
183         Qualify calls to get<_Np, Types...> and get_if<_Np, _Types...>.
185         src/filesystem/ops.cc (create_dir): Pass error_code to is_directory.
186         src/filesystem/std-ops.cc (create_dir): Likewise.
188 2018-03-08  François Dumont  <fdumont@gcc.gnu.org>
190         * python/libstdcxx/v6/printers.py (NodeIteratorPrinter): New.
191         (StdListIteratorPrinter): Inherit from latter.
192         (StdFwdListIteratorPrinter): New, inherit from latter.
193         (StdDebugIteratorPrinter.to_string): Use non-debug iterator printer
194         when iterator has no associated container.
195         (build_libstdcxx_dictionary): Add __gnu_cxx::_Fwd_list_iterator and
196         __gnu_cxx::_Fwd_list_const_iterator printers. Remove __norm namespace
197         registrations.
198         * testsuite/libstdc++-prettyprinters/debug.cc: Adapt.
199         * testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Adapt.
201 2018-03-06  Ville Voutilainen  <ville.voutilainen@gmail.com>
203         PR libstdc++/84601
204         * include/std/optional (_Optional_payload): Split into multiple
205         specializations that can handle different cases of trivial or
206         non-trivial assignment operators.
207         * testsuite/20_util/optional/84601.cc: New.
208         * testsuite/20_util/optional/cons/value_neg.cc: Adjust.
210 2018-03-02  Jonathan Wakely  <jwakely@redhat.com>
212         PR libstdc++/84671
213         * include/bits/parse_numbers.h (_Number_help): Add partial
214         specialization to handle digit separators. Adjust partial
215         specialization for recursion temrination to require _Pow == 1ULL.
216         * testsuite/20_util/duration/literals/84671.cc: New
218 2018-02-27  Ville Voutilainen  <ville.voutilainen@gmail.com>
220         Implement the missing bits of LWG 2769
221         * include/std/any (any_cast(const any&)): Add static_assert.
222         (any_cast(any&)): Likewise.
223         (any_cast(any&&)): Likewise, and remove the handling
224         for copyable-but-not-movable type.
225         * testsuite/20_util/any/misc/any_cast.cc: Adjust.
226         * testsuite/20_util/any/misc/any_cast_neg.cc: Likewise, and
227         add new tests.
229 2018-02-23  Jonathan Wakely  <jwakely@redhat.com>
231         PR libstdc++/84532
232         * include/std/thread (thread::__make_invoker): Construct tuple
233         directly instead of using make_tuple.
234         * testsuite/30_threads/async/84532.cc: New.
235         * testsuite/30_threads/thread/84532.cc: New.
237 2018-02-20  François Dumont  <fdumont@gcc.gnu.org>
239         * include/ext/aligned_buffer.h [_GLIBCXX_INLINE_VERSION]
240         (template<> __aligned_buffer): Define as __aligned_membuf alias.
242 2018-02-19  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
244         PR target/84148
245         * configure: Regenerate.
247 2018-02-15  Jonathan Wakely  <jwakely@redhat.com>
249         PR libstdc++/81797
250         * configure.ac (INCLUDE_DIR_NOTPARALLEL): Define.
251         * configure: Regenerate.
252         * include/Makefile.am (INCLUDE_DIR_NOTPARALLEL): Add .NOTPARALLEL when
253         defined.
254         * include/Makefile.in: Regenerate.
256 2018-01-29  Jonathan Wakely  <jwakely@redhat.com>
258         PR libstdc++/83833
259         * testsuite/26_numerics/random/chi_squared_distribution/83833.cc:
260         Add -ffloat-store to options for m68k and ia32.
262         * doc/xml/faq.xml: Update copyright years.
263         * doc/html/*: Regenerate.
265         PR libstdc++/83658
266         * include/std/any (any::__do_emplace): Only set _M_manager after
267         constructing the contained object.
268         * testsuite/20_util/any/misc/any_cast_neg.cc: Adjust dg-error line.
269         * testsuite/20_util/any/modifiers/83658.cc: New test.
271 2018-01-25  Jonathan Wakely  <jwakely@redhat.com>
273         PR libstdc++/81076
274         * include/c_global/cstddef (__byte_operand): Define primary template.
275         * testsuite/18_support/byte/81076.cc: New test.
277 2018-01-19  Christophe Lyon  <christophe.lyon@linaro.org>
279         * testsuite/ext/special_functions/airy_ai/check_nan.cc: Fix
280         dg-options and dg-add-options order.
281         * testsuite/ext/special_functions/airy_bi/check_nan.cc: Likewise.
282         * testsuite/ext/special_functions/conf_hyperg/check_nan.cc:
283         Likewise.
284         * testsuite/ext/special_functions/hyperg/check_nan.cc: Likewise.
285         * testsuite/special_functions/01_assoc_laguerre/check_nan.cc:
286         Likewise.
287         * testsuite/special_functions/02_assoc_legendre/check_nan.cc:
288         Likewise.
289         * testsuite/special_functions/03_beta/check_nan.cc: Likewise.
290         * testsuite/special_functions/04_comp_ellint_1/check_nan.cc:
291         Likewise.
292         * testsuite/special_functions/05_comp_ellint_2/check_nan.cc:
293         Likewise.
294         * testsuite/special_functions/06_comp_ellint_3/check_nan.cc:
295         Likewise.
296         * testsuite/special_functions/06_comp_ellint_3/pr66689.cc:
297         Likewise.
298         * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc:
299         Likewise.
300         * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc:
301         Likewise.
302         * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc:
303         Likewise.
304         * testsuite/special_functions/10_cyl_neumann/check_nan.cc:
305         Likewise.
306         * testsuite/special_functions/11_ellint_1/check_nan.cc: Likewise.
307         * testsuite/special_functions/12_ellint_2/check_nan.cc: Likewise.
308         * testsuite/special_functions/13_ellint_3/check_nan.cc: Likewise.
309         * testsuite/special_functions/13_ellint_3/pr66689.cc: Likewise.
310         * testsuite/special_functions/14_expint/check_nan.cc: Likewise.
311         * testsuite/special_functions/15_hermite/check_nan.cc: Likewise.
312         * testsuite/special_functions/16_laguerre/check_nan.cc: Likewise.
313         * testsuite/special_functions/17_legendre/check_nan.cc: Likewise.
314         * testsuite/special_functions/18_riemann_zeta/check_nan.cc:
315         Likewise.
316         * testsuite/special_functions/19_sph_bessel/check_nan.cc:
317         Likewise.
318         * testsuite/special_functions/20_sph_legendre/check_nan.cc:
319         Likewise.
320         * testsuite/special_functions/21_sph_neumann/check_nan.cc:
321         Likewise.
323 2018-01-18  Uros Bizjak  <ubizjak@gmail.com>
325         * configure.ac (AC_CHECK_HEADERS): Add linux/types.h.  Conditionally
326         include linux/types.h when checking linux/random.h header.
327         * config.h.in: Regenerate.
328         * configure: Ditto.
329         * src/c++11/random.cc: Conditionally include linux/types.h.
331 2018-01-16  Eric Botcazou  <ebotcazou@adacore.com>
333         * testsuite/17_intro/names.cc: Undefine 'y' on SPARC/Linux.
335 2018-01-16  Jonathan Wakely  <jwakely@redhat.com>
337         PR libstdc++/83834
338         * config/abi/pre/gnu.ver (GLIBCXX_3.4): Replace std::c[a-g]* wildcard
339         pattern with exact match for std::cerr.
341 2018-01-15  Jonathan Wakely  <jwakely@redhat.com>
343         PR libstdc++/83833
344         * include/bits/random.h (chi_squared_distribution::param): Update
345         gamma distribution parameter.
346         * testsuite/26_numerics/random/chi_squared_distribution/83833.cc: New
347         test.
349         PR libstdc++/83830
350         * include/std/type_traits (has_unique_object_representations_v): Add
351         variable template.
352         * testsuite/20_util/has_unique_object_representations/value.cc: Check
353         variable template.
355 2018-01-15  Ville Voutilainen  <ville.voutilainen@gmail.com>
357         Make optional conditionally
358         trivially_{copy,move}_{constructible,assignable}
359         * include/std/optional (_Optional_payload): Fix the comment in
360         the class head and turn into a primary and one specialization.
361         (_Optional_payload::_M_engaged): Strike the NSDMI.
362         (_Optional_payload<_Tp, false>::operator=(const _Optional_payload&)):
363         New.
364         (_Optional_payload<_Tp, false>::operator=(_Optional_payload&&)):
365         Likewise.
366         (_Optional_payload<_Tp, false>::_M_get): Likewise.
367         (_Optional_payload<_Tp, false>::_M_reset): Likewise.
368         (_Optional_base_impl): Likewise.
369         (_Optional_base): Turn into a primary and three specializations.
370         (optional(nullopt)): Change the base init.
371         * testsuite/20_util/optional/assignment/8.cc: New.
372         * testsuite/20_util/optional/cons/trivial.cc: Likewise.
373         * testsuite/20_util/optional/cons/value_neg.cc: Adjust.
375 2018-01-15  Jonathan Wakely  <jwakely@redhat.com>
377         PR libstdc++/80276
378         * python/libstdcxx/v6/printers.py (strip_inline_namespaces): New.
379         (get_template_arg_list): New.
380         (StdVariantPrinter._template_args): Remove, use get_template_arg_list
381         instead.
382         (TemplateTypePrinter): Rewrite to work with gdb.Type objects instead
383         of strings and regular expressions.
384         (add_one_template_type_printer): Adapt to new TemplateTypePrinter.
385         (FilteringTypePrinter): Add docstring. Match using startswith. Use
386         strip_inline_namespaces instead of strip_versioned_namespace.
387         (add_one_type_printer): Prepend namespace to match argument.
388         (register_type_printers): Add type printers for char16_t and char32_t
389         string types and for types using cxx11 ABI. Update calls to
390         add_one_template_type_printer to provide default argument dicts.
391         * testsuite/libstdc++-prettyprinters/80276.cc: New test.
392         * testsuite/libstdc++-prettyprinters/whatis.cc: Remove tests for
393         basic_string<unsigned char> and basic_string<signed char>.
394         * testsuite/libstdc++-prettyprinters/whatis2.cc: Duplicate whatis.cc
395         to test local variables, without overriding _GLIBCXX_USE_CXX11_ABI.
397 2018-01-14  Andreas Schwab  <schwab@linux-m68k.org>
399         PR libstdc++/81092
400         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
402 2018-01-13  Tim Shen  <timshen@google.com>
404         PR libstdc++/83601
405         * include/bits/regex.tcc (regex_replace): Fix escaping in sed.
406         * testsuite/28_regex/algorithms/regex_replace/char/pr83601.cc: Tests.
407         * testsuite/28_regex/algorithms/regex_replace/wchar_t/pr83601.cc: Tests.
409 2018-01-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
411         PR libstdc++/64054
412         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc:
413         Remove dg-xfail-run-if.
415 2018-01-10  François Dumont  <fdumont@gcc.gnu.org>
417         * include/bits/forward_list.h
418         (_Fwd_list_node_base(_Fwd_list_node_base&&)): New.
419         (_Fwd_list_node_base& operator=(_Fwd_list_node_base&&)): New.
420         (_Fwd_list_node_base(const _Fwd_list_node_base&)): Explicit delete.
421         (_Fwd_list_node_base& operator=(const _Fwd_list_node_base&)): Likewise.
422         (_Fwd_list_impl()): Add noexcept qualification.
423         (_Fwd_list_impl(const _Node_alloc_type&)): Delete.
424         (_Fwd_list_impl(_Fwd_list_impl&&)): New, default.
425         (_Fwd_list_impl(_Fwd_list_impl&&, _Node_alloc_type&&)): New.
426         (_Fwd_list_base()): Default.
427         (_Fwd_list_base(_Fwd_list_base&&, _Node_alloc_type&&, true_type)): New.
428         (_Fwd_list_base(_Fwd_list_base&&)): Default.
429         (forward_list<>()): Default.
430         (forward_list<>(forward_list&&)): Default.
431         (forward_list(forward_list&&, _Node_alloc_type&&, false_type)): New.
432         (forward_list(forward_list&&, _Node_alloc_type&&, true_type)): New.
433         (forward_list(forward_list&&, const _Alloc&)): Adapt to use latters.
434         * include/bits/forward_list.tcc
435         (_Fwd_list_base(_Fwd_list_base&&, _Node_alloc_type&&)): Adapt to use
436         _M_impl._M_head move assignment.
437         (forward_list<>::merge(forward_list<>&&, _Comp)): Likewise.
438         * testsuite/23_containers/forward_list/allocator/default_init.cc: New.
440 2018-01-09  Jonathan Wakely  <jwakely@redhat.com>
442         PR libstdc++/80276
443         * python/libstdcxx/v6/printers.py (SharedPointerPrinter)
444         (UniquePointerPrinter): Print correct template argument, not type of
445         the pointer.
446         (TemplateTypePrinter._recognizer.recognize): Handle failure to lookup
447         a type.
448         * testsuite/libstdc++-prettyprinters/cxx11.cc: Test unique_ptr of
449         array type.
450         * testsuite/libstdc++-prettyprinters/cxx17.cc: Test shared_ptr and
451         weak_ptr of array types.
453 2018-01-09  François Dumont  <fdumont@gcc.gnu.org>
455         PR libstdc++/83709
456         * include/bits/hashtable_policy.h
457         (__distance_fwd(_Iterator, _Iterator, input_iterator_tag)): Return 1 if
458         __first != __last.
459         (_Insert_base::_M_insert_range(_Ite, _Ite, _NodeGetter, true_type)): New.
460         (_Insert_base::_M_insert_range(_Ite, _Ite, _NodeGetter, false_type)):
461         Add false_type parameter.
462         (_Insert_base::insert): Adapt.
463         * include/bits/hashtable.h (_Hashtable::operator=(initializzr_list<>)):
464         Adapt.
465         (_Hashtable::_M_insert(_Arg&&, const _NodeGen&, true_type, size_t)):
466          Add __n_elt parameter, defaulted to 1.
467         (_Hashtable::_M_insert_unique_node): Likewise. Use it to call rehash
468         policy _M_need_rehash.
469         (_Hashtable::_M_merge_unique): Pass target number of elements to add to
470         produce only 1 rehash if necessary.
471         * testsuite/23_containers/unordered_map/insert/83709.cc: New.
472         * testsuite/23_containers/unordered_set/insert/83709.cc: New.
474 2018-01-09  Juraj Oršulić  <juraj.orsulic@fer.hr>
475             Jonathan Wakely  <jwakely@redhat.com>
477         PR libstdc++/59253 (partial)
478         * python/libstdcxx/v6/printers.py (SmartPtrIterator): Common iterator
479         type for pointer stored by shared_ptr, weak_ptr and unique_ptr.
480         (SharedPointerPrinter, UniquePointerPrinter): Treat stored values as
481         children.
482         * testsuite/libstdc++-prettyprinters/cxx11.cc: Update expected output
483         of unique_ptr printer.
484         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Update expected
485         output of shared_ptr printer.
487 2018-01-05  Jonathan Wakely  <jwakely@redhat.com>
489         PR libstdc++/83626
490         * src/filesystem/ops.cc (remove(const path&, error_code&)): Remove
491         unnecessary symlink_status call.
492         (remove_all(const path&, error_code&)): Use filesystem::remove.
493         * src/filesystem/std-ops.cc: Likewise.
495         PR libstdc++/83279
496         * src/filesystem/std-ops.cc  (do_copy_file): Use non-null offset with
497         sendfile.
499         PR libstdc++/83626
500         * src/filesystem/ops.cc (remove(const path&, error_code&)): Do not
501         report an error for ENOENT.
502         (remove_all(const path&)): Fix type of result variable.
503         (remove_all(const path&, error_code&)): Use non-throwing increment
504         for directory iterator. Call POSIX remove directly to avoid redundant
505         calls to symlink_status. Do not report errors for ENOENT.
506         * src/filesystem/std-ops.cc: Likewise.
507         * testsuite/27_io/filesystem/operations/remove_all.cc: Test throwing
508         overload.
509         * testsuite/experimental/filesystem/operations/remove_all.cc:
510         Likewise.
512 2018-01-04  Jonathan Wakely  <jwakely@redhat.com>
514         PR libstdc++/83626
515         * src/filesystem/ops.cc (remove(const path&, error_code&))): Remove
516         redundant call to ec.clear().
517         (remove_all(const path&, error_code&))): Do not return an error for
518         non-existent paths.
519         * src/filesystem/std-ops.cc: Likewise.
520         * testsuite/27_io/filesystem/operations/remove.cc: New test.
521         * testsuite/27_io/filesystem/operations/remove_all.cc: Fix expected
522         results for non-existent paths.
523         * testsuite/experimental/filesystem/operations/remove.cc: New test.
524         * testsuite/experimental/filesystem/operations/remove_all.cc: Fix
525         expected results for non-existent paths.
527         * include/bits/fs_ops.h (exists(const path&, error_code&))): Only
528         check status_known once.
529         * include/experimental/bits/fs_ops.h: Likewise.
531         PR libstdc++/83607
532         * include/std/functional (__is_byte_like): New trait.
533         (__is_std_equal_to): Remove.
534         (__boyer_moore_base_t): Use __is_byte_like instead of
535         __is_std_equal_to.
536         * include/experimental/functional (__is_std_equal_to): Remove.
537         (__boyer_moore_base_t): Use __is_byte_like instead of
538         __is_std_equal_to.
539         * testsuite/20_util/function_objects/83607.cc: New test.
541 2018-01-03  Ville Voutilainen  <ville.voutilainen@gmail.com>
543         Protect optional's deduction guide with the feature macro
544         * include/std/optional: Use the feature macro.
546 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
548         Update copyright years.
550 Copyright (C) 2018 Free Software Foundation, Inc.
552 Copying and distribution of this file, with or without modification,
553 are permitted in any medium without royalty provided the copyright
554 notice and this notice are preserved.