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