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