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