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