1 2016-04-18 Jonathan Wakely <jwakely@redhat.com>
3 * testsuite/experimental/type_erased_allocator/1.cc: Don't include
5 * testsuite/experimental/type_erased_allocator/1_neg.cc: Likewise.
6 * testsuite/experimental/type_erased_allocator/2.cc: Likewise.
7 * testsuite/experimental/type_erased_allocator/uses_allocator.cc:
8 Likewise. Add licence and change to compile-only test.
10 * include/bits/locale_facets.h (ctype::do_narrow): Add attribute to
12 * include/bits/regex_automaton.h (_NFA::_M_insert_alt): Likewise.
14 * include/ext/string_conversions.h (__stoa): Avoid -Wsign-compare
17 2016-04-17 Edward Smith-Rowland <3dw4rd@verizon.net>
19 * include/bits/specfun.h: Trivial comment misspelling.
21 2016-04-14 Jason Merrill <jason@redhat.com>
23 Revert Jonathan's empty ABI change from yesterday.
25 2016-04-13 Martin Sebor <msebor@redhat.com>
28 * testsuite/25_algorithms/rotate/moveable2.cc: Make sure VLA
29 upper bound is positive.
31 2016-04-13 Jonathan Wakely <jwakely@redhat.com>
33 * include/bits/c++config (_GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES,
34 _GLIBCXX_END_NAMESPACE_EMPTY_TYPES, _GLIBCXX_ABI_TAG_EMPTY): Define.
35 * include/bits/hashtable.h (_Hashtable::_M_emplace): Change signatures
36 of functions taking empty structs by value. Add a template parameter
37 to overloads without hints. Rename overloads with hints to
39 (_Hashtable::_M_erase(true_type, const_iterator),
40 _Hashtable::_M_erase(false_type, const_iterator)): Change signatures
41 by reordering parameters.
42 * include/bits/hashtable_policy.h (_Insert::insert): Adjust to call
43 _M_emplace_hint instead of _M_emplace.
44 * include/bits/shared_ptr.h (shared_ptr(_Tp1*, _Deleter, _Alloc),
45 shared_ptr(nullptr_t, _Deleter, _Alloc)): Use _GLIBCXX_ABI_TAG_EMPTY.
46 * include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count,
47 __shared_ptr): Likewise.
48 * include/bits/stl_algo.h (replace_if): Likewise.
49 * include/bits/stl_pair.h (piecewise_construct_t,
50 piecewise_construct): Use _GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES.
51 * include/bits/uses_allocator.h (allocator_arg_t, allocator_arg,
52 __uses_alloc0): Likewise.
53 * include/ext/pb_ds/assoc_container.hpp (basic_hash_table): Likewise.
54 * testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust dg-error.
55 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
56 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
57 * testsuite/20_util/uses_allocator/69293_neg.cc: Likewise.
58 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
59 * testsuite/ext/profile/mutex_extensions_neg.cc: Likewise.
61 2016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net>
63 Document C++17/TR29124 C++ Special Math Functions.
64 * include/bits/specfun.h: Add Doxygen markup.
66 2016-04-07 Jonathan Wakely <jwakely@redhat.com>
68 * testsuite/30_threads/thread/70503.cc: Adjust from xfail to pass.
70 2016-04-06 Eric Botcazou <ebotcazou@adacore.com>
72 * src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null.
73 * src/Makefile.in: Regenerate.
75 2016-04-05 Jonathan Wakely <jwakely@redhat.com>
78 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test
79 __atomic_fetch_add for bool.
80 * configure: Regenerate.
82 * testsuite/30_threads/thread/70503.cc: Require -static to work.
85 * src/c++11/thread.cc (execute_native_thread_routine,
86 execute_native_thread_routine_compat): Give internal linkage.
87 * testsuite/30_threads/thread/70503.cc: New test.
89 2016-04-05 Ville Voutilainen <ville.voutilainen@gmail.com>
92 * include/bits/stl_pair.h (_ConstructiblePair,
93 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
94 _ImplicitlyMoveConvertiblePair): Add shortcut conditions
96 * testsuite/20_util/pair/70437.cc: New.
98 2016-03-24 Jonathan Wakely <jwakely@redhat.com>
101 * config/abi/pre/gnu.ver: Add new symbol.
102 * libsupc++/eh_alloc.cc (__gnu_cxx::__freeres): Define.
103 * testsuite/18_support/free_eh_pool.cc: New test.
105 2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
107 * include/Makefile.am (install-freestanding-headers): Add
108 concept_check.h and move.h to the installed headers.
109 * include/Makefile.in: Regenerated.
110 * include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
111 freestanding implementations.
112 * doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
113 that this macro has no effect for freestanding implementations.
114 * doc/html/manual/using_macros.html: Likewise.
116 2016-02-24 Jonathan Wakely <jwakely@redhat.com>
119 * include/experimental/tuple (__apply_impl): Qualify get and forward.
121 2016-02-23 Jonathan Wakely <jwakely@redhat.com>
123 * doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__.
124 * doc/html/*: Regenerate.
127 * include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
128 exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
129 llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
130 nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
131 trunc) [__cplusplus >= 201103L]: Import from namespace std.
132 (fabs) [__cplusplus < 201103L]: Import from namespace std.
133 * include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
135 * testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
136 namespace before including TR1 headers.
137 * testsuite/tr1/headers/c++200x/math.cc: New test.
139 2016-02-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
142 * include/c_global/cstdarg: Undefine __need___va_list.
143 * include/c_global/cstddef: Undefine all kinds of __need_*.
145 2016-02-16 Tim Shen <timshen@google.com>
148 * include/bits/regex_scanner.h: Add different special character
149 sets for grep and egrep regex.
150 * include/bits/regex_scanner.tcc: Use _M_spec_char more uniformly.
151 * testsuite/28_regex/regression.cc: Add new testcase.
153 2016-02-08 Jonathan Wakely <jwakely@redhat.com>
155 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Remove accidentally
156 added 'constexpr' in previous commit.
157 * configure: Regenerate.
160 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Enable isinf and isnan
161 checks for all targets except *-*-solaris2.* and ensure we find the
162 libc math.h header not our own.
163 * configure: Regenerate.
165 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
167 * config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt (FUNC):
168 New file. Copied over from s390-linux-gnu.
170 2016-02-04 Jonathan Wakely <jwakely@redhat.com>
173 * acinclude.m4 (GLIBCXX_ENABLE_C99): Check C99 stdlib.h functions
174 with -std=c++98 and define _GLIBCXX98_USE_C99_STDLIB.
175 * config.h.in: Regenerate.
176 * configure: Regenerate.
177 * testsuite/21_strings/c_strings/char/69626.cc: New.
179 * doc/html/index.html: Regenerate.
181 * doc/xml/manual/containers.xml: Add cross-reference to Dual ABI.
182 * doc/xml/manual/spine.xml: Update copyright years and author blurb.
183 * doc/html/*: Regenerate.
185 2016-02-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
188 * include/c_compatibility/math.h: Move header guards.
189 * include/c_compatibility/stdlib.h: Likewise.
191 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
194 * config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
196 2016-01-28 John David Anglin <danglin@gcc.gnu.org>
199 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete
200 isinf and isnan functions into two independent checks. Check on hpux.
201 * config.h.in: Regenerate.
202 * configure: Regenerate.
203 * include/c_global/cmath (isinf(double), isnan(double)): Use
204 _GLIBCXX_HAVE_OBSOLETE_ISINF and _GLIBCXX_HAVE_OBSOLETE_ISNAN,
207 2016-01-27 Jakub Jelinek <jakub@redhat.com>
209 * testsuite/libstdc++-prettyprinters/whatis.cc: Include <random>.
211 2016-01-27 Jonathan Wakely <jwakely@redhat.com>
214 * testsuite/ext/special_functions/hyperg/check_value.cc: Use
215 -ffp-contract=off, and -ffloat-store to disable excess precision.
216 * testsuite/special_functions/02_assoc_legendre/check_value.cc: Use
219 2016-01-26 Jonathan Wakely <jwakely@redhat.com>
222 * include/bits/stl_algobase.h (__copy_move<_IsMove, true,
223 random_access_iterator_tag>): Check is_move_assignable when moving.
224 (__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
226 * testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
227 * testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
228 * testsuite/25_algorithms/move/69478.cc: New.
229 * testsuite/25_algorithms/move_backward/69478.cc: new.
231 2016-01-26 Andris Pavenis <andris.pavenis@iki.fi>
233 * include/c_compatibility/stdlib.h: Include wide character related
234 definitions only when they are available in cstdlib.
236 2016-01-25 Jonathan Wakely <jwakely@redhat.com>
239 * include/Makefile.am: Add new header.
240 * include/Makefile.in: Regenerate.
241 * include/bits/random.h (uniform_int_distribution): Move to
242 bits/uniform_int_dist.h.
243 * include/bits/random.tcc (uniform_int_distribution::operator(),
244 uniform_int_distribution::__generate_impl): Likewise.
245 * include/bits/uniform_int_dist.h: New header.
246 * include/bits/stl_algo.h [__cplusplus >= 201103L]: Include
247 <bits/uniform_int_dist.h> instead of <random>.
248 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
249 move_iterators/1.cc: Include correct header for uninitialized_copy.
250 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
251 move_iterators/1.cc: Likewise.
252 * testsuite/25_algorithms/nth_element/58800.cc: Include correct
254 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lines.
256 2016-01-23 John David Anglin <danglin@gcc.gnu.org>
259 * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
261 2016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net>
263 TR29124 C++ Special Math - <math.h> pulls funcs into global namespace.
264 * include/c_compatibility/math.h: Import the TR29124 functions
265 into the global namespace.
266 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: Remove
267 xfail and make compile-only.
268 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: Ditto.
269 * testsuite/special_functions/03_beta/compile_2.cc: Ditto.
270 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Ditto.
271 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Ditto.
272 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Ditto.
273 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Ditto.
274 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Ditto.
275 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Ditto.
276 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: Ditto.
277 * testsuite/special_functions/11_ellint_1/compile_2.cc: Ditto.
278 * testsuite/special_functions/12_ellint_2/compile_2.cc: Ditto.
279 * testsuite/special_functions/13_ellint_3/compile_2.cc: Ditto.
280 * testsuite/special_functions/14_expint/compile_2.cc: Ditto.
281 * testsuite/special_functions/15_hermite/compile_2.cc: Ditto.
282 * testsuite/special_functions/16_laguerre/compile_2.cc: Ditto.
283 * testsuite/special_functions/17_legendre/compile_2.cc: Ditto.
284 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: Ditto.
285 * testsuite/special_functions/19_sph_bessel/compile_2.cc: Ditto.
286 * testsuite/special_functions/20_sph_legendre/compile_2.cc: Ditto.
287 * testsuite/special_functions/21_sph_neumann/compile_2.cc: Ditto.
289 2016-01-22 Jonathan Wakely <jwakely@redhat.com>
292 * include/bits/valarray_before.h (__fun, __fun_with_valarray): Only
293 define result_type for types which can be safely used with valarrays.
294 * testsuite/26_numerics/valarray/69116.cc: New.
297 * config/os/gnu-linux/os_defines.h: Define
298 _GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC.
299 * include/c_global/cmath (isinf, isnan): Check it.
300 * doc/xml/manual/internals.xml: Document it.
301 * doc/html/*: Regenerate.
303 2016-01-21 Jonathan Wakely <jwakely@redhat.com>
306 * include/bits/cpp_type_traits.h: Ensure C++ language linkage.
307 * include/ext/type_traits.h: Likewise.
308 * testsuite/17_intro/headers/c++2011/linkage.cc: Check autoconf macros
309 for presence of C headers.
310 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Adjust
311 dg-error line number.
312 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
313 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
314 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
316 2016-01-20 Torvald Riegel <triegel@redhat.com>
319 * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
321 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
324 * include/c_compatibility/math.h (acosh, asinh, atanh, acbrt,
325 copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb,
326 lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
327 nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn,
328 tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]:
329 Add using declarations.
330 * testsuite/26_numerics/headers/cmath/60401.cc: New.
333 * include/c_global/ccomplex: Ensure C++ language linkage.
334 * include/c_global/cmath: Likewise.
335 * include/c_global/cstdlib: Likewise.
336 * include/c_global/ctgmath: Likewise.
337 * testsuite/17_intro/headers/c++2011/linkage.cc: New.
339 2016-01-19 Jonathan Wakely <jwakely@redhat.com>
343 * include/Makefile.am: Use c_compatibility math.h and stdlib.h for
344 --enable-cheaders=c_global configs.
345 * include/Makefile.in: Regenerate.
346 * include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C
347 test and allow inclusion from C files.
348 * include/c_compatibility/stdlib.h: Likewise. Support freestanding.
349 (at_quick_exit, quick_exit): Add using directives.
350 * include/c_global/cmath: Use #include_next for math.h.
351 * include/c_global/cstdlib: Use #include_next for stdlib.h.
352 * testsuite/26_numerics/headers/cmath/14608.cc: New.
353 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
354 Remove xfail for most targets.
355 * testsuite/26_numerics/headers/cstdlib/60401.cc: New.
357 2016-01-18 Torvald Riegel <triegel@redhat.com>
359 * include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New.
360 (_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use _GLIBCXX_USE_WEAK_REF
361 and move after its definition.
362 * config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override.
363 * src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of
364 __GXX_WEAK__, and only provide transactional clones if
365 _GLIBCXX_USE_WEAK_REF is true. Don't provide stubs of libitm
368 2016-01-18 Jonathan Wakely <jwakely@redhat.com>
371 * testsuite/26_numerics/headers/cmath/60637.cc: Add test.
374 * include/std/functional (_Function_base::_M_not_empty_function):
375 Change overloads for pointers to take arguments by value.
376 * testsuite/20_util/function/cons/57465.cc: Add tests for
377 pointer-to-member cases.
380 * src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions):
381 Use macros for exception handling and fix unused parameter warning.
383 2016-01-17 John David Anglin <danglin@gcc.gnu.org>
386 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
388 2016-01-17 Torvald Riegel <triegel@redhat.com>
390 * src/c++11/cow-stdexcept.cc (txnal_read_ptr): Fix static_assert.
392 2016-01-16 H.J. Lu <hongjiu.lu@intel.com>
394 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Add
397 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
400 * include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add
401 static assertion that type is constructible from the arguments.
402 * testsuite/20_util/scoped_allocator/69293_neg.cc: New.
403 * testsuite/20_util/uses_allocator/69293_neg.cc: New.
404 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
407 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
408 and isnan on AIX. Quote variables.
409 * configure: Regenerate.
411 2016-01-15 Torvald Riegel <triegel@redhat.com>
413 * include/bits/basic_string.h (basic_string): Declare friends.
414 * include/bits/c++config (_GLIBCXX_TXN_SAFE,
415 _GLIBCXX_TXN_SAFE_DYN, _GLIBCXX_USE_ALLOCATOR_NEW): New.
416 * include/std/stdexcept (logic_error, domain_error, invalid_argument,
417 length_error, out_of_range, runtime_error, range_error,
418 underflow_error, overflow_error): Declare members as transaction-safe.
419 (logic_error, runtime_error): Declare friend functions.
420 * libsupc++/exception (exception, bad_exception): Declare members as
422 * src/c++11/cow-stdexcept.cc: Define transactional clones for the
423 transaction-safe members of exceptions and helper functions.
424 * libsupc++/eh_exception.cc: Adjust and define transactional clones.
425 * config/abi/pre/gnu.ver (GLIBCXX_3.4.22) Add transactional clones.
426 (CXXABI_1.3.10): New.
427 * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): New.
428 (GLIBCXX_ENABLE_ALLOCATOR): Set ENABLE_ALLOCATOR_NEW.
429 * configure.ac: Call GLIBCXX_CHECK_SIZE_T_MANGLING.
430 * include/Makefile.am: Write ENABLE_ALLOCATOR_NEW to c++config.h.
431 * include/Makefile.in: Regenerate.
432 * config.h.in: Regenerate.
433 * configure: Regenerate.
434 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.10.
436 2016-01-15 Steve Ellcey <sellcey@imgtec.com>
438 * include/ext/random.tcc: Use __builtin_isfinite instead of
441 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
443 * include/bits/std_mutex.h: Fix Doxygen @file name.
445 2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
446 Jonathan Wakely <jwakely@redhat.com>
447 Florian Goth <CaptainSifff@gmx.de>
449 Implement TR29124 C++ special Math Functions.
450 * include/Makefile.am: Add new headers.
451 * include/Makefile.in: Regenerate.
452 * include/bits/specfun.h: New.
453 * include/c_global/cmath: Adjust for both tr1 and tr29124 maths.
454 * include/tr1/bessel_function.tcc: Ditto.
455 * include/tr1/beta_function.tcc: Ditto.
456 * include/tr1/cmath: Ditto.
457 * include/tr1/ell_integral.tcc: Ditto.
458 * include/tr1/exp_integral.tcc: Ditto.
459 * include/tr1/gamma.tcc: Ditto.
460 * include/tr1/hypergeometric.tcc: Ditto.
461 * include/tr1/legendre_function.tcc: Ditto.
462 * include/tr1/modified_bessel_func.tcc: Ditto.
463 * include/tr1/poly_hermite.tcc: Ditto.
464 * include/tr1/poly_laguerre.tcc: Ditto.
465 * include/tr1/riemann_zeta.tcc: Ditto.
466 * include/tr1/special_function_util.h: Ditto.
467 * testsuite/ext/special_functions/conf_hyperg: New.
468 * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New.
469 * testsuite/ext/special_functions/conf_hyperg/check_value.cc: New.
470 * testsuite/ext/special_functions/conf_hyperg/compile.cc: New.
471 * testsuite/ext/special_functions/hyperg: New.
472 * testsuite/ext/special_functions/hyperg/check_nan.cc: New.
473 * testsuite/ext/special_functions/hyperg/check_value.cc: New.
474 * testsuite/ext/special_functions/hyperg/compile.cc: New.
475 * testsuite/libstdc++-dg/conformance.exp: Add special_functions directory.
476 * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New.
477 * testsuite/special_functions/01_assoc_laguerre/check_value.cc: New.
478 * testsuite/special_functions/01_assoc_laguerre/compile.cc: New.
479 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New.
480 * testsuite/special_functions/02_assoc_legendre/check_nan.cc: New.
481 * testsuite/special_functions/02_assoc_legendre/check_value.cc: New.
482 * testsuite/special_functions/02_assoc_legendre/compile.cc: New.
483 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: New.
484 * testsuite/special_functions/03_beta/check_nan.cc: New.
485 * testsuite/special_functions/03_beta/check_value.cc: New.
486 * testsuite/special_functions/03_beta/compile.cc: New.
487 * testsuite/special_functions/03_beta/compile_2.cc: New.
488 * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New.
489 * testsuite/special_functions/04_comp_ellint_1/check_value.cc: New.
490 * testsuite/special_functions/04_comp_ellint_1/compile.cc: New.
491 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New.
492 * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New.
493 * testsuite/special_functions/05_comp_ellint_2/check_value.cc: New.
494 * testsuite/special_functions/05_comp_ellint_2/compile.cc: New.
495 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New.
496 * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New.
497 * testsuite/special_functions/06_comp_ellint_3/check_value.cc: New.
498 * testsuite/special_functions/06_comp_ellint_3/compile.cc: New.
499 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New.
500 * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New.
501 * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New.
502 * testsuite/special_functions/07_cyl_bessel_i/compile.cc: New.
503 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New.
504 * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New.
505 * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New.
506 * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New.
507 * testsuite/special_functions/08_cyl_bessel_j/compile.cc: New.
508 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New.
509 * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New.
510 * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New.
511 * testsuite/special_functions/09_cyl_bessel_k/compile.cc: New.
512 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New.
513 * testsuite/special_functions/10_cyl_neumann/check_nan.cc: New.
514 * testsuite/special_functions/10_cyl_neumann/check_value.cc: New.
515 * testsuite/special_functions/10_cyl_neumann/compile.cc: New.
516 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: New.
517 * testsuite/special_functions/11_ellint_1/check_nan.cc: New.
518 * testsuite/special_functions/11_ellint_1/check_value.cc: New.
519 * testsuite/special_functions/11_ellint_1/compile.cc: New.
520 * testsuite/special_functions/11_ellint_1/compile_2.cc: New.
521 * testsuite/special_functions/12_ellint_2/check_nan.cc: New.
522 * testsuite/special_functions/12_ellint_2/check_value.cc: New.
523 * testsuite/special_functions/12_ellint_2/compile.cc: New.
524 * testsuite/special_functions/12_ellint_2/compile_2.cc: New.
525 * testsuite/special_functions/13_ellint_3/check_nan.cc: New.
526 * testsuite/special_functions/13_ellint_3/check_value.cc: New.
527 * testsuite/special_functions/13_ellint_3/compile.cc: New.
528 * testsuite/special_functions/13_ellint_3/compile_2.cc: New.
529 * testsuite/special_functions/14_expint/check_nan.cc: New.
530 * testsuite/special_functions/14_expint/check_value.cc: New.
531 * testsuite/special_functions/14_expint/compile.cc: New.
532 * testsuite/special_functions/14_expint/compile_2.cc: New.
533 * testsuite/special_functions/15_hermite/check_nan.cc: New.
534 * testsuite/special_functions/15_hermite/check_value.cc: New.
535 * testsuite/special_functions/15_hermite/compile.cc: New.
536 * testsuite/special_functions/15_hermite/compile_2.cc: New.
537 * testsuite/special_functions/16_laguerre/check_nan.cc: New.
538 * testsuite/special_functions/16_laguerre/check_value.cc: New.
539 * testsuite/special_functions/16_laguerre/compile.cc: New.
540 * testsuite/special_functions/16_laguerre/compile_2.cc: New.
541 * testsuite/special_functions/17_legendre/check_nan.cc: New.
542 * testsuite/special_functions/17_legendre/check_value.cc: New.
543 * testsuite/special_functions/17_legendre/compile.cc: New.
544 * testsuite/special_functions/17_legendre/compile_2.cc: New.
545 * testsuite/special_functions/18_riemann_zeta/check_nan.cc: New.
546 * testsuite/special_functions/18_riemann_zeta/check_value.cc: New.
547 * testsuite/special_functions/18_riemann_zeta/compile.cc: New.
548 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: New.
549 * testsuite/special_functions/19_sph_bessel/check_nan.cc: New.
550 * testsuite/special_functions/19_sph_bessel/check_value.cc: New.
551 * testsuite/special_functions/19_sph_bessel/compile.cc: New.
552 * testsuite/special_functions/19_sph_bessel/compile_2.cc: New.
553 * testsuite/special_functions/20_sph_legendre/check_nan.cc: New.
554 * testsuite/special_functions/20_sph_legendre/check_value.cc: New.
555 * testsuite/special_functions/20_sph_legendre/compile.cc: New.
556 * testsuite/special_functions/20_sph_legendre/compile_2.cc: New.
557 * testsuite/special_functions/21_sph_neumann/check_nan.cc: New.
558 * testsuite/special_functions/21_sph_neumann/check_value.cc: New.
559 * testsuite/special_functions/21_sph_neumann/compile.cc: New.
560 * testsuite/special_functions/21_sph_neumann/compile_2.cc: New.
561 * testsuite/util/specfun_testcase.h: New.
562 * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases.
563 * testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto.
564 * testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto.
565 * testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto.
566 * testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto.
567 * testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto.
568 * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New.
570 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
573 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
575 * config.h.in: Regenerate.
576 * configure: Regenerate.
577 * include/c_global/cmath (isinf(double), isnan(double))
578 [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
579 * testsuite/26_numerics/headers/cmath/48891.cc: New.
581 2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
584 * configure.host (abi_baseline_pair): Use separate baseline for
585 Solaris 11+ and Solaris 10 with gld.
586 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file.
587 * config/abi/post/solaris2.11/baseline_symbols.txt: New file.
588 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file.
590 2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
593 * include/std/type_traits: Following N4511, reimplement __is_swappable
594 and __is_nothrow_swappable. Move __is_swappable to namespace std,
595 adjust callers. Use __is_nothrow_swappable in swap.
596 * include/bits/move.h: Use __is_nothrow_swappable in swap.
597 * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
598 __is_swappable related tests.
599 * testsuite/20_util/is_swappable/value.cc: New.
600 * testsuite/20_util/is_swappable/requirements/
601 explicit_instantiation.cc: New.
602 * testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
603 * testsuite/25_algorithms/swap/68877.cc: New.
605 2016-01-12 Jonathan Wakely <jwakely@redhat.com>
607 * testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
611 * include/std/functional (function::_Invoke): Remove, use result_of.
612 (function::_Callable): Replace alias template with class template
613 and use partial specialization instead of _NotSelf alias template.
614 (function(_Functor)): Add "not self" constraint so that _Callable is
615 not used while type is incomplete.
616 * testsuite/20_util/function/69222.cc: New.
618 2016-01-11 Jonathan Wakely <jwakely@redhat.com>
621 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
622 Define partial specialization.
623 * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
624 destroy members to std::allocator explicit specialization.
626 2016-01-08 Jonathan Wakely <jwakely@redhat.com>
628 * testsuite/26_numerics/headers/cmath/
629 c99_classification_macros_c++.cc: Rename to ...
630 * testsuite/26_numerics/headers/cmath/
631 c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
632 * testsuite/26_numerics/headers/cmath/
633 c99_classification_macros_c++0x.cc: Rename to ...
634 * testsuite/26_numerics/headers/cmath/
635 c99_classification_macros_c++11.cc: Here.
638 * include/bits/uses_allocator.h: Add missing include.
640 2016-01-07 Jonathan Wakely <jwakely@redhat.com>
645 * include/bits/stl_iterator.h (back_insert_iterator,
646 front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
647 * include/bits/uses_allocator.h (__use_alloc): Use __addressof.
648 * include/std/future (__future::base::_State_baseV2::__setter):
650 * include/std/scoped_allocator (__outermost): Likewise.
651 * testsuite/20_util/scoped_allocator/69114.cc: New.
652 * testsuite/20_util/uses_allocator/69114.cc: New.
653 * testsuite/30_threads/promise/69106.cc: New.
655 2016-01-06 Jonathan Wakely <jwakely@redhat.com>
658 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
659 Remove _GLIBCXX_NOEXCEPT.
660 testsuite/21_strings/basic_string/cons/char/69092.cc: New.
662 * include/Makefile.am: Adjust.
663 * include/Makefile.in: Regenerate.
664 * include/bits/mutex.h: Rename to bits/std_mutex.h.
665 * include/std/condition_variable: Adjust include.
666 * include/std/mutex: Likewise.
668 2016-01-04 Jakub Jelinek <jakub@redhat.com>
670 Update copyright years.
672 Copyright (C) 2016 Free Software Foundation, Inc.
674 Copying and distribution of this file, with or without modification,
675 are permitted in any medium without royalty provided the copyright
676 notice and this notice are preserved.