x32: Update baseline_symbols.txt
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobeebb326e8fc5cd78b564c865dae9e5cf1d14c005
1 2017-06-18  H.J. Lu  <hongjiu.lu@intel.com>
3         PR libstdc++/81092
4         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Updated.
6 2017-06-18  Andreas Schwab  <schwab@linux-m68k.org>
8         PR libstdc++/81092
9         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
11 2017-06-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13         * testsuite: Remove dg-skip-if, dg-xfail-if, dg-xfail-run-if
14         default args.
16 2017-06-17  Jonathan Wakely  <jwakely@redhat.com>
18         PR libstdc++/80893
19         * testsuite/23_containers/vector/bool/80893.cc: Add { target c++11 }.
21 2017-06-16  Jonathan Wakely  <jwakely@redhat.com>
23         * include/bits/shared_ptr.h (get_deleter): Add overload matching
24         standard signature.
25         * include/bits/shared_ptr_base.h (__shared_ptr): Declare new
26         get_deleter overload as a friend.
27         * testsuite/20_util/shared_ptr/misc/get_deleter.cc: New.
29 2017-06-16  Jakub Jelinek  <jakub@redhat.com>
31         PR libstdc++/81092
32         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
33         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update.
34         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
36 2017-06-16  Jonathan Wakely  <jwakely@redhat.com>
38         * include/bits/locale_conv.h (wbuffer_convert::sync): Fix condition.
39         * testsuite/22_locale/conversions/buffer/2.cc: New.
41         PR libstdc++/81092
42         * acinclude.m4: Bump libtool_VERSION.
43         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
44         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
45         * config/abi/pre/gnu.ver: Add wstring constructor symbols to
46         GLIBCXX_3.4.24 version and move random_device::_M_get_entropy() symbol
47         to new GLIBCXX_3.4.25 version.
48         * doc/xml/manual/abi.xml: Document new versions.
49         * doc/html/*: Regenerate.
50         * testsuite/21_strings/basic_string/cons/char/8.cc: Use base object
51         constructors to ensure required symbols are exported.
52         * testsuite/21_strings/basic_string/cons/wchar_t/8.cc: Likewise.
53         * testsuite/util/testsuite_abi.cc: Add new version.
55         * include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing
56         return statement.
57         * testsuite/21_strings/basic_string_view/operations/copy/char/1.cc:
58         Return void.
59         * testsuite/21_strings/basic_string_view/operations/copy/wchar_t/1.cc:
60         Likewise.
61         * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc: Add
62         missing return statements.
63         * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
64         Likewise.
65         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
66         Return void.
67         * testsuite/special_functions/14_expint/pr68397.cc: Likewise.
69 2017-06-16  François Dumont  <fdumont@gcc.gnu.org>
71         * include/bits/stl_bvector.h
72         (__fill_bvector(_Bit_type*, unsigned int, unsigned int, bool)):
73         Change signature.
74         (std::fill(_Bit_iterator, _Bit_iterator, bool)): Adapt.
75         (_Bvector_impl_data): New.
76         (_Bvector_impl): Inherits from latter.
77         (_Bvector_impl(_Bit_alloc_type&&)): Delete.
78         (_Bvector_impl(_Bvector_impl&&)): New, default.
79         (_Bvector_base()): Default.
80         (_Bvector_base(_Bvector_base&&)): Default.
81         (_Bvector_base::_M_move_data(_Bvector_base&&)): New.
82         (vector(vector&&, const allocator_type&)): Use latter.
83         (vector<bool>::operator=(vector&&)): Likewise.
84         (vector<bool>::vector()): Default.
85         (vector<bool>::vector(vector&&)): Default.
86         (vector<bool>::assign(_InputIterator, _InputIterator)): Use
87         _M_assign_aux.
88         (vector<bool>::assign(initializer_list<bool>)): Likewise.
89         (vector<bool>::_M_initialize_value(bool)): New.
90         (vector<bool>(size_type, const bool&, const allocator_type&)): Use
91         latter.
92         (vector<bool>::_M_initialize_dispatch(_Integer, _Integer, __true_type)):
93         Likewise.
94         (vector<bool>::_M_fill_assign(size_t, bool)): Likewise.
96 2017-06-15  François Dumont  <fdumont@gcc.gnu.org>
98         * src/c++98/tree.cc  [!_GLIBCXX_INLINE_VERSION]
99         (_Rb_tree_rotate_left, _Rb_tree_rotate_right): Delete.
101 2017-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
103         * testsuite: Add dg-require-effective-target pthread to -pthread
104         tests.
105         Remove explicit target lists from dg-do and dg-options.
107         * testsuite/30_threads/async/forced_unwind.cc: Remove explit
108         target list from dg-options.
109         * testsuite/30_threads/packaged_task/forced_unwind.cc: Likewise.
111         * 30_threads/shared_mutex/cons/1.cc: Likewise.
112         Pass -pthread for all targets.
113         * 30_threads/shared_mutex/try_lock/1.cc: Likewise.
114         * 30_threads/shared_mutex/try_lock/2.cc: Likewise.
115         * 30_threads/shared_mutex/unlock/1.cc: Likewise.
117         * testsuite/30_threads/this_thread/57060.cc: Require c++11 via
118         dg-require-effective-target.
120 2017-06-14  Jonathan Wakely  <jwakely@redhat.com>
122         * doc/xml/manual/test.xml: Correct instructions on running tests.
123         * testsuite/21_strings/basic_string/cons/char/deduction.cc: Adjust to
124         pass when -D_GLIBCXX_USE_CXX11_ABI=0 added to RUNTESTFLAGS.
125         * testsuite/21_strings/basic_string/cons/wchar_t/deduction.cc:
126         Likewise.
127         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
128         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
129         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
130         exceptions_failbit.cc: Likewise.
131         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
132         exceptions_failbit.cc: Likewise.
133         * testsuite/27_io/basic_istream/extractors_other/char/
134         exceptions_null.cc: Likewise.
135         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
136         exceptions_null.cc: Likewise.
137         * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
138         * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
139         * testsuite/27_io/basic_ostream/inserters_other/char/
140         exceptions_null.cc: Likewise.
141         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
142         exceptions_null.cc: Likewise.
143         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
145 2017-06-12  Pedro Alves  <palves@redhat.com>
147         * doc/xml/manual/status_cxx2017.xml: Update C++17 constexpr
148         char_traits status.
149         * doc/html/*: Regenerate.
151         * include/bits/char_traits.h (_GLIBCXX_ALWAYS_INLINE): Define if
152         not already defined.
153         (__cpp_lib_constexpr_char_traits): Uncomment.
154         (__constant_string_p, __constant_char_array_p): New.
155         (std::char_traits<char>, std::char_traits<wchar_t>): Add
156         _GLIBCXX17_CONSTEXPR on compare, length and find and use
157         __constant_string_p, __constant_char_array_p and
158         __builtin_constant_p to defer to __gnu_cxx::char_traits at compile
159         time.
161         * testsuite/21_strings/char_traits/requirements/
162         constexpr_functions_c++17.cc: Uncomment
163         __cpp_lib_constexpr_char_traits tests.  Uncomment
164         test_compare<char>, test_length<char>, test_find<char>,
165         test_compare<wchar_t>, test_length<wchar_t> and test_find<wchar_t>
166         static_assert tests.
168 2017-06-12  François Dumont  <fdumont@gcc.gnu.org>
170         * include/bits/stl_tree.h (_Rb_tree_impl()): Restore _Node_allocator
171         default init.
172         * testsuite/util/testsuite_allocator.h
173         (__gnu_test::default_init_allocator<>) New.
174         * testsuite/23_containers/set/allocator/default_init.cc: New.
175         * testsuite/23_containers/map/allocator/default_init.cc: New.
177 2017-06-12  Jonathan Wakely  <jwakely@redhat.com>
179         PR libstdc++/55917
180         * src/c++11/thread.cc (execute_native_thread_routine): Remove
181         try-block so that exceptions propagate out of the thread and terminate
182         is called by the exception-handling runtime.
183         (execute_native_thread_routine_compat): Likewise.
184         * testsuite/30_threads/thread/cons/terminate.cc: New.
186 2017-06-09  Jonathan Wakely  <jwakely@redhat.com>
188         * doc/xml/manual/intro.xml: Document LWG 2802, 2873 and 2942 changes.
189         * include/bits/shared_ptr.h (shared_ptr): Use rvalues for deleters
190         (LWG 2802).
191         * include/bits/shared_ptr_base.h (_Sp_ebo_helper, _Sp_counted_deleter
192         (_Sp_counted_deleter::_Impl, __shared_count, __shared_ptr): Likewise.
193         * testsuite/20_util/shared_ptr/cons/lwg2802.cc: New.
195         * include/bits/forward_list.h (forward_list): Add deduction guide.
196         * include/bits/stl_deque.h (deque): Likewise.
197         * include/bits/stl_list.h (list): Likewise.
198         * include/bits/stl_vector.h (vector): Likewise.
199         * testsuite/23_containers/deque/cons/deduction.cc: New.
200         * testsuite/23_containers/forward_list/cons/deduction.cc: New.
201         * testsuite/23_containers/list/cons/deduction.cc: New.
202         * testsuite/23_containers/vector/cons/deduction.cc: New.
204 2017-06-08  Jonathan Wakely  <jwakely@redhat.com>
206         PR libstdc++/81017
207         * include/bits/std_function.h (function::function(function&&))
208         (function::operator=(funtion&&)): Add noexcept.
209         * testsuite/20_util/function/assign/move.cc: Check for noexcept.
210         * testsuite/20_util/function/cons/move.cc: Likewise.
212 2017-06-07  Jonathan Wakely  <jwakely@redhat.com>
214         * include/bits/regex.h (basic_regex): Add deduction guide from P0433.
215         * testsuite/28_regex/basic_regex/ctors/deduction.cc: New.
217         PR libstdc++/81002
218         * include/bits/regex.h (basic_regex): Adjust call to __compile_nfa
219         so iterator type is deduced.
220         * include/bits/regex_compiler.h (__compile_nfa): Reorder template
221         parameters to allow iterator type to be deduced.
222         * testsuite/28_regex/basic_regex/ctors/basic/iter.cc: New.
224         * include/bits/alloc_traits.h (__is_allocator, _RequireAllocator):
225         New trait and alias for detecting Allocator-like types.
226         * include/bits/basic_string.h (basic_string): Add deduction guide
227         from P0433.
228         * include/ext/alloc_traits.h (__gnu_cxx::__alloc_traits): Add template
229         parameter with default template argument that causes substitution
230         failures for types that cannot be allocators.
231         * testsuite/21_strings/basic_string/cons/char/deduction.cc: New.
232         * testsuite/21_strings/basic_string/cons/wchar_t/deduction.cc: New.
234 2017-06-02  Jonathan Wakely  <jwakely@redhat.com>
236         PR libstdc++/80939
237         * include/std/variant (__erased_ctor, __erased_assign, __erased_swap)
238         (__erased_hash): Remove constexpr specifier and qualify calls to
239         __ref_cast.
240         (__erased_dtor): Remove constexpr specifier and use _Destroy.
242 2017-06-05  Jonathan Wakely  <jwakely@redhat.com>
244         * include/bits/stl_iterator_base_funcs.h
245         (__advance<_RandomAccessIterator, _Distance>): Optimize for next/prev
246         cases where incrementing or decrementing a single step.
248         * include/bits/shared_ptr_base.h (__shared_ptr::owner_before)
249         (__weak_ptr::owner_before, _Sp_owner_less::operator()): Add noexcept
250         specifiers as per LWG 2873 and LWG 2942.
251         * testsuite/20_util/owner_less/noexcept.cc: New.
252         * testsuite/20_util/shared_ptr/observers/owner_before.cc: Test
253         noexcept guarantees.
254         * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
256 2017-06-03  Andreas Schwab  <schwab@linux-m68k.org>
258         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update.
260 2017-06-03  Eric Botcazou  <ebotcazou@adacore.com>
262         * src/filesystem/dir.cc (fs::_Dir::advance): Use std::exchange.
264 2017-06-02  Jonathan Wakely  <jwakely@redhat.com>
266         PR libstdc++/80624
267         * doc/xml/manual/status_cxx2011.xml: Document to_int_type behaviour.
268         * include/bits/char_traits.h (char_traits<char16_t>::to_int_type):
269         Transform eof value to U+FFFD.
270         * testsuite/21_strings/char_traits/requirements/char16_t/eof.cc: New.
271         * testsuite/27_io/basic_streambuf/sgetc/char16_t/80624.cc: New.
272         * testsuite/27_io/basic_streambuf/sputc/char16_t/80624.cc: New.
274         * libsupc++/Makefile.am: Remove custom targets for files that need to
275         be compiled as C++11 or C++14.
276         * libsupc++/Makefile.in: Regenerate.
277         * libsupc++/del_ops.cc: Use pragma to disable -Wsized-deallocation
278         warnings.
279         * libsupc++/del_opvs.cc: Likewise.
281 2017-06-02  Richard Biener  <rguenther@suse.de>
282         Markus Eisenmann  <meisenmann.lba@fh-salzburg.ac.at>
284         PR libstdc++/80721
285         * libsupc++/eh_alloc.cc (pool::free): Keep list properly
286         sorted and add missing freelist item merging cases.
288 2017-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
290         (GLIBCXX_CROSSCONFIG): Handle *-solaris* like *-linux* etc.
291         Remove *-solaris* section.
292         * configure: Regenerate.
294 2017-05-31  Jonathan Wakely  <jwakely@redhat.com>
296         PR libstdc++/80893
297         * include/bits/stl_bvector.h (vector<bool>::_M_initialize): Avoid
298         null pointer dereference when size is zero.
299         * testsuite/23_containers/vector/bool/80893.cc: New.
300         * testsuite/util/testsuite_allocator.h (PointerBase::PointerBase):
301         Add non-explicit constructor from nullptr.
302         (PointerBase::derived() const): Add const-qualified overload.
304 2017-05-20  Tim Shen  <timshen@google.com>
306         PR libstdc++/80737
307         * include/std/variant(variant::variant): SFINAE on is_same first.
308         * testsuite/20_util/variant/any.cc: test case.
310 2017-05-24  Jonathan Wakely  <jwakely@redhat.com>
312         * src/c++11/random.cc (random_device::_M_getentropy): Use __CHAR_BIT__
313         instead of fixed number of bits.
315 2017-05-24  Andreas Schwab  <schwab@suse.de>
317         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
318         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise.
320 2017-05-23  Xi Ruoyao  <ryxi@stu.xidian.edu.cn>
321             Jonathan Wakely  <jwakely@redhat.com>
323         PR libstdc++/67578
324         * acinclude.m4: Bump libtool_VERSION.
325         * config/abi/pre/gnu.ver: Create GLIBCXX_3.4.24 with new symbol.
326         * config.h.in: Regenerate.
327         * configure: Regenerate.
328         * configure.ac: Add test for <linux/random.h>.
329         * doc/xml/manual/abi.xml: Document new library version.
330         * include/bits/random.h (random_device::entropy)
331         [_GLIBCXX_USE_RANDOM_TR1]: Add call to new _M_getentropy member.
332         (random_device::_M_getentropy): Declare.
333         * src/c++11/random.cc (random_device::_M_getentropy): Define.
334         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.24 to known
335         versions, and make it the latest version.
337 2017-05-23  Xi Ruoyao  <ryxi@stu.xidian.edu.cn>
339         PR libstdc++/67214
340         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Add
341         explicit conversion to avoid signed overflow.
343 2017-05-19  Jonathan Wakely  <jwakely@redhat.com>
345         PR libstdc++/80796
346         * include/bits/stl_algo.h (search): Add new overload for C++17.
347         * testsuite/25_algorithms/search/searcher.cc: New.
349 2017-05-18  Jonathan Wakely  <jwakely@redhat.com>
351         PR libstdc++/80478
352         * include/std/functional (_Mem_fn_traits_base): Add specializations
353         for noexcept member function types.
354         * testsuite/20_util/function_objects/mem_fn/80478.cc: New test.
356 2017-05-18  Jonathan Wakely  <jwakely@redhat.com>
358         * doc/xml/manual/policy_data_structures.xml: Fix typo.
359         * doc/xml/manual/test_policy_data_structures.xml: Likewise.
360         * doc/html/*: Regenerate.
362         * doc/xml/manual/abi.xml: Document latest library versions.
363         * doc/xml/manual/build_hacking.xml: Document requirement to update
364         abi.xml when bumping library versions.
365         * doc/html/*: Regenerate.
367 2017-05-17  Jonathan Wakely  <jwakely@redhat.com>
369         * include/bits/refwrap.h: Fix Doxygen warning.
370         * include/bits/specfun.h: Likewise.
371         * include/bits/std_function.h: Likewise.
372         * include/bits/stl_algo.h (set_union, set_intersection)
373         (set_difference, set_symmetric_difference): Add Doxygen @param tags
374         for output iterator parameters.
375         * include/bits/stl_iterator.h (inserter): Add Doxygen @param tag for
376         iterator parameter.
377         * include/std/mutex (try_lock, lock): Change Mutex to Lockable in
378         Doxygen comments.
380 2017-05-17  Ville Voutilainen  <ville.voutilainen@gmail.com>
382         Implement new C++ intrinsics __is_assignable and __is_constructible.
383         * include/std/type_traits (__do_is_static_castable_impl): Remove.
384         (__is_static_castable_impl, __is_static_castable_safe): Likewise.
385         (__is_static_castable, __do_is_direct_constructible_impl): Likewise.
386         (__is_direct_constructible_impl): Likewise.
387         (__is_direct_constructible_new_safe): Likewise.
388         (__is_base_to_derived_ref, __is_lvalue_to_rvalue_ref): Likewise.
389         (__is_direct_constructible_ref_cast): Likewise.
390         (__is_direct_constructible_new, __is_direct_constructible): Likewise.
391         (__do_is_nary_constructible_impl): Likewise.
392         (__is_nary_constructible_impl, __is_nary_constructible): Likewise.
393         (__is_constructible_impl): Likewise.
394         (is_constructible): Call the intrinsic.
395         (__is_assignable_helper): Remove.
396         (is_assignable): Call the intrinsic.
397         (is_trivially_constructible): Likewise.
398         (__is_trivially_copy_constructible_impl): New.
399         (is_trivially_copy_constructible): Use it.
400         (__is_trivially_move_constructible_impl): New.
401         (is_trivially_move_constructible): Use it.
402         (is_trivially_assignable): Call the intrinsic.
403         (__is_trivially_copy_assignable_impl): New.
404         (is_trivially_copy_assignable): Use it.
405         (__is_trivially_move_assignable_impl): New.
406         (is_trivially_move_assignable): Use it.
407         (testsuite/20_util/declval/requirements/1_neg.cc): Adjust.
408         (testsuite/20_util/is_trivially_copy_assignable/value.cc):
409         Add test for void.
410         (testsuite/20_util/is_trivially_copy_constructible/value.cc): Likewise.
411         (testsuite/20_util/is_trivially_move_assignable/value.cc): Likewise.
412         (testsuite/20_util/is_trivially_move_constructible/value.cc): Likewise.
413         (testsuite/20_util/make_signed/requirements/typedefs_neg.cc): Adjust.
414         (testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc):
415         Likewise.
417 2017-05-16  Jonathan Wakely  <jwakely@redhat.com>
419         * testsuite/experimental/source_location/1.cc: Change expected result
420         for source_location::current() used in default member initializer.
422         * doc/xml/manual/status_cxx2017.xml: Update status table.
423         * doc/html/*: Regenerate.
424         * include/Makefile.am: Add new header.
425         * include/Makefile.in: Regenerate.
426         * include/experimental/source_location: New header implementing N4519.
427         * testsuite/experimental/source_location/1.cc: New test.
429         PR libstdc++/80285
430         * include/bits/shared_ptr_base.h [!__cpp_rtti] (type_info): Declare
431         outside versioned namespace.
433         * configure: Regenerate.
435 2017-05-16  Marc Glisse  <marc.glisse@inria.fr>
437         * include/std/optional (_Optional_base::_M_get): Check precondition.
438         * testsuite/20_util/optional/cons/value_neg.cc: Update line numbers.
440 2017-05-16  Jonathan Wakely  <jwakely@redhat.com>
442         * doc/xml/manual/appendix_contributing.xml: Link to test docs and
443         note higher DejaGnu version requirement.
444         * doc/html/*: Regenerate.
446         * doc/xml/manual/appendix_contributing.xml: Link to the list of bad
447         identifiers.
448         * doc/html/*: Regenerate.
450 2017-05-15  Jonathan Wakely  <jwakely@redhat.com>
452         PR libstdc++/80761
453         * include/bits/node_handle.h (_Node_insert_return): Reorder members.
454         (tuple_size, tuple_element): Remove partial specializations.
455         * include/bits/stl_tree.h (_Rb_tree::insert_return_type): Use
456         const_iterator for std::set.
457         * testsuite/23_containers/map/modifiers/extract.cc: New.
458         * testsuite/23_containers/set/modifiers/extract.cc: New.
459         * testsuite/23_containers/unordered_map/modifiers/extract.cc: New.
460         * testsuite/23_containers/unordered_set/modifiers/extract.cc: New.
462 2017-05-12  Jonathan Wakely  <jwakely@redhat.com>
464         PR libstdc++/78939
465         * include/std/utility (tuple_size<cv T>): Only define partial
466         specializations when tuple_size<T>::value is valid.
467         * testsuite/20_util/tuple/78939.cc: New.
468         * testsuite/20_util/tuple/cv_tuple_size_neg.cc: New.
470 2017-05-11  François Dumont  <fdumont@gcc.gnu.org>
472         * include/bits/stl_tree.h [_GLIBCXX_INLINE_VERSION]
473         (_Rb_tree_impl<>): Remove _Is_pod_comparator
474         template parameter.
476         * include/debug/formatter.h [_GLIBCXX_INLINE_VERSION]
477         (__gnu_debug::_Error_formatter::_Parameter::_M_print_field): Remove.
478         (__gnu_debug::_Error_formatter::_Parameter::_M_print_description):
479         Remove.
480         (__gnu_debug::_Error_formatter::_M_format_word): Remove.
481         (__gnu_debug::_Error_formatter::_M_print_word): Remove.
482         (__gnu_debug::_Error_formatter::_M_print_string): Remove.
483         (__gnu_debug::_Error_formatter::_M_get_max_length): Remove.
484         * src/c++11/debug.cc: Adapt.
485         * config/abi/pre/gnu-versioned-namespace.ver: Adapt.
487 2017-05-11  Jonathan Wakely  <jwakely@redhat.com>
489         * doc/xml/manual/allocator.xml: Fix ViewCVS URLs.
490         * doc/xml/manual/mt_allocator.xml: Likewise.
491         * doc/html/*: Regenerate.
493         PR libstdc++/80285
494         * include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Define
495         function to get unique fake std::type_info reference.
496         (_Sp_counted_ptr_inplace::_M_get_deleter) [!__cpp_rtti]: Compare to
497         _S_ti() fake reference.
498         (__shared_ptr(_Sp_make_shared_tag, const Alloc&, Args&&...)): Share
499         single implementation with or without RTTI enable.
500         [!__cpp_rtti]: Pass fake reference to _M_get_deleter.
501         * testsuite/20_util/shared_ptr/creation/alloc.cc: Change expected
502         allocation and deallocation counts.
503         * testsuite/20_util/shared_ptr/creation/single_allocation.cc: New.
504         * testsuite/20_util/shared_ptr/creation/single_allocation_no_rtti.cc:
505         New.
507 2017-05-10  François Dumont  <fdumont@gcc.gnu.org>
509         Bump version namespace.
510         * config/abi/pre/gnu-versioned-namespace.ver: Bump version namespace
511         from __7 to __8. Bump GLIBCXX_7.0 to GLIBCXX_8.0.
512         * acinclude.m4 (libtool_VERSION): Bump to 8:0:0.
513         * include/bits/c++config: Adapt.
514         * include/bits/regex.h: Adapt.
515         * include/experimental/bits/fs_fwd.h: Adapt.
516         * include/experimental/bits/lfts_config.h: Adapt.
517         * include/std/variant: Adapt.
518         * python/libstdcxx/v6/printers.py: Adapt.
519         * testsuite/libstdc++-prettyprinters/48362.cc: Adapt.
521         * include/bits/stl_algobase.h (std::__iter_swap<false>): Remove
522         _GLIBCXX_MOVE usage.
524 2017-05-09  Jason Merrill  <jason@redhat.com>
526         * testsuite/24_iterators/container_access.cc (test03): Make il3 static.
528 2017-05-08  Jonathan Wakely  <jwakely@redhat.com>
530         * include/std/optional: Use a separate static_assert per condition.
531         * testsuite/20_util/optional/cons/value_neg.cc: Update dg-error line
532         numbers.
534         * doc/xml/manual/mt_allocator.xml: Clarify deallocation behaviour.
535         * doc/html/*: Regenerate.
537 2017-05-02  Hugo Beauzée-Luyssen <hugo@beauzee.fr>
539         PR libstdc++/69506
540         * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
542 2017-04-29  François Dumont  <fdumont@gcc.gnu.org>
544         * testsuite/libstdc++-prettyprinters/48362.cc: Replace a regexp-test
545         by a note-test.
547 2017-04-28  Jonathan Wakely  <jwakely@redhat.com>
549         PR libstdc++/80553
550         * include/bits/stl_construct.h (_Destroy, _Destroy_n): Add static
551         assertions to ensure type is destructible.
552         (destroy_at, destroy, destroy_n): Move from stl_uninitialized.h.
553         * include/bits/stl_uninitialized.h (destroy_at, destroy, destroy_n):
554         Move to stl_construct.h.
555         * testsuite/20_util/specialized_algorithms/memory_management_tools/
556         destroy_neg.cc: New test.
557         * testsuite/23_containers/vector/cons/destructible_neg.cc: New test.
559         * testsuite/17_intro/headers/c++1998/stdc++_assert_neg.cc: Remove
560         superfluous "" in dg-error.
562 2017-04-28  Tom de Vries  <tom@codesourcery.com>
564         * testsuite/17_intro/headers/c++1998/stdc++_assert_neg.cc: Remove
565         superfluous '{ target *-*-* }' in dg-(error|warning|message|bogus).
567 2017-04-27  Jonathan Wakely  <jwakely@redhat.com>
569         * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp
570         (PB_DS_CLASS_C_DEC::end()): Remove redundant const in cast type.
571         * testsuite/util/testsuite_rng.h (twister_rand_gen::get_prob()):
572         Likewise.
574 2017-04-26  Jonathan Wakely  <jwakely@redhat.com>
576         * testsuite/23_containers/deque/allocator/move_assign-2.cc: Improve
577         comment. Ensure first test works because allocator type propagates and
578         not because is_always_equal is true.
579         * testsuite/23_containers/vector/52591.cc: Likewise. Restore original
580         testcase that instantiates the move-assignment operator.
582 2017-04-24  Jonathan Wakely  <jwakely@redhat.com>
584         PR libstdc++/80506
585         * include/bits/random.tcc (gamma_distribution::operator()): Fix magic
586         number used in loop condition.
588         PR libstdc++/80504
589         * include/bits/refwrap.h (ref, cref): Qualify calls.
590         * testsuite/20_util/reference_wrapper/80504.cc: New test.
592         PR libstdc++/80493
593         * include/experimental/optional (optional::swap): Fix exception
594         specification.
596 2017-04-21  Jonathan Wakely  <jwakely@redhat.com>
598         PR libstdc++/80316
599         * include/std/future (_State_baseV2::_Setter::operator()): Remove
600         _S_check calls that are done after the pointer to the shared state is
601         already dereferenced.
602         (_State_baseV2::_Setter<_Res, void>): Define specialization for void
603         as partial specialization so it can be defined within the definition
604         of _State_baseV2.
605         (_State_baseV2::__setter): Call _S_check.
606         (_State_baseV2::__setter(promise<void>*)): Add overload for use by
607         promise<void>::set_value and promise<void>::set_value_at_thread_exit.
608         (promise<T>, promise<T&>, promise<void>): Make _State a friend.
609         (_State_baseV2::_Setter<void, void>): Remove explicit specialization.
610         (promise<void>::set_value, promise<void>::set_value_at_thread_exit):
611         Use new __setter overload.
612         * testsuite/30_threads/promise/members/at_thread_exit2.cc: New test.
613         * testsuite/30_threads/promise/members/set_exception.cc: Test
614         promise<T&> and promise<void> specializations.
615         * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
616         Test for no_state error condition.
617         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
619         * include/backward/auto_ptr.h: Ignore deprecated warnings from use
620         of auto_ptr.
621         * include/bits/shared_ptr.h: Likewise.
622         * include/bits/shared_ptr_base.h: Likewise.
623         * include/bits/unique_ptr.h: Likewise.
624         * libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc: Adjust
625         dg-error lineno.
626         * libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc: Likewise.
627         * libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.cc:
628         Likewise.
629         * libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc:
630         Likewise.
632 2017-04-20  Edward Smith-Rowland  <3dw4rd@verizon.net>
634         PR libstdc++/68397 std::tr1::expint fails ... long double arguments.
635         * include/tr1/exp_integral.tcc: Increase iteration limits.
636         * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
637         pr68397.cc: New test.
638         * testsuite/special_functions/14_expint/pr68397.cc: New test.
640 2017-04-20  Jonathan Wakely  <jwakely@redhat.com>
642         PR libstdc++/79862
643         * include/std/atomic [!_GLIBCXX_USE_C99_STDINT_TR1] (atomic_int8_t)
644         (atomic_uint8_t, atomic_int16_t, atomic_uint16_t, atomic_int32_t,
645         (atomic_uint32_t, atomic_int64_t, atomic_uint64_t)
646         (atomic_int_least8_t, atomic_uint_least8_t, atomic_int_least16_t)
647         (atomic_uint_least16_t, atomic_int_least32_t, atomic_uint_least32_t)
648         (atomic_int_least64_t, atomic_uint_least64_t, atomic_int_fast8_t)
649         (atomic_uint_fast8_t, atomic_int_fast16_t, atomic_uint_fast16_t)
650         (atomic_int_fast32_t, atomic_uint_fast32_t, atomic_int_fast64_t)
651         (atomic_uint_fast64_t, atomic_intmax_t, atomic_uintmax_t): Don't
652         define.
654 2017-04-19  Jonathan Wakely  <jwakely@redhat.com>
656         * doc/xml/manual/abi.xml: Rephrase one of the references to the
657         Itanium C++ ABI.
658         * doc/xml/manual/test.xml: Document DejaGnu 1.5.3 requirement.
659         * doc/html/*: Regenerate.
661         * libsupc++/new: Update comment on #endif directive.
663         PR libstdc++/80448
664         * include/experimental/bits/fs_dir.h (directory_iterator)
665         (recursive_directory_iterator): Remove noexcept from defaulted
666         constructors.
668         PR libstdc++/80446
669         * include/std/type_traits (is_aggregate): Change __has_builtin checks.
670         * libsupc++/new (launder): Likewise.
672 2017-04-18  Jonathan Wakely  <jwakely@redhat.com>
674         * include/std/functional (default_searcher, __boyer_moore_array_base)
675         (__is_std_equal_to, __boyer_moore_base_t, boyer_moore_searcher)
676         (boyer_moore_horspool_searcher): Remove redundant namespace
677         qualification.
678         (default_searcher::operator()): Construct return value early and
679         advance second member in-place.
680         (boyer_moore_horspool_searcher::operator()): Increment random access
681         iterator directly instead of using std::next.
682         (boyer_moore_searcher::operator()): Fix return value.
683         * testsuite/20_util/function_objects/searchers.cc: Check both parts
684         of return values.
686 2017-04-12  Gerald Pfeifer  <gerald@pfeifer.com>
688         * doc/xml/faq.xml: Update reference link to C++ ABI for Itanium.
689         * doc/xml/manual/abi.xml. Ditto (thrice).
691 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
693         * doc/xml/manual/status_cxx2017.xml: Remove duplicate table entry.
694         * doc/html/*: Regenerate.
696         * testsuite/20_util/reference_wrapper/invoke.cc: Uncomment tests
697         that no longer fail.
699         * include/bits/ios_base.h: Correct comment.
700         * testsuite/util/testsuite_hooks.h: Likewise.
702         * doc/xml/manual/status_cxx2017.xml: Update C++17 status table.
703         * doc/xml/manual/appendix_contributing.xml (contrib.organization): Add
704         directories for debug, parallel and profile headers.
705         * doc/html/*: Regenerate.
707         * include/bits/char_traits.h (__gnu_cxx::char_traits): Add
708         _GLIBCXX14_CONSTEXPR on assign, compare, find, and length.
709         (std::char_traits<char>, std::char_traits<wchar_t>): Add
710         _GLIBCXX17_CONSTEXPR on assign.
711         (std::char_traits<char16_t>, std::char_traits<char32_t>): Add
712         _GLIBCXX17_CONSTEXPR on assign, compare, find, and length.
713         * testsuite/21_strings/char_traits/requirements/
714         constexpr_functions_c++17.cc: New test.
716 2017-04-03  Ville Voutilainen  <ville.voutilainen@gmail.com>
718         PR libstdc++/79141
719         * include/bits/stl_pair.h (__nonesuch_no_braces): New.
720         (operator=(typename conditional<
721         __and_<is_copy_assignable<_T1>,
722         is_copy_assignable<_T2>>::value,
723         const pair&, const __nonesuch&>::type)): Change __nonesuch
724         to __nonesuch_no_braces.
725         (operator=(typename conditional<
726         __not_<__and_<is_copy_assignable<_T1>,
727         is_copy_assignable<_T2>>>::value,
728         const pair&, const __nonesuch&>::type)): Likewise.
729         (operator=(typename conditional<
730         __and_<is_move_assignable<_T1>,
731         is_move_assignable<_T2>>::value,
732         pair&&, __nonesuch&&>::type)): Likewise.
733         * testsuite/20_util/pair/79141.cc: New.
735 2017-04-03  Ville Voutilainen  <ville.voutilainen@gmail.com>
737         Implement std::is_aggregate.
738         * include/std/type_traits (is_aggregate, is_aggregate_v): New.
739         * testsuite/20_util/is_aggregate/requirements/explicit_instantiation.cc:
740         New.
741         * testsuite/20_util/is_aggregate/requirements/typedefs.cc: Likewise.
742         * testsuite/20_util/is_aggregate/value.cc: Likewise.
744 2017-03-29  Ville Voutilainen  <ville.voutilainen@gmail.com>
746         Adjust optional's pretty printer for LWG 2900.
747         * python/libstdcxx/v6/printers.py (StdExpOptionalPrinter.__init__):
748         Look at the nested payload in case of non-experimental optional.
750 2017-03-29  Ville Voutilainen  <ville.voutilainen@gmail.com>
752         Implement LWG 2900, The copy and move constructors
753         of optional are not constexpr.
754         * include/std/optional (_Optional_payload): New.
755         (_Optional_base): Remove the bool parameter.
756         (_Optional_base<_Tp, false>): Remove.
757         (_Optional_base()): Adjust.
758         (_Optional_base(nullopt_t)): Likewise.
759         (_Optional_base(in_place_t, _Args&&...)): Likewise.
760         (_Optional_base(in_place_t, initializer_list<_Up>, _Args&&...)):
761         Likewise.
762         (_Optional_base(const _Optional_base&)): Likewise.
763         (_Optional_base(_Optional_base&&)): Likewise.
764         (operator=(const _Optional_base&)): Likewise.
765         (operator=(_Optional_base&&)): Likewise.
766         (~_Optional_base()): Remove.
767         (_M_is_engaged()): Adjust.
768         (_M_get()): Likewise.
769         (_M_construct(_Args&&...)): Likewise.
770         (_M_destruct()): Likewise.
771         (_M_reset()): Likewise.
772         (_Optional_base::_Empty_byte): Remove.
773         (_Optional_base::_M_empty): Remove.
774         (_Optional_base::_M_payload): Adjust.
775         * testsuite/20_util/optional/cons/value_neg.cc: Adjust.
776         * testsuite/20_util/optional/constexpr/cons/value.cc: Add tests.
778 2017-03-28  Jonathan Wakely  <jwakely@redhat.com>
780         PR libstdc++/80137
781         * include/bits/random.tcc (generate_canonical): Use std::nextafter
782         or numeric_limits::epsilon() to reduce out-of-range values.
783         * testsuite/26_numerics/random/uniform_real_distribution/operators/
784         64351.cc: Verify complexity requirement is met.
786         * doc/xml/manual/abi.xml: Add xml:id anchor.
787         * doc/xml/manual/using.xml (manual.intro.using.macros): Document
788         _GLIBCXX_RELEASE. Link to new anchor for __GLIBCXX__ notes.
789         (concurrency.io.structure): Add markup.
790         * doc/html/*: Regenerate.
792         PR libstdc++/80229
793         * include/bits/shared_ptr_base.h
794         (__shared_ptr::_M_enable_shared_from_this_with): Change parameters to
795         non-const and then use remove_cv to get unqualified type.
796         * testsuite/20_util/enable_shared_from_this/members/const.cc: Don't
797         cast away constness on object created const.
798         * testsuite/20_util/shared_ptr/cons/80229.cc: New test.
800 2017-03-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
802         PR libstdc++/80183
803         * include/bits/stl_tree.h:
804         (_Rb_tree_header::_M_move_data(_Rb_tree_header&)): Also save _M_color.
806 2017-03-23  Jonathan Wakely  <jwakely@redhat.com>
808         * testsuite/23_containers/array/tuple_interface/
809         tuple_element_debug_neg.cc: Adjust dg-error.
810         * testsuite/23_containers/list/operations/78389.cc: Fix less-than to
811         define a valid strict weak ordering.
812         * testsuite/23_containers/priority_queue/67085.cc: Disable test for
813         Debug Mode, due to debug checks making extra copies of predicate.
814         * testsuite/ext/pb_ds/regression/priority_queue_binary_heap-62045.cc:
815         Likewise.
817         * doc/xml/faq.xml: Add link.
818         * doc/xml/manual/backwards_compatibility.xml: Remove outdated
819         information on pre-ISO headers. Replace broken link to C++ FAQ Lite.
820         * doc/xml/manual/io.xml: Update broken link.
821         * doc/html/*: Regenerate.
823 2017-03-23  Daniel Kruegler  <daniel.kruegler@gmail.com>
825         Implement LWG 2686, Why is std::hash specialized for error_code,
826         but not error_condition?
827         * include/std/system_error (hash<error_condition>): Define for C++17.
828         * testsuite/20_util/hash/operators/size_t.cc (hash<error_condition>):
829         Instantiate test for error_condition.
830         * testsuite/20_util/hash/requirements/explicit_instantiation.cc
831         (hash<error_condition>): Instantiate hash<error_condition>.
833         * include/bits/c++config (_GLIBCXX17_INLINE): Define.
834         * include/bits/regex_constants.h (All std::regex_constants constants):
835         Add _GLIBCXX17_INLINE as per P0607R0.
836         * include/bits/std_mutex.h (defer_lock, try_to_lock, adopt_lock):
837         Likewise.
838         * include/bits/stl_pair.h (piecewise_construct): Likewise.
839         * include/bits/uses_allocator.h (allocator_arg, uses_allocator_v)
840         (__is_uses_allocator_constructible_v)
841         (__is_nothrow_uses_allocator_constructible_v): Likewise.
842         * include/std/chrono (treat_as_floating_point_v): Likewise.
843         * include/std/functional (is_bind_expression_v, is_placeholder_v):
844         Likewise.
845         * include/std/optional (nullopt): Likewise.
846         * include/std/ratio (ratio_equal_v, ratio_not_equal_v, ratio_less_v)
847         ratio_less_equal_v, ratio_greater_v, ratio_greater_equal_v): Likewise.
848         * include/std/system_error (is_error_code_enum_v)
849         (is_error_condition_enum_v): Likewise.
850         * include/std/tuple (tuple_size_v, ignore): Likewise.
851         (ignore): Declare ignore constexpr as per LWG 2773, declare assignment
852         constexpr as per LWG 2933.
853         * include/std/type_traits (All variable templates): Add
854         _GLIBCXX17_INLINE as per P0607R0.
855         * include/std/variant (variant_size_v, variant_npos, __index_of_v)
856         (__tuple_count_v, __exactly_once): Likewise.
857         * testsuite/18_support/headers/new/synopsis.cc
858         (hardware_destructive_interference_size)
859         (hardware_constructive_interference_size): Likewise for commented-out
860         variables.
861         * testsuite/20_util/tuple/creation_functions/constexpr.cc: Add new
862         test function for constexpr std::ignore (LWG 2773).
863         * testsuite/20_util/tuple/creation_functions/constexpr_cpp14.cc: New
864         test for LWG 2933.
866 2017-03-22  Jonathan Wakely  <jwakely@redhat.com>
868         * include/bits/shared_ptr.h (shared_ptr, weak_ptr): Add deduction
869         guides for C++17.
870         * include/bits/std_function.h (function): Likewise.
871         * include/bits/stl_pair.h (pair): Likewise.
872         * include/debug/array (__gnu_debug::array): Likewise.
873         * include/std/array (array): Likewise.
874         * include/std/functional (make_default_searcher)
875         (make_boyer_moore_searcher, make_boyer_moore_horspool_searcher):
876         Remove generator functions.
877         * include/std/tuple (tuple): Add deduction guides.
878         * include/std/valarray (valarray): Likewise.
879         * testsuite/20_util/function_objects/searchers.cc: Adjust to use
880         class template argument deduction instead of generator functions.
881         * testsuite/20_util/function/cons/deduction.cc: New test.
882         * testsuite/20_util/optional/cons/deduction_guide.cc: Rename to ...
883         * testsuite/20_util/optional/cons/deduction.cc: ... here.
884         * testsuite/20_util/pair/cons/deduction.cc: New test.
885         * testsuite/20_util/shared_ptr/cons/deduction.cc: New test.
886         * testsuite/20_util/tuple/cons/deduction.cc: New test.
887         * testsuite/20_util/tuple/element_access/get_neg.cc: Adjust dg-error.
888         * testsuite/20_util/unique_ptr/cons/deduction_neg.cc: New test.
889         * testsuite/20_util/weak_ptr/cons/deduction.cc: New test.
890         * testsuite/23_containers/array/cons/deduction.cc: New test.
891         * testsuite/23_containers/array/cons/deduction_neg.cc: New test.
892         * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
893         Adjust dg-error.
894         * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
895         * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
896         Likewise.
897         * testsuite/26_numerics/valarray/deduction.cc: New test.
898         * testsuite/30_threads/lock_guard/cons/deduction.cc: New test.
899         * testsuite/30_threads/scoped_lock/cons/deduction.cc: New test.
900         * testsuite/30_threads/unique_lock/cons/deduction.cc: New test.
902 2017-03-20  François Dumont  <fdumont@gcc.gnu.org>
904         * include/bits/stl_deque.h (deque): Access allocator value_type only if
905         concept checks are enabled.
906         * include/bits/stl_stack.h (stack): Likewise.
907         * include/bits/stl_vector.h (vector): Likewise.
908         * include/bits/stl_list.h (list): Likewise and check
909         _SGIAssignableConcept only in C++03.
910         * include/bits/stl_map.h (map): Likewise.
911         * include/bits/stl_set.h (set): Likewise.
912         * include/bits/stl_multimap.h (multimap): Likewise.
913         * include/bits/stl_multiset.h (multiset): Likewise.
914         * include/bits/stl_queue.h (queue, priority_queue): Likewise.
916 2017-03-18  Gerald Pfeifer  <gerald@pfeifer.com>
918         * doc/xml/manual/appendix_contributing.xml: Convert link to
919         ansi.org to https.
920         Update link to the C++ standard at ansi.org.
922         * doc/xml/faq.xml: Remove information redundant with the above;
923         instead add a reference.
925 2017-03-17  Jonathan Wakely  <jwakely@redhat.com>
927         * src/c++11/codecvt.cc (range): Add non-type template parameter and
928         define oerloaded operators for reading and writing code units.
929         (range<Elem, false>): Define partial specialization for accessing
930         wide characters in potentially unaligned byte ranges.
931         (ucs2_span(const char16_t*, const char16_t*, ...))
932         (ucs4_span(const char16_t*, const char16_t*, ...)): Change parameters
933         to range<const char16_t, false> in order to avoid unaligned reads.
934         (__codecvt_utf16_base<char16_t>::do_out)
935         (__codecvt_utf16_base<char32_t>::do_out)
936         (__codecvt_utf16_base<wchar_t>::do_out): Use range specialization for
937         unaligned data to avoid unaligned writes.
938         (__codecvt_utf16_base<char16_t>::do_in)
939         (__codecvt_utf16_base<char32_t>::do_in)
940         (__codecvt_utf16_base<wchar_t>::do_in): Likewise for writes. Return
941         error if there are unprocessable trailing bytes.
942         (__codecvt_utf16_base<char16_t>::do_length)
943         (__codecvt_utf16_base<char32_t>::do_length)
944         (__codecvt_utf16_base<wchar_t>::do_length): Pass arguments of type
945         range<const char16_t, false> to span functions.
946         * testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc: New test.
948 2017-03-16  Jonathan Wakely  <jwakely@redhat.com>
950         PR libstdc++/79980
951         * src/c++11/codecvt.cc (to_integer(codecvt_mode)): Fix target type.
953         PR libstdc++/80041
954         * src/c++11/codecvt.cc (__codecvt_utf16_base<wchar_t>::do_out)
955         (__codecvt_utf16_base<wchar_t>::do_in): Convert char arguments to
956         char16_t to work with UTF-16 instead of UTF-8.
957         * testsuite/22_locale/codecvt/codecvt_utf16/80041.cc: New test.
959         * src/c++11/codecvt.cc (codecvt<char16_t, char, mbstate_t>)
960         (codecvt<char32_t, char, mbstate_t>, __codecvt_utf8_base<char16_t>)
961         (__codecvt_utf8_base<char32_t>, __codecvt_utf8_base<wchar_t>)
962         (__codecvt_utf16_base<char16_t>, __codecvt_utf16_base<char32_t>)
963         (__codecvt_utf16_base<wchar_t>, __codecvt_utf8_utf16_base<char16_t>)
964         (__codecvt_utf8_utf16_base<char32_t>)
965         (__codecvt_utf8_utf16_base<wchar_t>): Fix do_encoding() and
966         do_max_length() return values.
967         * testsuite/22_locale/codecvt/codecvt_utf16/members.cc: New test.
968         * testsuite/22_locale/codecvt/codecvt_utf8/members.cc: New test.
969         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc: New test.
971         PR libstdc++/79980
972         * include/bits/locale_conv.h (__do_str_codecvt): Set __count on
973         error path.
974         * src/c++11/codecvt.cc (operator&=, operator|=, operator~): Overloads
975         for manipulating codecvt_mode values.
976         (read_utf16_bom): Compare input to BOM constants instead of integral
977         constants that depend on endianness.  Take mode parameter by
978         reference and adjust it, to distinguish between no BOM present and
979         UTF-16BE BOM present.
980         (ucs4_in, ucs2_span, ucs4_span): Adjust calls to read_utf16_bom.
981         (surrogates): New enumeration type.
982         (utf16_in, utf16_out): Add surrogates parameter to choose between
983         UTF-16 and UCS2 behaviour.
984         (utf16_span, ucs2_span): Use std::min not std::max.
985         (ucs2_out): Use std::min not std::max.  Disallow surrogate pairs.
986         (ucs2_in): Likewise. Adjust calls to read_utf16_bom.
987         * testsuite/22_locale/codecvt/codecvt_utf16/79980.cc: New test.
988         * testsuite/22_locale/codecvt/codecvt_utf8/79980.cc: New test.
990         PR libstdc++/79511
991         * src/c++11/codecvt.cc (write_utf16_code_point): Don't write 0xffff
992         as a surrogate pair.
993         (__codecvt_utf8_utf16_base<char32_t>::do_in): Use native endianness
994         for internal representation.
995         (__codecvt_utf8_utf16_base<wchar_t>::do_in): Likewise.
996         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc: New test.
998         PR libstdc++/80064
999         * include/bits/stl_heap.h (__is_heap, push_heap, __adjust_heap)
1000         (pop_heap, make_heap, sort_heap, is_heap_until, is_heap): Cope with
1001         invalid instantiations using function types for _Compare argument.
1002         * testsuite/25_algorithms/make_heap/80064.cc: New test.
1004         PR libstdc++/67440
1005         * python/libstdcxx/v6/printers.py (find_type): Avoid gdb.Type.name
1006         for GDB 7.6 compatibility, use gdb.Type.unqualified instead.
1008 2017-03-15  Ville Voutilainen  <ville.voutilainen@gmail.com>
1010         Implement LWG 2857, {variant,optional,any}::emplace should
1011         return the constructed value.
1012         * include/std/any (emplace(_Args&&...)): Change the return type and
1013         return a reference to the constructed value.
1014         (emplace(initializer_list<_Up>, _Args&&...)): Likewise.
1015         * include/std/optional (emplace(_Args&&...)): Likewise.
1016         (emplace(initializer_list<_Up>, _Args&&...)): Likewise.
1017         * include/std/variant (emplace<_Tp>(_Args&&...)): Likewise.
1018         (emplace<_Tp>(initializer_list<_Up>, _Args&&...)): Likewise.
1019         (emplace<_Np>(_Args&&...)): Likewise.
1020         (emplace<_Np>(initializer_list<_Up>, _Args&&...)): Likewise.
1021         * testsuite/20_util/any/assign/emplace.cc: Add tests for
1022         checking the return value of emplace.
1023         * testsuite/20_util/any/misc/any_cast_neg.cc: Adjust.
1024         * testsuite/20_util/optional/assignment/6.cc: Add tests for
1025         checking the return value of emplace.
1026         * testsuite/20_util/variant/run.cc: Likewise.
1028 2017-03-15  Xi Ruoyao  <ryxi@stu.xidian.edu.cn>
1030         PR libstdc++/62045
1031         * include/ext/pb_ds/qdetail/binary_heap_/binary_heap_.hpp
1032         (is_heap): Remove.
1033         (push_heap): Remove the wrong checking using is_heap.
1034         (make_heap): Remove the assertion using is_heap.
1035         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp
1036         (modify): Ditto.
1037         (resize_for_insert_if_needed): Add PB_DS_ASSERT_VALID after
1038         calling make_heap.
1040 2017-03-15  Jonathan Wakely  <jwakely@redhat.com>
1042         PR libstdc++/62045
1043         * testsuite/ext/pb_ds/regression/priority_queue_binary_heap-62045.cc:
1044         New test.
1045         * testsuite/ext/pb_ds/regression/priority_queues.cc: Fix copy&paste
1046         error in comment.
1048 2017-03-15  Jonathan Wakely  <jwakely@redhat.com>
1050         * acinclude.m4 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Fix typo in
1051         comment.
1052         * config.h.in: Regenerate.
1053         * configure: Regenerate.
1054         * doc/Makefile.in: Regenerate.
1056 2017-03-14  Jonathan Wakely  <jwakely@redhat.com>
1058         PR libstdc++/79162
1059         * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
1060         (basic_string<C,T,A>::operator=(basic_string_view<C,T>)): Replace
1061         with a constrained template.
1062         [!_GLIBCXX_USE_CXX11_ABI]
1063         (basic_string<C,T,A>::operator=(basic_string_view<C,T>)): Likewise.
1064         * testsuite/21_strings/basic_string/cons/char/79162.cc: New test.
1065         * testsuite/21_strings/basic_string/cons/wchar_t/79162.cc: New test.
1067 2017-03-13  Ville Voutilainen  <ville.voutilainen@gmail.com>
1069         PR libstdc++/80034
1070         * include/bits/list.tcc (merge(list&&)): Use const for the size_t
1071         in the catch-block.
1072         (merge(list&&, _StrictWeakOrdering)): Likewise.
1073         * testsuite/23_containers/list/operations/80034.cc: New.
1075 2017-03-13  Ville Voutilainen  <ville.voutilainen@gmail.com>
1077         Implement LWG 2806, Base class of bad_optional_access.
1078         * include/std/optional (bad_optional_access):
1079         Derive from std::exception.
1080         (bad_optional_access::bad_optional_access): Adjust.
1081         (bad_optional_access::what): New.
1082         (__throw_bad_optional_access(const char*)):
1083         Remove the parameter and adjust calls.
1084         * testsuite/20_util/optional/cons/value_neg.cc: Adjust.
1085         * testsuite/20_util/optional/typedefs.cc: Likewise.
1087 2017-03-12  Ville Voutilainen  <ville.voutilainen@gmail.com>
1089         Implement LWG 2934, optional<const T> doesn't compare with T.
1090         * include/std/optional
1091         (operator==(const optional<_Tp>&, const optional<_Tp>&)):
1092         Turn into operator==(const optional<_Tp>&, const optional<_Up>&).
1093         (operator!=(const optional<_Tp>&, const optional<_Tp>&)):
1094         Turn into operator!=(const optional<_Tp>&, const optional<_Up>&).
1095         (operator<(const optional<_Tp>&, const optional<_Tp>&)):
1096         Turn into operator<(const optional<_Tp>&, const optional<_Up>&.
1097         (operator>(const optional<_Tp>&, const optional<_Tp>&)):
1098         Turn into operator>(const optional<_Tp>&, const optional<_Up>&.
1099         (operator<=(const optional<_Tp>&, const optional<_Tp>&)):
1100         Turn into operator<=(const optional<_Tp>&, const optional<_Up>&).
1101         (operator>=(const optional<_Tp>&, const optional<_Tp>&)):
1102         Turn into operator>=(const optional<_Tp>&, const optional<_Up>&).
1103         (operator==(const optional<_Tp>&, const _Tp&)):
1104         Turn into operator==(const optional<_Tp>&, const _Up&).
1105         (operator==(const _Tp&, const optional<_Tp>&)):
1106         Turn into operator==(const _Up&, const optional<_Tp>&).
1107         (operator!=(const optional<_Tp>&, const _Tp&)):
1108         Turn into operator!=(const optional<_Tp>&, const _Up&).
1109         (operator!=(const _Tp&, const optional<_Tp>&)):
1110         Turn into operator!=(const _Up&, const optional<_Tp>&).
1111         (operator<(const optional<_Tp>&, const _Tp&)):
1112         Turn into operator<(const optional<_Tp>&, const _Up&).
1113         (operator<(const _Tp&, const optional<_Tp>&)):
1114         Turn into operator<(const _Up&, const optional<_Tp>&).
1115         (operator>(const optional<_Tp>&, const _Tp&)):
1116         Turn into operator>(const optional<_Tp>&, const _Up&).
1117         (operator>(const _Tp&, const optional<_Tp>&)):
1118         Turn into operator>(const _Up&, const optional<_Tp>&).
1119         (operator<=(const optional<_Tp>&, const _Tp&)):
1120         Turn into operator<=(const optional<_Tp>&, const _Up&).
1121         (operator<=(const _Tp&, const optional<_Tp>&)):
1122         Turn into operator<=(const _Up&, const optional<_Tp>&).
1123         (operator>=(const optional<_Tp>&, const _Tp&)):
1124         Turn into operator>=(const optional<_Tp>&, const _Up&).
1125         (operator>=(const _Tp&, const optional<_Tp>&)):
1126         Turn into operator>=(const _Up&, const optional<_Tp>&).
1127         * testsuite/20_util/optional/relops/7.cc: New.
1129 2017-03-10  Jonathan Wakely  <jwakely@redhat.com>
1131         * testsuite/17_intro/names.cc: Undefine macros that clash with
1132         identifiers in AIX system headers.
1134         * include/bits/invoke.h (__invoke): Use __invoke_result instead of
1135         result_of, and __is_nothrow_invocable instead of
1136         __is_nothrow_callable.
1137         * include/bits/shared_ptr_base.h (__shared_ptr): Use __is_invocable
1138         instead of __is_callable.
1139         * include/std/functional (invoke): use invoke_result_t instead of
1140         result_of_t and is_nothrow_invocable instead of is_nothrow_callable.
1141         (_Not_fn): Use __invoke_result instead of result_of.
1142         * include/std/type_traits (__result_of_memobj, __result_of_memfun):
1143         Remove partial specializations for reference_wrapper types.
1144         (__result_of_impl): Use __inv_unwrap to strip reference_wrapper.
1145         (__invoke_result): Define replacement for result_of and then use it to
1146         define result_of.
1147         (__is_callable_impl, __is_callable, __is_nothrow_callable): Replace
1148         with __is_invocable_impl, __is_invocable, and __is_nothrow_invocable
1149         respectively.
1150         (invoke_result, invoke_result_t): Define for C++17.
1151         (is_callable, is_nothrow_callable): Replace with is_invocable,
1152         is_invocable_r, is_nothrow_invocable, and is_nothrow_invocable_r.
1153         (is_callable_v, is_nothrow_callable_v): Replace with is_invocable_v,
1154         is_invocable_r_v, is_nothrow_invocable_v, and is_nothrow_invocable_r_v.
1155         * include/std/variant (hash<variant<T...>>): Use is_nothrow_invocable_v
1156         instead of is_nothrow_callable_v.
1157         * testsuite/20_util/function_objects/invoke/59768.cc: Remove unused
1158         main function.
1159         * testsuite/20_util/function_objects/not_fn/1.cc: Use is_invocable
1160         instead of is_callable.
1161         * testsuite/20_util/is_callable/*: Rename directory and adjust tests
1162         to use new traits.
1163         * testsuite/20_util/is_nothrow_callable/*: Likewise.
1164         * testsuite/20_util/optional/hash.cc: Use is_invocable_v instead of
1165         is_callable.
1166         * testsuite/20_util/variant/hash.cc: Likewise.
1168 2017-03-10  George Lander  <george.lander@arm.com>
1170         * acinclude.m4 (glibcxx_cv_obsolete_isnan): Define
1171         _GLIBCXX_INCLUDE_NEXT_C_HEADERS before including math.h.
1172         * configure: Regenerate.
1174 2017-03-09  Jonathan Wakely  <jwakely@redhat.com>
1176         * include/std/functional (_Not_fn): Define macro to simplify
1177         repetitive function definitions.
1179         * doc/xml/manual/status_cxx2017.xml: Document std::byte support.
1180         * include/c_global/cstddef (std::byte): Define for C++17.
1181         * testsuite/18_support/byte/global_neg.cc: New test.
1182         * testsuite/18_support/byte/ops.cc: New test.
1183         * testsuite/18_support/byte/requirements.cc: New test.
1185 2017-03-05  Jonathan Wakely  <jwakely@redhat.com>
1187         * doc/xml/manual/status_cxx2017.xml: Document P0156R2 status.
1188         * doc/html/*: Regenerate.
1189         * include/std/mutex (scoped_lock): Implement new C++17 template.
1190         * testsuite/30_threads/scoped_lock/cons/1.cc: New test.
1191         * testsuite/30_threads/scoped_lock/requirements/
1192         explicit_instantiation.cc: New test.
1193         * testsuite/30_threads/scoped_lock/requirements/typedefs.cc: New test.
1195 2017-03-02  Gerald Pfeifer  <gerald@pfeifer.com>
1196             François Dumont  <frs.dumont@gmail.com>
1197             Jonathan Wakely  <jwakely@redhat.com>
1199         * doc/xml/manual/debug_mode.xml: Update and simplify note
1200         on link- and run-time coexistence.
1202 2017-03-02  Jonathan Wakely  <jwakely@redhat.com>
1204         * testsuite/17_intro/headers/names.cc: Rename to ...
1205         * testsuite/17_intro/names.cc: ... here.
1207         PR libstdc++/79789
1208         * include/bits/hashtable_policy.h (__clp2): Use reserved names for
1209         parameters and local variables.
1210         * include/bits/ios_base.h (make_error_code, make_error_condition):
1211         Likewise.
1212         * include/bits/list.tcc (list::sort): Likewise.
1213         * include/bits/mask_array.h (mask_array): Likewise.
1214         * include/bits/regex.h (regex_token_iterator): Likewise.
1215         * include/bits/slice_array.h (slice_array): Likewise.
1216         * include/bits/stl_algo.h (__sample): Likewise.
1217         * include/std/memory (undeclare_no_pointers): Likewise.
1218         * include/std/type_traits (is_callable_v, is_nothrow_callable_v):
1219         Likewise.
1220         * libsupc++/exception_ptr.h (__dest_thunk): Likewise.
1221         * testsuite/17_intro/headers/names.cc: New test.
1223         PR libstdc++/79798
1224         * include/std/functional (bind::_Res_type_impl): Fix incorrect use of
1225         result_of that loses top-level cv-qualifiers.
1226         * testsuite/20_util/bind/79798.cc: New test.
1228 2017-03-01  Gerald Pfeifer  <gerald@pfeifer.com>
1230         * doc/xml/manual/documentation_hacking.xml: Tweak link to
1231         doxygen.org.
1233 2017-02-23  Jonathan Wakely  <jwakely@redhat.com>
1235         * include/experimental/iterator: Include <iterator>.
1236         * testsuite/experimental/iterator/requirements.cc: Check for contents
1237         of <iterator>.
1239 2017-02-19  Dinka Ranns  <dinka.ranns@googlemail.com>
1241         C++17 GB50 resolution
1242         * include/std/chrono (duration::operator++()): Add
1243         _GLIBCXX17_CONSTEXPR.
1244         (duration::operator++(int)): Likewise.
1245         (duration::operator--()): Likewise.
1246         (duration::operator--(int)): Likewise.
1247         (duration::operator+=(const duration&)): Likewise.
1248         (duration::operator-=(const duration&)): Likewise.
1249         (duration::operator*=(const rep&)): Likewise.
1250         (duration::operator/=(const rep&)): Likewise.
1251         (duration::operator%=(const rep&)): Likewise.
1252         (duration::operator%=(const duration&)): Likewise.
1253         (time_point::operator+=(const duration&)): Likewise.
1254         (time_point::operator-=(const duration&)): Likewise.
1255         * testsuite/20_util/duration/arithmetic/constexpr_c++17.cc: New test.
1256         * testsuite/20_util/duration/literals/range.cc: Adjust dg-error.
1257         * testsuite/20_util/time_point/arithmetic/constexpr.cc: New test.
1259 2017-02-19  Gerald Pfeifer  <gerald@pfeifer.com>
1261         * doc/xml/manual/debug.xml: Adjust link to ThreadSanitizer.
1263 2017-02-18  Gerald Pfeifer  <gerald@pfeifer.com>
1265         * doc/xml/manual/io.xml: Update link to groups.google.com.
1266         Tweak link description.
1268 2017-02-18  Gerald Pfeifer  <gerald@pfeifer.com>
1270         * doc/xml/manual/profile_mode.xml: Fix link.
1272 2017-02-16  Gerald Pfeifer  <gerald@pfeifer.com>
1274         * doc/xml/manual/policy_data_structures.xml: Simplify and
1275         standardize references to boost.org.
1276         * doc/xml/manual/policy_data_structures_biblio.xml: Ditto.
1277         * doc/xml/manual/shared_ptr.xml: Ditto.
1279 2017-02-16  Jonathan Wakely  <jwakely@redhat.com>
1281         PR libstdc++/60936
1282         * src/c++11/snprintf_lite.cc (__concat_size_t): Calculate length
1283         written to buffer, not length remaining in buffer.
1285 2017-02-15  Tim Shen  <timshen@google.com>
1287         PR libstdc++/78723
1288         * include/std/variant (operator<(), operator>(), operator<=(),
1289         operator>=(), operator==(), operator!=()): Implement P0393R3.
1290         * testsuite/20_util/variant/compile.cc: Adjust tests.
1291         * testsuite/20_util/variant/run.cc: Adjust tests.
1293 2017-02-15  Tim Shen  <timshen@google.com>
1295         PR libstdc++/79513
1296         * include/std/variant (visit()): Forward variant types to the return
1297         type detection code.
1298         * testsuite/20_util/variant/compile.cc: Add test cases.
1300 2017-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1302         PR libstdc++/79348
1303         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Updated.
1305 2017-02-13  Jakub Jelinek  <jakub@redhat.com>
1307         PR libstdc++/79348
1308         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1309         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1310         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1311         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1312         * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Likewise.
1313         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1314         * config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt: Likewise.
1315         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1316         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1318 2017-02-13  Jonathan Wakely  <jwakely@redhat.com>
1320         PR libstdc++/79486
1321         * include/std/future (__future_base::_Task_state::_M_run)
1322         (__future_base::_Task_state::_M_run_delayed): Use lvalue types in
1323         result_of expressions.
1324         * testsuite/30_threads/packaged_task/79486.cc: New.
1326 2017-02-11  Jonathan Wakely  <jwakely@redhat.com>
1328         PR libstdc++/79467
1329         * include/bits/shared_ptr_base.h (__shared_ptr(_Yp*, _Deleter))
1330         (__shared_ptr(_Yp*, _Deleter, _Alloc)): Use lvalue types in
1331         __is_callable check.
1332         * testsuite/20_util/shared_ptr/cons/79467.cc: New.
1334         * include/bits/atomic_base.h: Re-indent.
1336 2017-02-10  Gerald Pfeifer  <gerald@pfeifer.com>
1338         * doc/xml/manual/profile_mode.xml: Update a paper reference.
1340 2017-02-08  Gerald Pfeifer  <gerald@pfeifer.com>
1342         * src/c++11/snprintf_lite.cc (__err): Use https for bug reporting.
1344 2017-02-08  Jonathan Wakely  <jwakely@redhat.com>
1346         * doc/xml/manual/policy_data_structures.xml: Fix spelling of author's
1347         name.
1348         * doc/xml/manual/policy_data_structures_biblio.xml: Likewise. Remove
1349         broken links to texts that are no longer online.
1350         * doc/xml/manual/profile_mode.xml: Update links to CGO 2009 paper and
1351         LCPC 2006 paper.
1352         * doc/xml/manual/using.xml: Update links to memory model information.
1353         * doc/xml/manual/using_exceptions.xml: Update link to "Appendix E:
1354         Standard-Library Exception Safety".
1355         * doc/html/*: Regenerate.
1357 2017-02-08  Gerald Pfeifer  <gerald@pfeifer.com>
1359         * doc/xml/manual/profile_mode.xml: Unbreak link to
1360         "Optimizing Sorting with Machine Learning Algorithms".
1362 2017-02-08  Gerald Pfeifer  <gerald@pfeifer.com>
1364         * src/c++11/snprintf_lite.cc (__err): Update bug reporting URL.
1366 2017-02-08  Gerald Pfeifer  <gerald@pfeifer.com>
1368         * doc/xml/manual/abi.xml: Update link to "Sun Studio 11: C++
1369         Migration Guide".
1371 2017-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
1373         * doc/html/ext/lwg-active.html: Remove.
1374         * doc/html/ext/lwg-closed.html: Ditto.
1375         * doc/html/ext/lwg-defects.html: Ditto.
1377         * doc/Makefile.am (xml_extradir): Remove.
1378         (xml_extra): Ditto.
1379         (stamp-html-docbook-lwg): Remove recipe...
1380         (stamp-html-docbook-data): ...and its use here.
1381         * doc/Makefile.in: Regenerate.
1383         * doc/xml/manual/intro.xml: Shorten two paragraphs explaining
1384         the relationship to the upstream working group.
1385         Replace a local link to ../ext/lwg-active.html by the upstream one.
1386         Replace all reference to ../ext/lwg-defects.html by a new entity
1387         &DR; which refers to the upstream address.
1389 2017-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
1391         * doc/xml/manual/status_cxx2017.xml: Fix link to N4284.
1393 2017-02-06  Jonathan Wakely  <jwakely@redhat.com>
1395         PR libstdc++/79323
1396         * testsuite/20_util/duration/literals/range.cc: Prune extra output
1397         at -O0.
1399 2017-02-06  Gerald Pfeifer  <gerald@pfeifer.com>
1401         * doc/xml/manual/documentation_hacking.xml: Update URL of the
1402         DocBook Element Reference.  Use that term as link description
1403         instead of "online".
1404         epubcheck has moved to GitHub.
1405         Remove obsolete link to DocBook Publishing Tools.
1407 2017-02-03  Jonathan Wakely  <jwakely@redhat.com>
1409         PR libstdc++/66145
1410         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Restore ABI override
1411         so new ios::failure can be caught even when old ABI is the default.
1412         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
1413         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
1414         exceptions_failbit.cc: Likewise.
1415         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
1416         exceptions_failbit.cc: Likewise.
1417         * testsuite/27_io/basic_istream/extractors_other/char/
1418         exceptions_null.cc: Likewise.
1419         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
1420         exceptions_null.cc: Likewise.
1421         * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
1422         * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
1423         * testsuite/27_io/basic_ostream/inserters_other/char/
1424         exceptions_null.cc: Likewise.
1425         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1426         exceptions_null.cc: Likewise.
1427         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1429         PR libstdc++/60936
1430         * src/c++11/Makefile.am: Add new files.
1431         * src/c++11/Makefile.in: Regenerate.
1432         * src/c++11/cow-string-inst.cc [!_GLIBCXX_USE_CXX11_ABI]
1433         (operator<<, operator>>, getline): Move explicit instantiations to ...
1434         * src/c++11/cow-string-io-inst.cc: ... new file.
1435         * src/c++11/cow-wstring-inst.cc [!_GLIBCXX_USE_CXX11_ABI]
1436         (operator<<, operator>>, getline): Move explicit instantiations to ...
1437         * src/c++11/cow-wstring-io-inst.cc: ... new file.
1438         * src/c++11/functexcept.cc (__throw_ios_failure, __throw_system_error)
1439         (__throw_future_error, __throw_bad_function_call):
1440         (__throw_regex_error): Move functions for C++11 exceptions to the
1441         files that define the exception types.
1442         * src/c++11/functional.cc (__throw_bad_function_call): Move here.
1443         * src/c++11/future.cc (__throw_future_error): Likewise.
1444         * src/c++11/ios.cc (__throw_ios_failure): Likewise.
1445         * src/c++11/regex.cc (__throw_regex_error): Likewise.
1446         * src/c++11/snprintf_lite.cc (__concat_size_t): Print decimal
1447         representation directly instead of calling __int_to_char.
1448         * src/c++11/sso_string.cc (__sso_string): New file for definition
1449         of __sso_string type.
1450         * src/c++11/string-io-inst.cc [_GLIBCXX_USE_CXX11_ABI]: New file for
1451         explicit instantiations of narrow string I/O functions.
1452         * src/c++11/system_error.cc (__throw_system_error): Move here.
1453         (__sso_string): Move to new file.
1454         * src/c++11/wstring-io-inst.cc [_GLIBCXX_USE_CXX11_ABI]: New file for
1455         explicit instantiations of wide string I/O functions.
1456         * src/c++98/misc-inst.cc [_GLIBCXX_USE_CXX11_ABI] (operator<<)
1457         (operator>>, getline): Remove explicit instantiations from here.
1459 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1461         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Updated.
1463 2017-02-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1465         * configure.host: Separate Solaris/SPARC and x86 baselines.
1466         * config/abi/post/solaris2.10/baseline_symbols.txt: Move ...
1467         * config/abi/post/sparc-solaris2.10/baseline_symbols.txt: ... here.
1468         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Move ...
1469         * config/abi/post/sparc-solaris2.10/sparcv9/baseline_symbols.txt:
1470         ... here.
1471         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Move ...
1472         * config/abi/post/i386-solaris2.10/amd64/baseline_symbols.txt: ... here.
1473         * config/abi/post/i386-solaris2.10/baseline_symbols.txt: New file.
1474         * config/abi/post/solaris2.11/baseline_symbols.txt: Move ...
1475         * config/abi/post/sparc-solaris2.11/baseline_symbols.txt: ... here.
1476         * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: Move ...
1477         * config/abi/post/sparc-solaris2.11/sparcv9/baseline_symbols.txt:
1478         ... here.
1479         * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: Move ...
1480         * config/abi/post/i386-solaris2.11/amd64/baseline_symbols.txt: ... here.
1481         * config/abi/post/i386-solaris2.11/baseline_symbols.txt: New file.
1483         * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1484         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1485         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1486         * config/abi/post/solaris2.11/baseline_symbols.txt: Likewise.
1487         * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: Likewise.
1488         * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: Likewise.
1490 2017-02-01  Jonathan Wakely  <jwakely@redhat.com>
1492         PR libstdc++/78346
1493         * include/bits/predefined_ops.h (_Iter_equals_iter): Store iterator
1494         not its referent.
1495         (_Iter_comp_to_iter): Likewise.
1496         * testsuite/25_algorithms/search/78346.cc: New test.
1498         PR libstdc++/79254
1499         * config/abi/pre/gnu.ver: Remove recently added symbols.
1500         * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
1501         (basic_string::_M_copy_assign): Remove.
1502         (basic_string::operator=(const basic_string&)): Don't dispatch to
1503         _M_copy_assign. If source object is small just deallocate, otherwise
1504         perform new allocation before making any changes.
1505         * include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
1506         (basic_string::_M_copy_assign(const basic_string&, true_type)):
1507         Remove.
1508         * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
1509         Test cases where the allocators are equal or the string is small.
1510         * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
1511         Likewise.
1513 2017-01-30  Ville Voutilainen  <ville.voutilainen@gmail.com>
1515         Implement LWG 2825, LWG 2756 breaks class template argument
1516         deduction for optional.
1517         * include/std/optional: Add a deduction guide.
1518         * testsuite/20_util/optional/cons/deduction_guide.cc: New.
1520 2017-01-27  Jonathan Wakely  <jwakely@redhat.com>
1522         PR libstdc++/79254
1523         * config/abi/pre/gnu.ver: Add new symbols.
1524         * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
1525         (basic_string::_M_copy_assign): New overloaded functions to perform
1526         copy assignment.
1527         (basic_string::operator=(const basic_string&)): Dispatch to
1528         _M_copy_assign.
1529         * include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
1530         (basic_string::_M_copy_assign(const basic_string&, true_type)):
1531         Define, performing rollback on exception.
1532         * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
1533         Test exception-safety guarantee.
1534         * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
1535         Likewise.
1536         * testsuite/util/testsuite_allocator.h (uneq_allocator::swap): Make
1537         std::swap visible.
1539 2017-01-26  Jonathan Wakely  <jwakely@redhat.com>
1541         PR libstdc++/70607
1542         * include/tr1/complex (conj): Remove using-declaration and restore
1543         overloads, reverting previous change.
1545         * testsuite/23_containers/list/operations/78389.cc: Fix for C++11
1546         mode.
1547         * testsuite/23_containers/priority_queue/requirements/constructible.cc:
1548         Mark as unsupported in C++98 mode.
1549         * testsuite/23_containers/queue/requirements/constructible.cc:
1550         Likewise.
1551         * testsuite/23_containers/stack/requirements/constructible.cc:
1552         Likewise.
1553         * testsuite/25_algorithms/make_heap/movable.cc: Fix for C++11 mode.
1555         PR libstdc++/79243
1556         * include/bits/c++config (literals::string_view_literals::__7): Add.
1557         Only declare versioned namespaces for the relevant C++ dialects.
1558         * include/experimental/bits/erase_if.h (fundamentals_v2::__detail):
1559         Add versioning macros.
1560         * include/experimental/bits/lfts_config.h:
1561         (fundamentals_v1::__detail::__7, fundamentals_v2::__detail::__7): Add.
1562         * include/experimental/string_view (fundamentals_v2::__detail):
1563         Add versioning macros.
1564         (fundamentals_v2::__detail::__identity): Remove.
1565         (fundamentals_v2::__detail::__idt): Use common_type instead of
1566         __detail::__identity.
1567         * include/std/string_view (__detail::__identity, __detail::__idt):
1568         Likewise.
1569         (literals::string_view_literals): Fix nesting of versioning macros.
1571         PR libstdc++/79190
1572         * libsupc++/del_opa.cc (operator delete(void*, std::align_val_t))
1573         [!_GLIBCXX_HAVE_ALIGNED_ALLOC && !_GLIBCXX_HAVE_POSIX_MEMALIGN
1574         && !_GLIBCXX_HAVE_MEMALIGN && !_GLIBCXX_HAVE__ALIGNED_MALLOC]:
1575         Retrieve original pointer value allocated by malloc.
1576         * libsupc++/new_opa.cc [!_GLIBCXX_HAVE_ALIGNED_ALLOC
1577         && !_GLIBCXX_HAVE_POSIX_MEMALIGN && !_GLIBCXX_HAVE_MEMALIGN
1578         && !_GLIBCXX_HAVE__ALIGNED_MALLOC] (aligned_alloc(size_t, size_t)):
1579         Define, adjusting pointer value allocated by malloc and storing for
1580         retrieval by operator delete.
1582 2017-01-26  Jakub Jelinek  <jakub@redhat.com>
1584         * libsupc++/eh_atomics.h: Update copyright years.
1585         * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years.
1587 2017-01-25  Jonathan Wakely  <jwakely@redhat.com>
1589         PR libstdc++/61791
1590         PR libstdc++/70607
1591         * include/std/complex (real(T), imag(T)): Add _GLIBCXX_CONSTEXPR.
1592         (proj(T), conj(T)): Change return types per DR 1522.
1593         * include/tr1/complex (conj): Remove overloads and use std::conj.
1594         * testsuite/26_numerics/complex/dr781_dr1137.cc: Rename to...
1595         * testsuite/26_numerics/complex/dr781.cc: ... this, and update.
1596         * testsuite/26_numerics/complex/value_operations/constexpr2.cc: Test
1597         real(T) and imag(T). Allow testing for C++11 too.
1599 2017-01-24  Jonathan Wakely  <jwakely@redhat.com>
1601         PR libstdc++/79206
1602         * include/experimental/string_view (operator==): Check sizes first.
1603         * include/std/string_view (operator==): Likewise.
1605 2017-01-23  Jonathan Wakely  <jwakely@redhat.com>
1607         * testsuite/experimental/array/make_array.cc: Restore <functional>
1608         inclusion.
1610 2017-01-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1612         * testsuite/29_atomics/atomic/69301.cc: Require atomic builtins.
1614 2017-01-23  Jonathan Wakely  <jwakely@redhat.com>
1616         PR libstdc++/79195
1617         * include/experimental/array (__make_array_elem): New class template
1618         and partial specialization.
1619         (__is_reference_wrapper): Move into __make_array_elem specialization.
1620         (make_array): Use __make_array_elem to determine element type and move
1621         static assertion into specialization. Qualify std::forward call.
1622         (to_array): Add exception specifiation.
1623         * testsuite/experimental/array/make_array.cc: Test argument types
1624         without a common type.
1625         * testsuite/experimental/array/neg.cc: Adjust expected error message.
1627 2017-01-22  Gerald Pfeifer  <gerald@pfeifer.com>
1629         * doc/xml/manual/debug.xml: code.google.com uses https now.
1631 2017-01-22  Gerald Pfeifer  <gerald@pfeifer.com>
1633         * doc/xml/manual/test.xml: Fix link into gccint online manual.
1635 2017-01-21  Ville Voutilainen  <ville.voutilainen@gmail.com>
1637         Make poisoned hashes SFINAE away the call operator of the hash.
1638         * include/bits/functional_hash.h
1639         (__poison_hash::__enable_hash_call): New.
1640         * include/std/optional (__optional_hash_call_base): New.
1641         (hash<optional<_Tp>>): Derive from the new base,
1642         move the hash function into that base.
1643         * include/std/variant (__variant_hash_call_base_impl): New.
1644         (__variant_hash_call_base): Likewise.
1645         (hash<variant<_Types...>>): Derive from the new base,
1646         move the hash function into that base.
1647         * testsuite/20_util/optional/hash.cc: Add tests for is_callable.
1648         * testsuite/20_util/variant/hash.cc: Likewise.
1650 2017-01-20  Joe Seymour  <joe.s@somniumtech.com>
1652         * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): Support uint20_t.
1653         * configure: Regenerate.
1655 2017-01-20  Jonathan Wakely  <jwakely@redhat.com>
1657         PR libstdc++/69240
1658         * include/bits/random.h (uniform_real_distribution::param_type)
1659         (normal_distribution::param_type, lognormal_distribution::param_type)
1660         (gamma_distribution::param_type, chi_squared_distribution::param_type)
1661         (cauchy_distribution::param_type, fisher_f_distribution::param_type)
1662         (student_t_distribution::param_type)
1663         (bernoulli_distribution::param_type, binomial_distribution::param_type)
1664         (geometric_distribution::param_type)
1665         (negative_binomial_distribution::param_type)
1666         (poisson_distribution::param_type)
1667         (exponential_distribution::param_type)
1668         (weibull_distribution::param_type)
1669         (extreme_value_distribution::param_type)
1670         (discrete_distribution::param_type)
1671         (piecewise_constant_distribution::param_type)
1672         (piecewise_linear_distribution::param_type): Define operator!=.
1673         * include/bits/uniform_int_dist.h
1674         (uniform_int_distribution::param_type): Likewise.
1675         * include/ext/random (beta_distribution::param_type)
1676         (rice_distribution::param_type, nakagami_distribution::param_type)
1677         (pareto_distribution::param_type, k_distribution::param_type)
1678         (arcsine_distribution::param_type, hoyt_distribution::param_type)
1679         (triangular_distribution::param_type)
1680         (von_mises_distribution::param_type)
1681         (hypergeometric_distribution::param_type)
1682         (logistic_distribution::param_type)
1683         (uniform_on_sphere_distribution::param_type)
1684         (uniform_inside_sphere_distribution::param_type): Likewise.
1685         * testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc:
1686         Test construction with param_type.
1687         * testsuite/26_numerics/random/binomial_distribution/cons/parms.cc:
1688         Likewise.
1689         * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
1690         Likewise.
1691         * testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc:
1692         Likewise.
1693         * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
1694         Likewise.
1695         * testsuite/26_numerics/random/extreme_value_distribution/cons/
1696         parms.cc: Likewise.
1697         * testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc:
1698         Likewise.
1699         * testsuite/26_numerics/random/gamma_distribution/cons/parms.cc:
1700         Likewise.
1701         * testsuite/26_numerics/random/geometric_distribution/cons/parms.cc:
1702         Likewise.
1703         * testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc:
1704         Likewise.
1705         * testsuite/26_numerics/random/negative_binomial_distribution/cons/
1706         parms.cc: Likewise.
1707         * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
1708         Likewise.
1709         * testsuite/26_numerics/random/poisson_distribution/cons/parms.cc:
1710         Likewise.
1711         * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
1712         Likewise.
1713         * testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc:
1714         Likewise.
1715         * testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc:
1716         Likewise.
1717         * testsuite/26_numerics/random/weibull_distribution/cons/parms.cc:
1718         Likewise.
1719         * testsuite/ext/random/arcsine_distribution/cons/parms.cc: Likewise.
1720         * testsuite/ext/random/beta_distribution/cons/parms.cc: Likewise.
1721         * testsuite/ext/random/hoyt_distribution/cons/parms.cc: Likewise.
1722         * testsuite/ext/random/hypergeometric_distribution/cons/parms.cc:
1723         Likewise.
1724         * testsuite/ext/random/k_distribution/cons/parms.cc: Likewise.
1725         * testsuite/ext/random/logistic_distribution/cons/parms.cc: Likewise.
1726         * testsuite/ext/random/nakagami_distribution/cons/parms.cc: Likewise.
1727         * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
1728         * testsuite/ext/random/pareto_distribution/cons/parms.cc: Likewise.
1729         * testsuite/ext/random/rice_distribution/cons/parms.cc: Likewise.
1730         * testsuite/ext/random/triangular_distribution/cons/parms.cc:
1731         Likewise.
1732         * testsuite/ext/random/uniform_inside_sphere_distribution/cons/
1733         parms.cc: Likewise.
1734         * testsuite/ext/random/von_mises_distribution/cons/parms.cc: Likewise.
1736         PR libstdc++/72792
1737         * include/bits/alloc_traits.h (__allocator_traits_base::__diff_type)
1738         (__allocator_traits_base::__size_type): Remove.
1739         (allocator_traits::_Ptr): New class template to detect const and void
1740         pointer types without instantiating pointer_traits::rebind
1741         unnecessarily.
1742         (allocator_traits::_Diff): Likewise for detecting difference_type.
1743         (allocator_traits::_Size): New class template to detect size_type
1744         without instantiating make_unsigned unnecessarily.
1745         * include/bits/ptr_traits.h (pointer_traits::element_type): Use
1746         __detected_or_t instead of __detected_or_t_.
1747         * include/std/type_traits (__detected_or_t_): Remove.
1748         * testsuite/20_util/allocator_traits/members/pointers.cc: New test.
1750         PR libstdc++/72792
1751         PR libstdc++/72793
1752         * include/bits/alloc_traits.h (__allocator_traits_base::__rebind):
1753         Replace with class template using void_t.
1754         (__alloc_rebind): Define in terms of
1755         __allocator_traits_base::__rebind.
1756         (allocator_traits): Remove unconditional static_assert for
1757         rebind_alloc.
1758         * include/bits/ptr_traits.h (__replace_first_arg): Remove type member.
1759         (pointer_traits::__rebind): Replace with class template using void_t.
1760         (pointer_traits::rebind): Define in terms of __rebind.
1761         (pointer_traits): Remove unconditional static_assert for rebind.
1762         * testsuite/20_util/allocator_traits/members/rebind_alloc.cc: New test.
1763         * testsuite/20_util/pointer_traits/rebind.cc: New test.
1765         PR libstdc++/69321
1766         * include/experimental/any (__any_caster): Avoid instantiating
1767         manager function for types that can't be stored in any.
1768         * include/std/any (__any_caster): Likewise.
1769         * testsuite/20_util/any/misc/any_cast.cc: Test non-copyable type.
1770         * testsuite/experimental/any/misc/any_cast.cc: Likewise.
1772         PR libstdc++/64903
1773         * include/bits/stl_algo.h (is_partitioned): Use increment instead of
1774         std::advance.
1776 2017-01-19  Jonathan Wakely  <jwakely@redhat.com>
1778         PR libstdc++/79156
1779         * include/bits/shared_ptr_base.h (__enable_shared_from_this_base):
1780         Fix return type.
1781         (__enable_shared_from_this): Declare __shared_ptr as a friend.
1782         * testsuite/ext/shared_ptr/1.cc: New test.
1784         PR libstdc++/64903
1785         * include/bits/stl_algo.h (is_partitioned): Don't retest the partition
1786         point.
1787         * testsuite/25_algorithms/is_partitioned/2.cc: New test.
1789         * doc/xml/manual/abi.xml: Fix typo.
1790         * doc/html/manual/abi.html: Likewise.
1792         PR libstdc++/67085
1793         * include/bits/predefined_ops.h (_Iter_less_val, _Val_less_iter): Add
1794         converting constructors from _Iter_less_iter.
1795         (_Iter_comp_val, _Val_comp_iter): Add converting constructors from
1796         _Iter_comp_iter.
1797         (__iter_comp_val(_Iter_comp_iter<C>): Use converting constructor.
1798         (__val_comp_iter(_Iter_comp_iter<C>): Likewise.
1799         * include/bits/stl_heap.h (__is_heap_until, __push_heap, __pop_heap)
1800         (__make_heap, __sort_heap): Change _Compare parameters to references.
1801         (__is_heap, push_heap, __adjust_heap, __pop_heap, pop_heap)
1802         (__make_heap, make_heap, sort_heap, is_heap_until): Pass comparison
1803         functions as lvalues.
1804         (is_heap): Call __is_heap_until directly to avoid copying __comp.
1805         * testsuite/23_containers/priority_queue/67085.cc: Adjust test to
1806         count copies during construction with empty sequence.
1808         PR libstdc++/67085
1809         * include/bits/stl_heap.h (__is_heap): Use _GLIBCXX_MOVE.
1810         (__make_heap, __sort_heap): Don't use _GLIBCXX_MOVE inside loops.
1811         * testsuite/23_containers/priority_queue/67085.cc: Adjust expected
1812         number of copies.
1813         * testsuite/25_algorithms/make_heap/movable.cc: New test.
1815         PR libstdc++/67085
1816         * include/bits/stl_heap.h (push_heap, __adjust_heap, __pop_heap)
1817         (pop_heap, __make_heap, make_heap, __sort_heap, sort_heap): Use
1818         _GLIBCXX_MOVE when passing comparison function to other functions.
1819         (is_heap_until, is_heap): Use std::move when passing comparison
1820         function.
1821         * testsuite/23_containers/priority_queue/67085.cc: New test.
1823         PR libstdc++/78905
1824         * doc/xml/manual/abi.xml (abi.versioning.history): Add markup to
1825         macro names, filenames, and literal values. Document _GLIBCXX_RELEASE.
1826         Document that the deprecated _GLIBCXX_VERSION macro was removed for
1827         the 4.0.0 release.
1828         * doc/html/*: Regenerate.
1829         * include/Makefile.am (_GLIBCXX_RELEASE): Set value.
1830         * include/Makefile.in: Regenerate.
1831         * include/bits/c++config (_GLIBCXX_RELEASE): Add #define.
1832         * testsuite/ext/profile/mutex_extensions_neg.cc: Use lineno of 0 in
1833         dg-error.
1835 2017-01-18  Jonathan Wakely  <jwakely@redhat.com>
1837         PR libstdc++/69301
1838         * include/std/atomic (atomic<T>::load, atomic<T>::exchange): Use
1839         aligned buffer instead of default-initialized variable.
1840         * testsuite/29_atomics/atomic/69301.cc: New test.
1841         * include/experimental/memory (observer_ptr::release): Use reserved
1842         name.
1843         * include/ext/pointer.h (_Pointer_adapter::operator++(int))
1844         (_Pointer_adapter::operator--(int)): Likewise.
1846         PR libstdc++/68925
1847         * include/experimental/random (randint): Use temporary instead of
1848         thread_local static.
1850 2017-01-17  Joshua Conner  <joshconner@google.com>
1852         * crossconfig.m4: Add fuchsia OS.
1853         * configure: Regenerate.
1855 2017-01-17  Jonathan Wakely  <jwakely@redhat.com>
1857         PR libstdc++/69699
1858         * doc/xml/manual/abi.xml (abi.versioning.history): Explain why the
1859         __GLIBCXX__ macro is not useful. Remove redundant date information
1860         and link to the GCC release timeline.
1861         (abi.versioning.active): Move partial sentence into the previous
1862         paragraph.
1863         * doc/html/*: Regenerate.
1865         PR libstdc++/79114
1866         * libsupc++/nested_exception.h (throw_with_nested): Use decay instead
1867         of remove_reference.
1868         * testsuite/18_support/nested_exception/79114.cc: New test.
1870 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1872         PR other/79046
1873         * configure.ac: Add GCC_BASE_VER.
1874         * fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1875         get version from BASE-VER file.
1876         * po/Makefile.in: Regenerated.
1877         * libsupc++/Makefile.in: Regenerated.
1878         * testsuite/Makefile.in: Regenerated.
1879         * src/Makefile.in: Regenerated.
1880         * configure: Regenerated.
1881         * Makefile.in: Regenerated.
1882         * include/Makefile.in: Regenerated.
1883         * doc/Makefile.in: Regenerated.
1884         * python/Makefile.in: Regenerated.
1885         * src/c++11/Makefile.in: Regenerated.
1886         * src/c++98/Makefile.in: Regenerated.
1887         * src/filesystem/Makefile.in: Regenerated.
1889 2017-01-16  Jonathan Wakely  <jwakely@redhat.com>
1891         PR libstdc++/66145
1892         * src/c++11/functexcept.cc: Use new ABI for std::ios_base::failure
1893         exceptions.
1894         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Don't override ABI
1895         for test, so new ios::failure can be caught.
1896         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
1897         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
1898         exceptions_failbit.cc: Likewise.
1899         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
1900         exceptions_failbit.cc: Likewise.
1901         * testsuite/27_io/basic_istream/extractors_other/char/
1902         exceptions_null.cc: Likewise.
1903         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
1904         exceptions_null.cc: Likewise.
1905         * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
1906         * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
1907         * testsuite/27_io/basic_ostream/inserters_other/char/
1908         exceptions_null.cc: Likewise.
1909         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1910         exceptions_null.cc: Likewise.
1911         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1913         PR libstdc++/78702
1914         * include/bits/locale_classes.h (locale::facet::__shim): Change from
1915         private to protected.
1916         * src/c++11/cxx11-shim_facets.cc (__shim_accessor): Define helper to
1917         make locale::facet::__shim accessible.
1919 2017-01-16  Ville Voutilainen  <ville.voutilainen@gmail.com>
1921         PR libstdc++/78389
1922         * include/bits/list.tcc (merge(list&&)): Fix backwards size adjustments.
1923         (merge(list&&, _StrictWeakOrdering)): Likewise.
1924         * testsuite/23_containers/list/operations/78389.cc: Add
1925         better test for the sizes.
1927 2017-01-14  Jonathan Wakely  <jwakely@redhat.com>
1929         * testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc:
1930         Skip test when -D_GLIBCXX_PROFILE mode is included in options.
1931         * testsuite/23_containers/map/modifiers/extract.cc: Likewise.
1932         * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
1933         Likewise.
1934         * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
1935         * testsuite/23_containers/multimap/modifiers/extract.cc: Likewise.
1936         * testsuite/23_containers/multiset/modifiers/extract.cc: Likewise.
1937         * testsuite/23_containers/set/modifiers/extract.cc: Likewise.
1938         * testsuite/23_containers/unordered_map/modifiers/extract.cc:
1939         Likewise.
1940         * testsuite/23_containers/unordered_multimap/modifiers/extract.cc::
1941         Likewise.
1942         * testsuite/23_containers/unordered_multiset/modifiers/extract.cc::
1943         Likewise.
1944         * testsuite/23_containers/unordered_set/modifiers/extract.cc:
1945         Likewise.
1946         * testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc:
1947         Likewise.
1948         * testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
1949         * testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
1950         * testsuite/25_algorithms/lexicographical_compare/71545.cc: Likewise.
1951         * testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
1952         * testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
1953         * testsuite/libstdc++-prettyprinters/cxx11.cc: Likewise.
1954         * testsuite/libstdc++-prettyprinters/cxx17.cc: Likewise.
1955         * testsuite/libstdc++-prettyprinters/debug.cc: Likewise.
1956         * testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Likewise.
1957         * testsuite/libstdc++-prettyprinters/libfundts.cc: Likewise.
1958         * testsuite/libstdc++-prettyprinters/simple.cc: Likewise.
1959         * testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
1960         * testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
1962 2017-01-13  Jonathan Wakely  <jwakely@redhat.com>
1964         PR libstdc++/65411
1965         * config/io/basic_file_stdio.cc (__basic_file<char>::close()): Don't
1966         retry fclose on EINTR.
1968         * include/profile/base.h: Remove unused header that leads to header
1969         cycle in C++17 mode.
1971         PR libstdc++/79075
1972         * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
1973         Make _If_sv private.
1974         [!_GLIBCXX_USE_CXX11_ABI] (basic_string): Add member functions taking
1975         basic_string_view arguments.
1977         PR libstdc++/79075
1978         * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Remove
1979         redundant option from cxxflags.
1980         (check_effective_target_cxx11-abi): Define.
1981         * testsuite/21_strings/basic_string/allocator/71964.cc: Use cxx11-abi
1982         effective target.
1983         * testsuite/21_strings/basic_string/allocator/char/copy.cc: Likewise.
1984         * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
1985         Likewise.
1986         * testsuite/21_strings/basic_string/allocator/char/minimal.cc:
1987         Likewise.
1988         * testsuite/21_strings/basic_string/allocator/char/move.cc: Likewise.
1989         * testsuite/21_strings/basic_string/allocator/char/move_assign.cc:
1990         Likewise.
1991         * testsuite/21_strings/basic_string/allocator/char/noexcept.cc:
1992         Likewise.
1993         * testsuite/21_strings/basic_string/allocator/char/swap.cc: Likewise.
1994         * testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
1995         Likewise.
1996         * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
1997         Likewise.
1998         * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
1999         Likewise.
2000         * testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
2001         Likewise.
2002         * testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
2003         Likewise.
2004         * testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
2005         Likewise.
2006         * testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
2007         Likewise.
2008         * testsuite/23_containers/list/61347.cc: Likewise.
2009         * testsuite/27_io/basic_fstream/cons/base.cc: Likewise.
2010         * testsuite/27_io/ios_base/failure/cxx11.cc: Likewise.
2012 2017-01-13  Ville Voutilainen  <ville.voutilainen@gmail.com>
2014         PR libstdc++/78389
2015         * include/bits/list.tcc (merge(list&&)):
2016         Adjust list sizes if the comparator throws.
2017         (merge(list&&, _StrictWeakOrdering)): Likewise.
2018         (sort()): Splice elements back from the scratch buffers
2019         if the comparator throws.
2020         (sort(_StrictWeakOrdering)): Likewise.
2021         * testsuite/23_containers/list/operations/78389.cc: New.
2023 2017-01-13  Jonathan Wakely  <jwakely@redhat.com>
2025         * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Mark
2026         XFAIL for C++17 until node reinsertion supports fancy pointers.
2028         PR libstdc++/78361
2029         * testsuite/20_util/add_pointer/value.cc: Test forming function
2030         pointers.
2032 2017-01-13  Michael Brune  <lucdanton@free.fr>
2034         PR libstdc++/78361
2035         * include/std/type_traits (__is_referenceable): Handle noexcept
2036         function types.
2038 2017-01-12  Jonathan Wakely  <jwakely@redhat.com>
2040         PR libstdc++/77528
2041         * include/bits/stl_queue.h (queue, priority_queue): Remove default
2042         member-initializers and define default constructors as templates with
2043         constraints.
2044         * include/bits/stl_stack.h (stack): Likewise.
2045         * testsuite/23_containers/priority_queue/requirements/constructible.cc:
2046         New.
2047         * testsuite/23_containers/priority_queue/requirements/
2048         explicit_instantiation/1.cc: Test more instantiations.
2049         * testsuite/23_containers/priority_queue/requirements/
2050         explicit_instantiation/1_c++98.cc: Likewise.
2051         * testsuite/23_containers/queue/requirements/constructible.cc: New.
2052         * testsuite/23_containers/stack/requirements/constructible.cc: New.
2054         PR libstdc++/66284
2055         * doc/xml/manual/intro.xml: Document LWG 2781 change.
2056         * doc/html/*: Regenerate.
2057         * include/std/functional (_Function_base::_Ref_manager): Remove.
2058         (_Function_handler): Remove partial specializations for
2059         reference_wrapper.
2060         (function::target): Remove special case for const qualification.
2061         * testsuite/20_util/function/6.cc: Adjust tests for target type.
2062         * testsuite/20_util/function/7.cc: Likewise.
2063         * testsuite/20_util/function/8.cc: Likewise.
2065 2017-01-11  Jonathan Wakely  <jwakely@redhat.com>
2067         PR libstdc++/78134
2068         * include/bits/stl_map.h (map::lower_bound, map::upper_bound)
2069         (map::equal_range): Fix return type of heterogeneous overloads.
2070         * include/bits/stl_multimap.h (multimap::lower_bound)
2071         (multimap::upper_bound, multimap::equal_range): Likewise.
2072         * include/bits/stl_multiset.h (multiset::lower_bound)
2073         (multiset::upper_bound, multiset::equal_range): Likewise.
2074         * include/bits/stl_set.h (set::lower_bound, set::upper_bound)
2075         (set::equal_range): Likewise.
2076         * testsuite/23_containers/map/operations/2.cc
2077         * testsuite/23_containers/multimap/operations/2.cc
2078         * testsuite/23_containers/multiset/operations/2.cc
2079         * testsuite/23_containers/set/operations/2.cc
2081         PR libstdc++/78273
2082         * include/bits/stl_map.h (map::count<_Kt>(const _Kt&)): Don't assume
2083         the heterogeneous comparison can only find one match.
2084         * include/bits/stl_set.h (set::count<_Kt>(const _Kt&)): Likewise.
2085         * testsuite/23_containers/map/operations/2.cc: Test count works with
2086         comparison function that just partitions rather than sorting.
2087         * testsuite/23_containers/set/operations/2.cc: Likewise.
2089 2017-01-11  Ville Voutilainen  <ville.voutilainen@gmail.com>
2091         Reduce the size of variant, it doesn't need an index of
2092         type size_t internally.
2093         * include/std/variant (parse_numbers.h): New include.
2094         (__select_index): New.
2095         (_Variant_storage<false, _Types...>::_M_reset_impl): Use
2096         _index_type for comparison with variant_npos.
2097         (_Variant_storage<false, _Types...>::__index_type): New.
2098         (_Variant_storage<false, _Types...>::_M_index): Change the
2099         type from size_t to __index_type.
2100         (_Variant_storage<true, _Types...>::__index_type): New.
2101         (_Variant_storage<true, _Types...>::_M_index): Change the
2102         type from size_t to __index_type.
2103         (_Variant_base::_M_valid): Use _Storage::__index_type
2104         for comparison with variant_npos.
2105         (variant::index): Use _Base::_Storage::__index_type
2106         for comparison with variant_npos.
2107         * testsuite/20_util/variant/index_type.cc: New.
2109 2017-01-10  Jonathan Wakely  <jwakely@redhat.com>
2111         * testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust
2112         effective target selector to prevent running in C++17 mode.
2114         PR libstdc++/77528
2115         * include/bits/stl_queue.h (queue::c): Add default member initializer.
2116         (queue::queue()): Add constructor and define as defaulted.
2117         (queue::queue(_Sequence&&)): Remove default argument.
2118         (priority_queue::c, priority_queue::comp): Add default member
2119         initializers.
2120         (priority_queue::priority_queue()): Add constructor and define as
2121         defaulted.
2122         (priority_queue::priority_queue(const _Compare&, _Sequence&&)):
2123         Remove default argument for first parameter.
2124         * include/bits/stl_stack.h (stack::c): Add default member initializer.
2125         (stack::stack()): Add constructor and define as defaulted.
2126         (stack::stack(const _Sequence&)): Remove default argument.
2127         * testsuite/23_containers/priority_queue/requirements/
2128         explicit_instantiation/1.cc: Test explicit instantiation with
2129         non-DefaultConstructible sequence.
2130         * testsuite/23_containers/priority_queue/77528.cc: New test.
2131         * testsuite/23_containers/priority_queue/requirements/
2132         explicit_instantiation/1_c++0x.cc: Replace with 1_c++98.cc.
2133         * testsuite/23_containers/queue/77528.cc: New test.
2134         * testsuite/23_containers/queue/requirements/explicit_instantiation/
2135         1.cc: Test explicit instantiation with non-DefaultConstructible
2136         sequence.
2137         * testsuite/23_containers/queue/requirements/explicit_instantiation/
2138         1_c++0x.cc: Replace with 1_c++98.cc.
2139         * testsuite/23_containers/stack/77528.cc: New test.
2140         * testsuite/23_containers/stack/requirements/explicit_instantiation/
2141         1.cc: Test explicit instantiation with non-DefaultConstructible
2142         sequence.
2143         * testsuite/23_containers/stack/requirements/explicit_instantiation/
2144         1_c++0x.cc: Replace with 1_c++98.cc.
2146 2017-01-10  Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
2148         * include/bits/locale_facets_nonio.tcc
2149         (time_get::_M_extract_via_format): Avoid compilation errors with
2150         non-standard struct tm.
2152 2017-01-10  François Dumont  <fdumont@gcc.gnu.org>
2153             Jonathan Wakely  <jwakely@redhat.com>
2155         * python/libstdcxx/v6/printers.py (_versioned_namespace): Define.
2156         (is_specialization, strip_versioned_namespace): New helpers functions
2157         to work with symbols in the versioned namespace.
2158         (Printer.add_version): Add second name using versioned namespace.
2159         (add_one_template_type_printer, add_one_type_printer): Add second
2160         type printers using versioned namespace.
2161         (register_type_printers): Add template type printer for basic_string.
2162         (build_libstdcxx_dictionary): Remove dead code.
2163         * python/libstdcxx/v6/xmethods.py: Make all matchers look for
2164         versioned namespace.
2165         * testsuite/libstdc++-prettyprinters/48362.cc: Adjust expected
2166         results.
2167         * testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
2169 2017-01-09  Jonathan Wakely  <jwakely@redhat.com>
2171         PR libstdc++/79017
2172         * acinclude.m4 (GLIBCXX_CHECK_C99_TR1): Check for llrint and llround
2173         functions separately on darwin and if they're missing define
2174         _GLIBCXX_NO_C99_ROUNDING_FUNCS.
2175         * config.h.in: Regenerate.
2176         * configure: Regenerate.
2177         * include/c_global/cmath [_GLIBCXX_NO_C99_ROUNDING_FUNCS] (llrint)
2178         (llrintf, llrintl, llround, llroundf, llroundl): Do not define.
2180         * testsuite/30_threads/condition_variable/members/3.cc: Use new macro
2181         to detect correct thread_local destructors.
2182         * testsuite/util/testsuite_hooks.h (CORRECT_THREAD_LOCAL_DTORS):
2183         Define.
2185 2017-01-09  Jonathan Wakely  <jwakely@redhat.com>
2186             Aditya Kumar  <hiraditya@msn.com>
2188         PR libstdc++/66414
2189         * include/bits/basic_string.tcc
2190         (basic_string::find(const CharT*, size_type, size_type)): Optimize.
2192 2017-01-06  Jonathan Wakely  <jwakely@redhat.com>
2194         * testsuite/21_strings/basic_string/operations/find/char/6.cc: New.
2195         * testsuite/21_strings/basic_string/operations/find/wchar_t/6.cc: New.
2197         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp:
2198         Include <cassert> header.
2200         PR libstdc++/78968
2201         * crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
2202         * configure: Regenerate.
2204 2017-01-06  Barrett Adair  <barrettellisadair@gmail.com>
2205             Jonathan Wakely  <jwakely@redhat.com>
2207         * include/std/variant (variant, swap): Replace __and_ usage with fold
2208         expressions.
2210 2017-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2212         PR go/78978
2213         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove.
2214         * configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of
2215         GLIBCXX_CHECK_ASSEMBLER_HWCAP.
2216         * fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of
2217         HWCAP_FLAGS.
2218         * aclocal.m4: Regenerate.
2219         * configure: Regenerate.
2220         * Makefile.in, doc/Makefile.in, include/Makefile.in,
2221         libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
2222         src/Makefile.in, src/c++11/Makefile.in, src/c++98/Makefile.in,
2223         src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
2225 2017-01-06  Jonathan Wakely  <jwakely@redhat.com>
2227         * include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
2229         PR libstdc++/78991
2230         * include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
2231         (_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
2232         (_Iter_comp_to_iter, _Iter_negate): Make constructors explicit and
2233         move function objects.
2234         (__iter_comp_iter, __iter_comp_val, __val_comp_iter, __pred_iter)
2235         (__iter_comp_val, __iter_comp_iter, __negate): Move function objects.
2236         * testsuite/25_algorithms/sort/78991.cc: New test.
2238 2017-01-05  Jonathan Wakely  <jwakely@redhat.com>
2240         * include/bits/std_function.h (function::_Signature_type): Remove.
2241         (function::function(_Functor)): Adjust.
2243 2017-01-05  Tim Shen  <timshen@google.com>
2245         PR libstdc++/78996
2246         * include/std/variant (__gen_vtable_impl): rename __unused to
2247         __dimensions to avoid naming conflict.
2249 2017-01-04  Jonathan Wakely  <jwakely@redhat.com>
2251         PR libstdc++/78968
2252         * config.h.in: Regenerate.
2253         * configure: Likewise.
2254         * configure.ac: Check for __cxa_thread_atexit.
2255         * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
2256         Don't define __cxa_thread_atexit if libc provides it.
2258 2017-01-04  Ville Voutilainen  <ville.voutilainen@gmail.com>
2260         Implement 2801, Default-constructibility of unique_ptr.
2261         * include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
2262         (unique_ptr::_DeleterConstraint): Likewise.
2263         (unique_ptr()): Constrain.
2264         (unique_ptr(pointer)): Likewise.
2265         (unique_ptr(nullptr_t)): Likewise.
2266         (unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
2267         (unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
2268         (unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
2269         (unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
2270         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
2271         * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
2272         * testsuite/20_util/unique_ptr/cons/default.cc: New.
2273         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
2275 2017-01-04  Pauli Nieminen  <suokkos@gmail.com>
2276             Jonathan Wakely  <jwakely@redhat.com>
2278         PR libstdc++/64735
2279         * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
2280         * config.h.in: Regenerate.
2281         * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
2282         (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
2283         exports for exception_ptr, nested_exception, and future conditional.
2284         [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
2285         exports for exception_ptr, nested_exception, and future conditional.
2286         * configure: Regenerate.
2287         * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
2288         * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
2289         * libsupc++/eh_atomics.h: New file for internal use only.
2290         (__eh_atomic_inc, __eh_atomic_dec): New.
2291         * libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
2292         (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
2293         (rethrow_exception): Use eh_atomics.h reference counting helpers.
2294         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
2295         * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
2296         * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
2297         * libsupc++/exception_ptr.h: Likewise.
2298         * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
2299         * libsupc++/nested_exception.cc: Remove check for
2300         ATOMIC_INT_LOCK_FREE.
2301         * libsupc++/nested_exception.h: Likewise.
2302         * src/c++11/future.cc: Likewise.
2303         * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
2304         * testsuite/18_support/nested_exception/*: Likewise.
2305         * testsuite/30_threads/async/*: Likewise.
2306         * testsuite/30_threads/future/*: Likewise.
2307         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
2308         * testsuite/30_threads/packaged_task/*: Likewise.
2309         * testsuite/30_threads/promise/*: Likewise.
2310         * testsuite/30_threads/shared_future/*: Likewise.
2312 2017-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
2314         * doc/xml/manual/documentation_hacking.xml: sourceforge.net now
2315         defaults to https; adjust reference.
2317 2017-01-03  Jonathan Wakely  <jwakely@redhat.com>
2319         PR libstdc++/78956
2320         * include/std/thread (thread(const thread&&)): Add deleted
2321         constructor.
2322         * testsuite/30_threads/thread/cons/lwg2097.cc: New test.
2324         * doc/xml/manual/spine.xml: Update copyright years.
2325         * doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
2326         * doc/xml/manual/test.xml: Likewise.
2327         * doc/html/*: Regenerate.
2329 2017-01-01  Gerald Pfeifer  <gerald@pfeifer.com>
2331         * doc/xml/faq.xml: Update address of C++ ABI link.
2332         * doc/xml/manual/abi.xml: Ditto.
2334 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
2336         Update copyright years.
2338 Copyright (C) 2017 Free Software Foundation, Inc.
2340 Copying and distribution of this file, with or without modification,
2341 are permitted in any medium without royalty provided the copyright
2342 notice and this notice are preserved.