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