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