Build libgo with -Wa,-nH if possible (PR go/78978) [non-libgo parts]
[platform/upstream/gcc.git] / libstdc++-v3 / ChangeLog
1 2017-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2
3         PR go/78978
4         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove.
5         * configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of
6         GLIBCXX_CHECK_ASSEMBLER_HWCAP.
7         * fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of
8         HWCAP_FLAGS.
9         * aclocal.m4: Regenerate.
10         * configure: Regenerate.
11         * Makefile.in, doc/Makefile.in, include/Makefile.in,
12         libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
13         src/Makefile.in, src/c++11/Makefile.in, src/c++98/Makefile.in,
14         src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
15
16 2017-01-06  Jonathan Wakely  <jwakely@redhat.com>
17
18         * include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
19
20         PR libstdc++/78991
21         * include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
22         (_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
23         (_Iter_comp_to_iter, _Iter_negate): Make constructors explicit and
24         move function objects.
25         (__iter_comp_iter, __iter_comp_val, __val_comp_iter, __pred_iter)
26         (__iter_comp_val, __iter_comp_iter, __negate): Move function objects.
27         * testsuite/25_algorithms/sort/78991.cc: New test.
28
29 2017-01-05  Jonathan Wakely  <jwakely@redhat.com>
30
31         * include/bits/std_function.h (function::_Signature_type): Remove.
32         (function::function(_Functor)): Adjust.
33
34 2017-01-05  Tim Shen  <timshen@google.com>
35
36         PR libstdc++/78996
37         * include/std/variant (__gen_vtable_impl): rename __unused to
38         __dimensions to avoid naming conflict.
39
40 2017-01-04  Jonathan Wakely  <jwakely@redhat.com>
41
42         PR libstdc++/78968
43         * config.h.in: Regenerate.
44         * configure: Likewise.
45         * configure.ac: Check for __cxa_thread_atexit.
46         * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
47         Don't define __cxa_thread_atexit if libc provides it.
48
49 2017-01-04  Ville Voutilainen  <ville.voutilainen@gmail.com>
50
51         Implement 2801, Default-constructibility of unique_ptr.
52         * include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
53         (unique_ptr::_DeleterConstraint): Likewise.
54         (unique_ptr()): Constrain.
55         (unique_ptr(pointer)): Likewise.
56         (unique_ptr(nullptr_t)): Likewise.
57         (unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
58         (unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
59         (unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
60         (unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
61         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
62         * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
63         * testsuite/20_util/unique_ptr/cons/default.cc: New.
64         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
65
66 2017-01-04  Pauli Nieminen  <suokkos@gmail.com>
67             Jonathan Wakely  <jwakely@redhat.com>
68
69         PR libstdc++/64735
70         * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
71         * config.h.in: Regenerate.
72         * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
73         (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
74         exports for exception_ptr, nested_exception, and future conditional.
75         [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
76         exports for exception_ptr, nested_exception, and future conditional.
77         * configure: Regenerate.
78         * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
79         * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
80         * libsupc++/eh_atomics.h: New file for internal use only.
81         (__eh_atomic_inc, __eh_atomic_dec): New.
82         * libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
83         (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
84         (rethrow_exception): Use eh_atomics.h reference counting helpers.
85         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
86         * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
87         * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
88         * libsupc++/exception_ptr.h: Likewise.
89         * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
90         * libsupc++/nested_exception.cc: Remove check for
91         ATOMIC_INT_LOCK_FREE.
92         * libsupc++/nested_exception.h: Likewise.
93         * src/c++11/future.cc: Likewise.
94         * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
95         * testsuite/18_support/nested_exception/*: Likewise.
96         * testsuite/30_threads/async/*: Likewise.
97         * testsuite/30_threads/future/*: Likewise.
98         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
99         * testsuite/30_threads/packaged_task/*: Likewise.
100         * testsuite/30_threads/promise/*: Likewise.
101         * testsuite/30_threads/shared_future/*: Likewise.
102
103 2017-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
104
105         * doc/xml/manual/documentation_hacking.xml: sourceforge.net now
106         defaults to https; adjust reference.
107
108 2017-01-03  Jonathan Wakely  <jwakely@redhat.com>
109
110         PR libstdc++/78956
111         * include/std/thread (thread(const thread&&)): Add deleted
112         constructor.
113         * testsuite/30_threads/thread/cons/lwg2097.cc: New test.
114
115         * doc/xml/manual/spine.xml: Update copyright years.
116         * doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
117         * doc/xml/manual/test.xml: Likewise.
118         * doc/html/*: Regenerate.
119
120 2017-01-01  Gerald Pfeifer  <gerald@pfeifer.com>
121
122         * doc/xml/faq.xml: Update address of C++ ABI link.
123         * doc/xml/manual/abi.xml: Ditto.
124         
125 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
126
127         Update copyright years.
128 \f
129 Copyright (C) 2017 Free Software Foundation, Inc.
130
131 Copying and distribution of this file, with or without modification,
132 are permitted in any medium without royalty provided the copyright
133 notice and this notice are preserved.