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