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