compiler, runtime: drop size arguments to hash/equal functions
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob5d9f26d6a9b7b761a69e4dac67f502c2ef1a273a
1 2017-01-09  Jonathan Wakely  <jwakely@redhat.com>
3         PR libstdc++/79017
4         * acinclude.m4 (GLIBCXX_CHECK_C99_TR1): Check for llrint and llround
5         functions separately on darwin and if they're missing define
6         _GLIBCXX_NO_C99_ROUNDING_FUNCS.
7         * config.h.in: Regenerate.
8         * configure: Regenerate.
9         * include/c_global/cmath [_GLIBCXX_NO_C99_ROUNDING_FUNCS] (llrint)
10         (llrintf, llrintl, llround, llroundf, llroundl): Do not define.
12         * testsuite/30_threads/condition_variable/members/3.cc: Use new macro
13         to detect correct thread_local destructors.
14         * testsuite/util/testsuite_hooks.h (CORRECT_THREAD_LOCAL_DTORS):
15         Define.
17 2017-01-09  Jonathan Wakely  <jwakely@redhat.com>
18             Aditya Kumar  <hiraditya@msn.com>
20         PR libstdc++/66414
21         * include/bits/basic_string.tcc
22         (basic_string::find(const CharT*, size_type, size_type)): Optimize.
24 2017-01-06  Jonathan Wakely  <jwakely@redhat.com>
26         * testsuite/21_strings/basic_string/operations/find/char/6.cc: New.
27         * testsuite/21_strings/basic_string/operations/find/wchar_t/6.cc: New.
29         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp:
30         Include <cassert> header.
32         PR libstdc++/78968
33         * crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
34         * configure: Regenerate.
36 2017-01-06  Barrett Adair  <barrettellisadair@gmail.com>
37             Jonathan Wakely  <jwakely@redhat.com>
39         * include/std/variant (variant, swap): Replace __and_ usage with fold
40         expressions.
42 2017-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
44         PR go/78978
45         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove.
46         * configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of
47         GLIBCXX_CHECK_ASSEMBLER_HWCAP.
48         * fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of
49         HWCAP_FLAGS.
50         * aclocal.m4: Regenerate.
51         * configure: Regenerate.
52         * Makefile.in, doc/Makefile.in, include/Makefile.in,
53         libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
54         src/Makefile.in, src/c++11/Makefile.in, src/c++98/Makefile.in,
55         src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
57 2017-01-06  Jonathan Wakely  <jwakely@redhat.com>
59         * include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
61         PR libstdc++/78991
62         * include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
63         (_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
64         (_Iter_comp_to_iter, _Iter_negate): Make constructors explicit and
65         move function objects.
66         (__iter_comp_iter, __iter_comp_val, __val_comp_iter, __pred_iter)
67         (__iter_comp_val, __iter_comp_iter, __negate): Move function objects.
68         * testsuite/25_algorithms/sort/78991.cc: New test.
70 2017-01-05  Jonathan Wakely  <jwakely@redhat.com>
72         * include/bits/std_function.h (function::_Signature_type): Remove.
73         (function::function(_Functor)): Adjust.
75 2017-01-05  Tim Shen  <timshen@google.com>
77         PR libstdc++/78996
78         * include/std/variant (__gen_vtable_impl): rename __unused to
79         __dimensions to avoid naming conflict.
81 2017-01-04  Jonathan Wakely  <jwakely@redhat.com>
83         PR libstdc++/78968
84         * config.h.in: Regenerate.
85         * configure: Likewise.
86         * configure.ac: Check for __cxa_thread_atexit.
87         * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
88         Don't define __cxa_thread_atexit if libc provides it.
90 2017-01-04  Ville Voutilainen  <ville.voutilainen@gmail.com>
92         Implement 2801, Default-constructibility of unique_ptr.
93         * include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
94         (unique_ptr::_DeleterConstraint): Likewise.
95         (unique_ptr()): Constrain.
96         (unique_ptr(pointer)): Likewise.
97         (unique_ptr(nullptr_t)): Likewise.
98         (unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
99         (unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
100         (unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
101         (unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
102         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
103         * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
104         * testsuite/20_util/unique_ptr/cons/default.cc: New.
105         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
107 2017-01-04  Pauli Nieminen  <suokkos@gmail.com>
108             Jonathan Wakely  <jwakely@redhat.com>
110         PR libstdc++/64735
111         * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
112         * config.h.in: Regenerate.
113         * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
114         (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
115         exports for exception_ptr, nested_exception, and future conditional.
116         [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
117         exports for exception_ptr, nested_exception, and future conditional.
118         * configure: Regenerate.
119         * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
120         * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
121         * libsupc++/eh_atomics.h: New file for internal use only.
122         (__eh_atomic_inc, __eh_atomic_dec): New.
123         * libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
124         (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
125         (rethrow_exception): Use eh_atomics.h reference counting helpers.
126         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
127         * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
128         * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
129         * libsupc++/exception_ptr.h: Likewise.
130         * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
131         * libsupc++/nested_exception.cc: Remove check for
132         ATOMIC_INT_LOCK_FREE.
133         * libsupc++/nested_exception.h: Likewise.
134         * src/c++11/future.cc: Likewise.
135         * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
136         * testsuite/18_support/nested_exception/*: Likewise.
137         * testsuite/30_threads/async/*: Likewise.
138         * testsuite/30_threads/future/*: Likewise.
139         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
140         * testsuite/30_threads/packaged_task/*: Likewise.
141         * testsuite/30_threads/promise/*: Likewise.
142         * testsuite/30_threads/shared_future/*: Likewise.
144 2017-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
146         * doc/xml/manual/documentation_hacking.xml: sourceforge.net now
147         defaults to https; adjust reference.
149 2017-01-03  Jonathan Wakely  <jwakely@redhat.com>
151         PR libstdc++/78956
152         * include/std/thread (thread(const thread&&)): Add deleted
153         constructor.
154         * testsuite/30_threads/thread/cons/lwg2097.cc: New test.
156         * doc/xml/manual/spine.xml: Update copyright years.
157         * doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
158         * doc/xml/manual/test.xml: Likewise.
159         * doc/html/*: Regenerate.
161 2017-01-01  Gerald Pfeifer  <gerald@pfeifer.com>
163         * doc/xml/faq.xml: Update address of C++ ABI link.
164         * doc/xml/manual/abi.xml: Ditto.
165         
166 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
168         Update copyright years.
170 Copyright (C) 2017 Free Software Foundation, Inc.
172 Copying and distribution of this file, with or without modification,
173 are permitted in any medium without royalty provided the copyright
174 notice and this notice are preserved.