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