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