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