Implement TR29124 C++ special Math Functions.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
2 Jonathan Wakely <jwakely@redhat.com>
3 Florian Goth <CaptainSifff@gmx.de>
4
5 Implement TR29124 C++ special Math Functions.
6 * include/Makefile.am: Add new headers.
7 * include/Makefile.in: Regenerate.
8 * include/bits/specfun.h: New.
9 * include/c_global/cmath: Adjust for both tr1 and tr29124 maths.
10 * include/tr1/bessel_function.tcc: Ditto.
11 * include/tr1/beta_function.tcc: Ditto.
12 * include/tr1/cmath: Ditto.
13 * include/tr1/ell_integral.tcc: Ditto.
14 * include/tr1/exp_integral.tcc: Ditto.
15 * include/tr1/gamma.tcc: Ditto.
16 * include/tr1/hypergeometric.tcc: Ditto.
17 * include/tr1/legendre_function.tcc: Ditto.
18 * include/tr1/modified_bessel_func.tcc: Ditto.
19 * include/tr1/poly_hermite.tcc: Ditto.
20 * include/tr1/poly_laguerre.tcc: Ditto.
21 * include/tr1/riemann_zeta.tcc: Ditto.
22 * include/tr1/special_function_util.h: Ditto.
23 * testsuite/ext/special_functions/conf_hyperg: New.
24 * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New.
25 * testsuite/ext/special_functions/conf_hyperg/check_value.cc: New.
26 * testsuite/ext/special_functions/conf_hyperg/compile.cc: New.
27 * testsuite/ext/special_functions/hyperg: New.
28 * testsuite/ext/special_functions/hyperg/check_nan.cc: New.
29 * testsuite/ext/special_functions/hyperg/check_value.cc: New.
30 * testsuite/ext/special_functions/hyperg/compile.cc: New.
31 * testsuite/libstdc++-dg/conformance.exp: Add special_functions directory.
32 * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New.
33 * testsuite/special_functions/01_assoc_laguerre/check_value.cc: New.
34 * testsuite/special_functions/01_assoc_laguerre/compile.cc: New.
35 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New.
36 * testsuite/special_functions/02_assoc_legendre/check_nan.cc: New.
37 * testsuite/special_functions/02_assoc_legendre/check_value.cc: New.
38 * testsuite/special_functions/02_assoc_legendre/compile.cc: New.
39 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: New.
40 * testsuite/special_functions/03_beta/check_nan.cc: New.
41 * testsuite/special_functions/03_beta/check_value.cc: New.
42 * testsuite/special_functions/03_beta/compile.cc: New.
43 * testsuite/special_functions/03_beta/compile_2.cc: New.
44 * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New.
45 * testsuite/special_functions/04_comp_ellint_1/check_value.cc: New.
46 * testsuite/special_functions/04_comp_ellint_1/compile.cc: New.
47 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New.
48 * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New.
49 * testsuite/special_functions/05_comp_ellint_2/check_value.cc: New.
50 * testsuite/special_functions/05_comp_ellint_2/compile.cc: New.
51 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New.
52 * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New.
53 * testsuite/special_functions/06_comp_ellint_3/check_value.cc: New.
54 * testsuite/special_functions/06_comp_ellint_3/compile.cc: New.
55 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New.
56 * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New.
57 * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New.
58 * testsuite/special_functions/07_cyl_bessel_i/compile.cc: New.
59 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New.
60 * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New.
61 * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New.
62 * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New.
63 * testsuite/special_functions/08_cyl_bessel_j/compile.cc: New.
64 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New.
65 * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New.
66 * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New.
67 * testsuite/special_functions/09_cyl_bessel_k/compile.cc: New.
68 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New.
69 * testsuite/special_functions/10_cyl_neumann/check_nan.cc: New.
70 * testsuite/special_functions/10_cyl_neumann/check_value.cc: New.
71 * testsuite/special_functions/10_cyl_neumann/compile.cc: New.
72 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: New.
73 * testsuite/special_functions/11_ellint_1/check_nan.cc: New.
74 * testsuite/special_functions/11_ellint_1/check_value.cc: New.
75 * testsuite/special_functions/11_ellint_1/compile.cc: New.
76 * testsuite/special_functions/11_ellint_1/compile_2.cc: New.
77 * testsuite/special_functions/12_ellint_2/check_nan.cc: New.
78 * testsuite/special_functions/12_ellint_2/check_value.cc: New.
79 * testsuite/special_functions/12_ellint_2/compile.cc: New.
80 * testsuite/special_functions/12_ellint_2/compile_2.cc: New.
81 * testsuite/special_functions/13_ellint_3/check_nan.cc: New.
82 * testsuite/special_functions/13_ellint_3/check_value.cc: New.
83 * testsuite/special_functions/13_ellint_3/compile.cc: New.
84 * testsuite/special_functions/13_ellint_3/compile_2.cc: New.
85 * testsuite/special_functions/14_expint/check_nan.cc: New.
86 * testsuite/special_functions/14_expint/check_value.cc: New.
87 * testsuite/special_functions/14_expint/compile.cc: New.
88 * testsuite/special_functions/14_expint/compile_2.cc: New.
89 * testsuite/special_functions/15_hermite/check_nan.cc: New.
90 * testsuite/special_functions/15_hermite/check_value.cc: New.
91 * testsuite/special_functions/15_hermite/compile.cc: New.
92 * testsuite/special_functions/15_hermite/compile_2.cc: New.
93 * testsuite/special_functions/16_laguerre/check_nan.cc: New.
94 * testsuite/special_functions/16_laguerre/check_value.cc: New.
95 * testsuite/special_functions/16_laguerre/compile.cc: New.
96 * testsuite/special_functions/16_laguerre/compile_2.cc: New.
97 * testsuite/special_functions/17_legendre/check_nan.cc: New.
98 * testsuite/special_functions/17_legendre/check_value.cc: New.
99 * testsuite/special_functions/17_legendre/compile.cc: New.
100 * testsuite/special_functions/17_legendre/compile_2.cc: New.
101 * testsuite/special_functions/18_riemann_zeta/check_nan.cc: New.
102 * testsuite/special_functions/18_riemann_zeta/check_value.cc: New.
103 * testsuite/special_functions/18_riemann_zeta/compile.cc: New.
104 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: New.
105 * testsuite/special_functions/19_sph_bessel/check_nan.cc: New.
106 * testsuite/special_functions/19_sph_bessel/check_value.cc: New.
107 * testsuite/special_functions/19_sph_bessel/compile.cc: New.
108 * testsuite/special_functions/19_sph_bessel/compile_2.cc: New.
109 * testsuite/special_functions/20_sph_legendre/check_nan.cc: New.
110 * testsuite/special_functions/20_sph_legendre/check_value.cc: New.
111 * testsuite/special_functions/20_sph_legendre/compile.cc: New.
112 * testsuite/special_functions/20_sph_legendre/compile_2.cc: New.
113 * testsuite/special_functions/21_sph_neumann/check_nan.cc: New.
114 * testsuite/special_functions/21_sph_neumann/check_value.cc: New.
115 * testsuite/special_functions/21_sph_neumann/compile.cc: New.
116 * testsuite/special_functions/21_sph_neumann/compile_2.cc: New.
117 * testsuite/util/specfun_testcase.h: New.
118 * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases.
119 * testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto.
120 * testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto.
121 * testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto.
122 * testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto.
123 * testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto.
124 * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New.
125
126 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
127
128 PR libstdc++/48891
129 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
130 and isnan functions.
131 * config.h.in: Regenerate.
132 * configure: Regenerate.
133 * include/c_global/cmath (isinf(double), isnan(double))
134 [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
135 * testsuite/26_numerics/headers/cmath/48891.cc: New.
136
137 2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
138
139 PR libstdc++/66006
140 * configure.host (abi_baseline_pair): Use separate baseline for
141 Solaris 11+ and Solaris 10 with gld.
142 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file.
143 * config/abi/post/solaris2.11/baseline_symbols.txt: New file.
144 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file.
145
146 2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
147
148 PR libstdc++/68877
149 * include/std/type_traits: Following N4511, reimplement __is_swappable
150 and __is_nothrow_swappable. Move __is_swappable to namespace std,
151 adjust callers. Use __is_nothrow_swappable in swap.
152 * include/bits/move.h: Use __is_nothrow_swappable in swap.
153 * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
154 __is_swappable related tests.
155 * testsuite/20_util/is_swappable/value.cc: New.
156 * testsuite/20_util/is_swappable/requirements/
157 explicit_instantiation.cc: New.
158 * testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
159 * testsuite/25_algorithms/swap/68877.cc: New.
160
161 2016-01-12 Jonathan Wakely <jwakely@redhat.com>
162
163 * testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
164
165 PR libstdc++/69005
166 PR libstdc++/69222
167 * include/std/functional (function::_Invoke): Remove, use result_of.
168 (function::_Callable): Replace alias template with class template
169 and use partial specialization instead of _NotSelf alias template.
170 (function(_Functor)): Add "not self" constraint so that _Callable is
171 not used while type is incomplete.
172 * testsuite/20_util/function/69222.cc: New.
173
174 2016-01-11 Jonathan Wakely <jwakely@redhat.com>
175
176 PR libstdc++/60976
177 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
178 Define partial specialization.
179 * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
180 destroy members to std::allocator explicit specialization.
181
182 2016-01-08 Jonathan Wakely <jwakely@redhat.com>
183
184 * testsuite/26_numerics/headers/cmath/
185 c99_classification_macros_c++.cc: Rename to ...
186 * testsuite/26_numerics/headers/cmath/
187 c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
188 * testsuite/26_numerics/headers/cmath/
189 c99_classification_macros_c++0x.cc: Rename to ...
190 * testsuite/26_numerics/headers/cmath/
191 c99_classification_macros_c++11.cc: Here.
192
193 PR libstdc++/69190
194 * include/bits/uses_allocator.h: Add missing include.
195
196 2016-01-07 Jonathan Wakely <jwakely@redhat.com>
197
198 PR libstdc++/69105
199 PR libstdc++/69106
200 PR libstdc++/69114
201 * include/bits/stl_iterator.h (back_insert_iterator,
202 front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
203 * include/bits/uses_allocator.h (__use_alloc): Use __addressof.
204 * include/std/future (__future::base::_State_baseV2::__setter):
205 Likewise.
206 * include/std/scoped_allocator (__outermost): Likewise.
207 * testsuite/20_util/scoped_allocator/69114.cc: New.
208 * testsuite/20_util/uses_allocator/69114.cc: New.
209 * testsuite/30_threads/promise/69106.cc: New.
210
211 2016-01-06 Jonathan Wakely <jwakely@redhat.com>
212
213 PR libstdc++/69092
214 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
215 Remove _GLIBCXX_NOEXCEPT.
216 testsuite/21_strings/basic_string/cons/char/69092.cc: New.
217
218 * include/Makefile.am: Adjust.
219 * include/Makefile.in: Regenerate.
220 * include/bits/mutex.h: Rename to bits/std_mutex.h.
221 * include/std/condition_variable: Adjust include.
222 * include/std/mutex: Likewise.
223
224 2016-01-04 Jakub Jelinek <jakub@redhat.com>
225
226 Update copyright years.
227 \f
228 Copyright (C) 2016 Free Software Foundation, Inc.
229
230 Copying and distribution of this file, with or without modification,
231 are permitted in any medium without royalty provided the copyright
232 notice and this notice are preserved.