re PR libstdc++/78996 (<variant> uses macro as name)
[gcc.git] / libstdc++-v3 / ChangeLog
1 2017-01-05 Tim Shen <timshen@google.com>
2
3 PR libstdc++/78996
4 * include/std/variant (__gen_vtable_impl): rename __unused to
5 __dimensions to avoid naming conflict.
6
7 2017-01-04 Jonathan Wakely <jwakely@redhat.com>
8
9 PR libstdc++/78968
10 * config.h.in: Regenerate.
11 * configure: Likewise.
12 * configure.ac: Check for __cxa_thread_atexit.
13 * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
14 Don't define __cxa_thread_atexit if libc provides it.
15
16 2017-01-04 Ville Voutilainen <ville.voutilainen@gmail.com>
17
18 Implement 2801, Default-constructibility of unique_ptr.
19 * include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
20 (unique_ptr::_DeleterConstraint): Likewise.
21 (unique_ptr()): Constrain.
22 (unique_ptr(pointer)): Likewise.
23 (unique_ptr(nullptr_t)): Likewise.
24 (unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
25 (unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
26 (unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
27 (unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
28 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
29 * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
30 * testsuite/20_util/unique_ptr/cons/default.cc: New.
31 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
32
33 2017-01-04 Pauli Nieminen <suokkos@gmail.com>
34 Jonathan Wakely <jwakely@redhat.com>
35
36 PR libstdc++/64735
37 * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
38 * config.h.in: Regenerate.
39 * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
40 (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
41 exports for exception_ptr, nested_exception, and future conditional.
42 [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
43 exports for exception_ptr, nested_exception, and future conditional.
44 * configure: Regenerate.
45 * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
46 * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
47 * libsupc++/eh_atomics.h: New file for internal use only.
48 (__eh_atomic_inc, __eh_atomic_dec): New.
49 * libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
50 (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
51 (rethrow_exception): Use eh_atomics.h reference counting helpers.
52 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
53 * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
54 * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
55 * libsupc++/exception_ptr.h: Likewise.
56 * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
57 * libsupc++/nested_exception.cc: Remove check for
58 ATOMIC_INT_LOCK_FREE.
59 * libsupc++/nested_exception.h: Likewise.
60 * src/c++11/future.cc: Likewise.
61 * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
62 * testsuite/18_support/nested_exception/*: Likewise.
63 * testsuite/30_threads/async/*: Likewise.
64 * testsuite/30_threads/future/*: Likewise.
65 * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
66 * testsuite/30_threads/packaged_task/*: Likewise.
67 * testsuite/30_threads/promise/*: Likewise.
68 * testsuite/30_threads/shared_future/*: Likewise.
69
70 2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
71
72 * doc/xml/manual/documentation_hacking.xml: sourceforge.net now
73 defaults to https; adjust reference.
74
75 2017-01-03 Jonathan Wakely <jwakely@redhat.com>
76
77 PR libstdc++/78956
78 * include/std/thread (thread(const thread&&)): Add deleted
79 constructor.
80 * testsuite/30_threads/thread/cons/lwg2097.cc: New test.
81
82 * doc/xml/manual/spine.xml: Update copyright years.
83 * doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
84 * doc/xml/manual/test.xml: Likewise.
85 * doc/html/*: Regenerate.
86
87 2017-01-01 Gerald Pfeifer <gerald@pfeifer.com>
88
89 * doc/xml/faq.xml: Update address of C++ ABI link.
90 * doc/xml/manual/abi.xml: Ditto.
91
92 2017-01-01 Jakub Jelinek <jakub@redhat.com>
93
94 Update copyright years.
95 \f
96 Copyright (C) 2017 Free Software Foundation, Inc.
97
98 Copying and distribution of this file, with or without modification,
99 are permitted in any medium without royalty provided the copyright
100 notice and this notice are preserved.