Document C++17/TR29124 C++ Special Math Functions.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net>
2
3 Document C++17/TR29124 C++ Special Math Functions.
4 * include/bits/specfun.h: Add Doxygen markup.
5
6 2016-04-07 Jonathan Wakely <jwakely@redhat.com>
7
8 * testsuite/30_threads/thread/70503.cc: Adjust from xfail to pass.
9
10 2016-04-06 Eric Botcazou <ebotcazou@adacore.com>
11
12 * src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null.
13 * src/Makefile.in: Regenerate.
14
15 2016-04-05 Jonathan Wakely <jwakely@redhat.com>
16
17 PR libstdc++/70554
18 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test
19 __atomic_fetch_add for bool.
20 * configure: Regenerate.
21
22 * testsuite/30_threads/thread/70503.cc: Require -static to work.
23
24 PR libstdc++/70503
25 * src/c++11/thread.cc (execute_native_thread_routine,
26 execute_native_thread_routine_compat): Give internal linkage.
27 * testsuite/30_threads/thread/70503.cc: New test.
28
29 2016-04-05 Ville Voutilainen <ville.voutilainen@gmail.com>
30
31 PR libstdc++/70437
32 * include/bits/stl_pair.h (_ConstructiblePair,
33 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
34 _ImplicitlyMoveConvertiblePair): Add shortcut conditions
35 for same-type cases.
36 * testsuite/20_util/pair/70437.cc: New.
37
38 2016-03-24 Jonathan Wakely <jwakely@redhat.com>
39
40 PR libstdc++/69945
41 * config/abi/pre/gnu.ver: Add new symbol.
42 * libsupc++/eh_alloc.cc (__gnu_cxx::__freeres): Define.
43 * testsuite/18_support/free_eh_pool.cc: New test.
44
45 2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
46
47 * include/Makefile.am (install-freestanding-headers): Add
48 concept_check.h and move.h to the installed headers.
49 * include/Makefile.in: Regenerated.
50 * include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
51 freestanding implementations.
52 * doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
53 that this macro has no effect for freestanding implementations.
54 * doc/html/manual/using_macros.html: Likewise.
55
56 2016-02-24 Jonathan Wakely <jwakely@redhat.com>
57
58 PR libstdc++/69939
59 * include/experimental/tuple (__apply_impl): Qualify get and forward.
60
61 2016-02-23 Jonathan Wakely <jwakely@redhat.com>
62
63 * doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__.
64 * doc/html/*: Regenerate.
65
66 PR libstdc++/69893
67 * include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
68 exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
69 llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
70 nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
71 trunc) [__cplusplus >= 201103L]: Import from namespace std.
72 (fabs) [__cplusplus < 201103L]: Import from namespace std.
73 * include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
74 Likewise.
75 * testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
76 namespace before including TR1 headers.
77 * testsuite/tr1/headers/c++200x/math.cc: New test.
78
79 2016-02-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
80
81 PR libstdc++/69881
82 * include/c_global/cstdarg: Undefine __need___va_list.
83 * include/c_global/cstddef: Undefine all kinds of __need_*.
84
85 2016-02-16 Tim Shen <timshen@google.com>
86
87 PR libstdc++/69794
88 * include/bits/regex_scanner.h: Add different special character
89 sets for grep and egrep regex.
90 * include/bits/regex_scanner.tcc: Use _M_spec_char more uniformly.
91 * testsuite/28_regex/regression.cc: Add new testcase.
92
93 2016-02-08 Jonathan Wakely <jwakely@redhat.com>
94
95 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Remove accidentally
96 added 'constexpr' in previous commit.
97 * configure: Regenerate.
98
99 PR libstdc++/48891
100 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Enable isinf and isnan
101 checks for all targets except *-*-solaris2.* and ensure we find the
102 libc math.h header not our own.
103 * configure: Regenerate.
104
105 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
106
107 * config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt (FUNC):
108 New file. Copied over from s390-linux-gnu.
109
110 2016-02-04 Jonathan Wakely <jwakely@redhat.com>
111
112 PR libstdc++/69626
113 * acinclude.m4 (GLIBCXX_ENABLE_C99): Check C99 stdlib.h functions
114 with -std=c++98 and define _GLIBCXX98_USE_C99_STDLIB.
115 * config.h.in: Regenerate.
116 * configure: Regenerate.
117 * testsuite/21_strings/c_strings/char/69626.cc: New.
118
119 * doc/html/index.html: Regenerate.
120
121 * doc/xml/manual/containers.xml: Add cross-reference to Dual ABI.
122 * doc/xml/manual/spine.xml: Update copyright years and author blurb.
123 * doc/html/*: Regenerate.
124
125 2016-02-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
126
127 PR libstdc++/69581
128 * include/c_compatibility/math.h: Move header guards.
129 * include/c_compatibility/stdlib.h: Likewise.
130
131 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
132
133 PR libstdc++/69506
134 * config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
135
136 2016-01-28 John David Anglin <danglin@gcc.gnu.org>
137
138 PR libstdc++/69450
139 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete
140 isinf and isnan functions into two independent checks. Check on hpux.
141 * config.h.in: Regenerate.
142 * configure: Regenerate.
143 * include/c_global/cmath (isinf(double), isnan(double)): Use
144 _GLIBCXX_HAVE_OBSOLETE_ISINF and _GLIBCXX_HAVE_OBSOLETE_ISNAN,
145 respectively.
146
147 2016-01-27 Jakub Jelinek <jakub@redhat.com>
148
149 * testsuite/libstdc++-prettyprinters/whatis.cc: Include <random>.
150
151 2016-01-27 Jonathan Wakely <jwakely@redhat.com>
152
153 PR libstdc++/69295
154 * testsuite/ext/special_functions/hyperg/check_value.cc: Use
155 -ffp-contract=off, and -ffloat-store to disable excess precision.
156 * testsuite/special_functions/02_assoc_legendre/check_value.cc: Use
157 -ffp-contract=off.
158
159 2016-01-26 Jonathan Wakely <jwakely@redhat.com>
160
161 PR libstdc++/69478
162 * include/bits/stl_algobase.h (__copy_move<_IsMove, true,
163 random_access_iterator_tag>): Check is_move_assignable when moving.
164 (__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
165 Likewise.
166 * testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
167 * testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
168 * testsuite/25_algorithms/move/69478.cc: New.
169 * testsuite/25_algorithms/move_backward/69478.cc: new.
170
171 2016-01-26 Andris Pavenis <andris.pavenis@iki.fi>
172
173 * include/c_compatibility/stdlib.h: Include wide character related
174 definitions only when they are available in cstdlib.
175
176 2016-01-25 Jonathan Wakely <jwakely@redhat.com>
177
178 PR libstdc++/69464
179 * include/Makefile.am: Add new header.
180 * include/Makefile.in: Regenerate.
181 * include/bits/random.h (uniform_int_distribution): Move to
182 bits/uniform_int_dist.h.
183 * include/bits/random.tcc (uniform_int_distribution::operator(),
184 uniform_int_distribution::__generate_impl): Likewise.
185 * include/bits/uniform_int_dist.h: New header.
186 * include/bits/stl_algo.h [__cplusplus >= 201103L]: Include
187 <bits/uniform_int_dist.h> instead of <random>.
188 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
189 move_iterators/1.cc: Include correct header for uninitialized_copy.
190 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
191 move_iterators/1.cc: Likewise.
192 * testsuite/25_algorithms/nth_element/58800.cc: Include correct
193 header for vector.
194 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lines.
195
196 2016-01-23 John David Anglin <danglin@gcc.gnu.org>
197
198 PR libstdc++/69446
199 * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
200
201 2016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net>
202
203 TR29124 C++ Special Math - <math.h> pulls funcs into global namespace.
204 * include/c_compatibility/math.h: Import the TR29124 functions
205 into the global namespace.
206 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: Remove
207 xfail and make compile-only.
208 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: Ditto.
209 * testsuite/special_functions/03_beta/compile_2.cc: Ditto.
210 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Ditto.
211 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Ditto.
212 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Ditto.
213 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Ditto.
214 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Ditto.
215 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Ditto.
216 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: Ditto.
217 * testsuite/special_functions/11_ellint_1/compile_2.cc: Ditto.
218 * testsuite/special_functions/12_ellint_2/compile_2.cc: Ditto.
219 * testsuite/special_functions/13_ellint_3/compile_2.cc: Ditto.
220 * testsuite/special_functions/14_expint/compile_2.cc: Ditto.
221 * testsuite/special_functions/15_hermite/compile_2.cc: Ditto.
222 * testsuite/special_functions/16_laguerre/compile_2.cc: Ditto.
223 * testsuite/special_functions/17_legendre/compile_2.cc: Ditto.
224 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: Ditto.
225 * testsuite/special_functions/19_sph_bessel/compile_2.cc: Ditto.
226 * testsuite/special_functions/20_sph_legendre/compile_2.cc: Ditto.
227 * testsuite/special_functions/21_sph_neumann/compile_2.cc: Ditto.
228
229 2016-01-22 Jonathan Wakely <jwakely@redhat.com>
230
231 PR libstdc++/69116
232 * include/bits/valarray_before.h (__fun, __fun_with_valarray): Only
233 define result_type for types which can be safely used with valarrays.
234 * testsuite/26_numerics/valarray/69116.cc: New.
235
236 PR libstdc++/69413
237 * config/os/gnu-linux/os_defines.h: Define
238 _GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC.
239 * include/c_global/cmath (isinf, isnan): Check it.
240 * doc/xml/manual/internals.xml: Document it.
241 * doc/html/*: Regenerate.
242
243 2016-01-21 Jonathan Wakely <jwakely@redhat.com>
244
245 PR libstdc++/69406
246 * include/bits/cpp_type_traits.h: Ensure C++ language linkage.
247 * include/ext/type_traits.h: Likewise.
248 * testsuite/17_intro/headers/c++2011/linkage.cc: Check autoconf macros
249 for presence of C headers.
250 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Adjust
251 dg-error line number.
252 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
253 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
254 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
255
256 2016-01-20 Torvald Riegel <triegel@redhat.com>
257
258 PR libstdc++/69310
259 * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
260
261 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
262
263 PR libstdc++/60401
264 * include/c_compatibility/math.h (acosh, asinh, atanh, acbrt,
265 copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb,
266 lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
267 nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn,
268 tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]:
269 Add using declarations.
270 * testsuite/26_numerics/headers/cmath/60401.cc: New.
271
272 PR libstdc++/69386
273 * include/c_global/ccomplex: Ensure C++ language linkage.
274 * include/c_global/cmath: Likewise.
275 * include/c_global/cstdlib: Likewise.
276 * include/c_global/ctgmath: Likewise.
277 * testsuite/17_intro/headers/c++2011/linkage.cc: New.
278
279 2016-01-19 Jonathan Wakely <jwakely@redhat.com>
280
281 PR libstdc++/14608
282 PR libstdc++/60401
283 * include/Makefile.am: Use c_compatibility math.h and stdlib.h for
284 --enable-cheaders=c_global configs.
285 * include/Makefile.in: Regenerate.
286 * include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C
287 test and allow inclusion from C files.
288 * include/c_compatibility/stdlib.h: Likewise. Support freestanding.
289 (at_quick_exit, quick_exit): Add using directives.
290 * include/c_global/cmath: Use #include_next for math.h.
291 * include/c_global/cstdlib: Use #include_next for stdlib.h.
292 * testsuite/26_numerics/headers/cmath/14608.cc: New.
293 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
294 Remove xfail for most targets.
295 * testsuite/26_numerics/headers/cstdlib/60401.cc: New.
296
297 2016-01-18 Torvald Riegel <triegel@redhat.com>
298
299 * include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New.
300 (_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use _GLIBCXX_USE_WEAK_REF
301 and move after its definition.
302 * config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override.
303 * src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of
304 __GXX_WEAK__, and only provide transactional clones if
305 _GLIBCXX_USE_WEAK_REF is true. Don't provide stubs of libitm
306 functions.
307
308 2016-01-18 Jonathan Wakely <jwakely@redhat.com>
309
310 PR libstdc++/60637
311 * testsuite/26_numerics/headers/cmath/60637.cc: Add test.
312
313 PR libstdc++/69243
314 * include/std/functional (_Function_base::_M_not_empty_function):
315 Change overloads for pointers to take arguments by value.
316 * testsuite/20_util/function/cons/57465.cc: Add tests for
317 pointer-to-member cases.
318
319 PR libstdc++/69340
320 * src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions):
321 Use macros for exception handling and fix unused parameter warning.
322
323 2016-01-17 John David Anglin <danglin@gcc.gnu.org>
324
325 PR libstdc++/68734
326 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
327
328 2016-01-17 Torvald Riegel <triegel@redhat.com>
329
330 * src/c++11/cow-stdexcept.cc (txnal_read_ptr): Fix static_assert.
331
332 2016-01-16 H.J. Lu <hongjiu.lu@intel.com>
333
334 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Add
335 __int128 symbols.
336
337 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
338
339 PR libstdc++/69293
340 * include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add
341 static assertion that type is constructible from the arguments.
342 * testsuite/20_util/scoped_allocator/69293_neg.cc: New.
343 * testsuite/20_util/uses_allocator/69293_neg.cc: New.
344 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
345
346 PR libstdc++/69294
347 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
348 and isnan on AIX. Quote variables.
349 * configure: Regenerate.
350
351 2016-01-15 Torvald Riegel <triegel@redhat.com>
352
353 * include/bits/basic_string.h (basic_string): Declare friends.
354 * include/bits/c++config (_GLIBCXX_TXN_SAFE,
355 _GLIBCXX_TXN_SAFE_DYN, _GLIBCXX_USE_ALLOCATOR_NEW): New.
356 * include/std/stdexcept (logic_error, domain_error, invalid_argument,
357 length_error, out_of_range, runtime_error, range_error,
358 underflow_error, overflow_error): Declare members as transaction-safe.
359 (logic_error, runtime_error): Declare friend functions.
360 * libsupc++/exception (exception, bad_exception): Declare members as
361 transaction-safe.
362 * src/c++11/cow-stdexcept.cc: Define transactional clones for the
363 transaction-safe members of exceptions and helper functions.
364 * libsupc++/eh_exception.cc: Adjust and define transactional clones.
365 * config/abi/pre/gnu.ver (GLIBCXX_3.4.22) Add transactional clones.
366 (CXXABI_1.3.10): New.
367 * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): New.
368 (GLIBCXX_ENABLE_ALLOCATOR): Set ENABLE_ALLOCATOR_NEW.
369 * configure.ac: Call GLIBCXX_CHECK_SIZE_T_MANGLING.
370 * include/Makefile.am: Write ENABLE_ALLOCATOR_NEW to c++config.h.
371 * include/Makefile.in: Regenerate.
372 * config.h.in: Regenerate.
373 * configure: Regenerate.
374 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.10.
375
376 2016-01-15 Steve Ellcey <sellcey@imgtec.com>
377
378 * include/ext/random.tcc: Use __builtin_isfinite instead of
379 std::isfinite.
380
381 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
382
383 * include/bits/std_mutex.h: Fix Doxygen @file name.
384
385 2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
386 Jonathan Wakely <jwakely@redhat.com>
387 Florian Goth <CaptainSifff@gmx.de>
388
389 Implement TR29124 C++ special Math Functions.
390 * include/Makefile.am: Add new headers.
391 * include/Makefile.in: Regenerate.
392 * include/bits/specfun.h: New.
393 * include/c_global/cmath: Adjust for both tr1 and tr29124 maths.
394 * include/tr1/bessel_function.tcc: Ditto.
395 * include/tr1/beta_function.tcc: Ditto.
396 * include/tr1/cmath: Ditto.
397 * include/tr1/ell_integral.tcc: Ditto.
398 * include/tr1/exp_integral.tcc: Ditto.
399 * include/tr1/gamma.tcc: Ditto.
400 * include/tr1/hypergeometric.tcc: Ditto.
401 * include/tr1/legendre_function.tcc: Ditto.
402 * include/tr1/modified_bessel_func.tcc: Ditto.
403 * include/tr1/poly_hermite.tcc: Ditto.
404 * include/tr1/poly_laguerre.tcc: Ditto.
405 * include/tr1/riemann_zeta.tcc: Ditto.
406 * include/tr1/special_function_util.h: Ditto.
407 * testsuite/ext/special_functions/conf_hyperg: New.
408 * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New.
409 * testsuite/ext/special_functions/conf_hyperg/check_value.cc: New.
410 * testsuite/ext/special_functions/conf_hyperg/compile.cc: New.
411 * testsuite/ext/special_functions/hyperg: New.
412 * testsuite/ext/special_functions/hyperg/check_nan.cc: New.
413 * testsuite/ext/special_functions/hyperg/check_value.cc: New.
414 * testsuite/ext/special_functions/hyperg/compile.cc: New.
415 * testsuite/libstdc++-dg/conformance.exp: Add special_functions directory.
416 * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New.
417 * testsuite/special_functions/01_assoc_laguerre/check_value.cc: New.
418 * testsuite/special_functions/01_assoc_laguerre/compile.cc: New.
419 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New.
420 * testsuite/special_functions/02_assoc_legendre/check_nan.cc: New.
421 * testsuite/special_functions/02_assoc_legendre/check_value.cc: New.
422 * testsuite/special_functions/02_assoc_legendre/compile.cc: New.
423 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: New.
424 * testsuite/special_functions/03_beta/check_nan.cc: New.
425 * testsuite/special_functions/03_beta/check_value.cc: New.
426 * testsuite/special_functions/03_beta/compile.cc: New.
427 * testsuite/special_functions/03_beta/compile_2.cc: New.
428 * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New.
429 * testsuite/special_functions/04_comp_ellint_1/check_value.cc: New.
430 * testsuite/special_functions/04_comp_ellint_1/compile.cc: New.
431 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New.
432 * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New.
433 * testsuite/special_functions/05_comp_ellint_2/check_value.cc: New.
434 * testsuite/special_functions/05_comp_ellint_2/compile.cc: New.
435 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New.
436 * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New.
437 * testsuite/special_functions/06_comp_ellint_3/check_value.cc: New.
438 * testsuite/special_functions/06_comp_ellint_3/compile.cc: New.
439 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New.
440 * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New.
441 * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New.
442 * testsuite/special_functions/07_cyl_bessel_i/compile.cc: New.
443 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New.
444 * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New.
445 * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New.
446 * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New.
447 * testsuite/special_functions/08_cyl_bessel_j/compile.cc: New.
448 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New.
449 * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New.
450 * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New.
451 * testsuite/special_functions/09_cyl_bessel_k/compile.cc: New.
452 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New.
453 * testsuite/special_functions/10_cyl_neumann/check_nan.cc: New.
454 * testsuite/special_functions/10_cyl_neumann/check_value.cc: New.
455 * testsuite/special_functions/10_cyl_neumann/compile.cc: New.
456 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: New.
457 * testsuite/special_functions/11_ellint_1/check_nan.cc: New.
458 * testsuite/special_functions/11_ellint_1/check_value.cc: New.
459 * testsuite/special_functions/11_ellint_1/compile.cc: New.
460 * testsuite/special_functions/11_ellint_1/compile_2.cc: New.
461 * testsuite/special_functions/12_ellint_2/check_nan.cc: New.
462 * testsuite/special_functions/12_ellint_2/check_value.cc: New.
463 * testsuite/special_functions/12_ellint_2/compile.cc: New.
464 * testsuite/special_functions/12_ellint_2/compile_2.cc: New.
465 * testsuite/special_functions/13_ellint_3/check_nan.cc: New.
466 * testsuite/special_functions/13_ellint_3/check_value.cc: New.
467 * testsuite/special_functions/13_ellint_3/compile.cc: New.
468 * testsuite/special_functions/13_ellint_3/compile_2.cc: New.
469 * testsuite/special_functions/14_expint/check_nan.cc: New.
470 * testsuite/special_functions/14_expint/check_value.cc: New.
471 * testsuite/special_functions/14_expint/compile.cc: New.
472 * testsuite/special_functions/14_expint/compile_2.cc: New.
473 * testsuite/special_functions/15_hermite/check_nan.cc: New.
474 * testsuite/special_functions/15_hermite/check_value.cc: New.
475 * testsuite/special_functions/15_hermite/compile.cc: New.
476 * testsuite/special_functions/15_hermite/compile_2.cc: New.
477 * testsuite/special_functions/16_laguerre/check_nan.cc: New.
478 * testsuite/special_functions/16_laguerre/check_value.cc: New.
479 * testsuite/special_functions/16_laguerre/compile.cc: New.
480 * testsuite/special_functions/16_laguerre/compile_2.cc: New.
481 * testsuite/special_functions/17_legendre/check_nan.cc: New.
482 * testsuite/special_functions/17_legendre/check_value.cc: New.
483 * testsuite/special_functions/17_legendre/compile.cc: New.
484 * testsuite/special_functions/17_legendre/compile_2.cc: New.
485 * testsuite/special_functions/18_riemann_zeta/check_nan.cc: New.
486 * testsuite/special_functions/18_riemann_zeta/check_value.cc: New.
487 * testsuite/special_functions/18_riemann_zeta/compile.cc: New.
488 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: New.
489 * testsuite/special_functions/19_sph_bessel/check_nan.cc: New.
490 * testsuite/special_functions/19_sph_bessel/check_value.cc: New.
491 * testsuite/special_functions/19_sph_bessel/compile.cc: New.
492 * testsuite/special_functions/19_sph_bessel/compile_2.cc: New.
493 * testsuite/special_functions/20_sph_legendre/check_nan.cc: New.
494 * testsuite/special_functions/20_sph_legendre/check_value.cc: New.
495 * testsuite/special_functions/20_sph_legendre/compile.cc: New.
496 * testsuite/special_functions/20_sph_legendre/compile_2.cc: New.
497 * testsuite/special_functions/21_sph_neumann/check_nan.cc: New.
498 * testsuite/special_functions/21_sph_neumann/check_value.cc: New.
499 * testsuite/special_functions/21_sph_neumann/compile.cc: New.
500 * testsuite/special_functions/21_sph_neumann/compile_2.cc: New.
501 * testsuite/util/specfun_testcase.h: New.
502 * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases.
503 * testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto.
504 * testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto.
505 * testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto.
506 * testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto.
507 * testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto.
508 * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New.
509
510 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
511
512 PR libstdc++/48891
513 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
514 and isnan functions.
515 * config.h.in: Regenerate.
516 * configure: Regenerate.
517 * include/c_global/cmath (isinf(double), isnan(double))
518 [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
519 * testsuite/26_numerics/headers/cmath/48891.cc: New.
520
521 2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
522
523 PR libstdc++/66006
524 * configure.host (abi_baseline_pair): Use separate baseline for
525 Solaris 11+ and Solaris 10 with gld.
526 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file.
527 * config/abi/post/solaris2.11/baseline_symbols.txt: New file.
528 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file.
529
530 2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
531
532 PR libstdc++/68877
533 * include/std/type_traits: Following N4511, reimplement __is_swappable
534 and __is_nothrow_swappable. Move __is_swappable to namespace std,
535 adjust callers. Use __is_nothrow_swappable in swap.
536 * include/bits/move.h: Use __is_nothrow_swappable in swap.
537 * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
538 __is_swappable related tests.
539 * testsuite/20_util/is_swappable/value.cc: New.
540 * testsuite/20_util/is_swappable/requirements/
541 explicit_instantiation.cc: New.
542 * testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
543 * testsuite/25_algorithms/swap/68877.cc: New.
544
545 2016-01-12 Jonathan Wakely <jwakely@redhat.com>
546
547 * testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
548
549 PR libstdc++/69005
550 PR libstdc++/69222
551 * include/std/functional (function::_Invoke): Remove, use result_of.
552 (function::_Callable): Replace alias template with class template
553 and use partial specialization instead of _NotSelf alias template.
554 (function(_Functor)): Add "not self" constraint so that _Callable is
555 not used while type is incomplete.
556 * testsuite/20_util/function/69222.cc: New.
557
558 2016-01-11 Jonathan Wakely <jwakely@redhat.com>
559
560 PR libstdc++/60976
561 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
562 Define partial specialization.
563 * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
564 destroy members to std::allocator explicit specialization.
565
566 2016-01-08 Jonathan Wakely <jwakely@redhat.com>
567
568 * testsuite/26_numerics/headers/cmath/
569 c99_classification_macros_c++.cc: Rename to ...
570 * testsuite/26_numerics/headers/cmath/
571 c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
572 * testsuite/26_numerics/headers/cmath/
573 c99_classification_macros_c++0x.cc: Rename to ...
574 * testsuite/26_numerics/headers/cmath/
575 c99_classification_macros_c++11.cc: Here.
576
577 PR libstdc++/69190
578 * include/bits/uses_allocator.h: Add missing include.
579
580 2016-01-07 Jonathan Wakely <jwakely@redhat.com>
581
582 PR libstdc++/69105
583 PR libstdc++/69106
584 PR libstdc++/69114
585 * include/bits/stl_iterator.h (back_insert_iterator,
586 front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
587 * include/bits/uses_allocator.h (__use_alloc): Use __addressof.
588 * include/std/future (__future::base::_State_baseV2::__setter):
589 Likewise.
590 * include/std/scoped_allocator (__outermost): Likewise.
591 * testsuite/20_util/scoped_allocator/69114.cc: New.
592 * testsuite/20_util/uses_allocator/69114.cc: New.
593 * testsuite/30_threads/promise/69106.cc: New.
594
595 2016-01-06 Jonathan Wakely <jwakely@redhat.com>
596
597 PR libstdc++/69092
598 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
599 Remove _GLIBCXX_NOEXCEPT.
600 testsuite/21_strings/basic_string/cons/char/69092.cc: New.
601
602 * include/Makefile.am: Adjust.
603 * include/Makefile.in: Regenerate.
604 * include/bits/mutex.h: Rename to bits/std_mutex.h.
605 * include/std/condition_variable: Adjust include.
606 * include/std/mutex: Likewise.
607
608 2016-01-04 Jakub Jelinek <jakub@redhat.com>
609
610 Update copyright years.
611 \f
612 Copyright (C) 2016 Free Software Foundation, Inc.
613
614 Copying and distribution of this file, with or without modification,
615 are permitted in any medium without royalty provided the copyright
616 notice and this notice are preserved.