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