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