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