Use ::isinf and ::isnan if libc defines them
[gcc.git] / libstdc++-v3 / ChangeLog
1 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
2
3 PR libstdc++/48891
4 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
5 and isnan functions.
6 * config.h.in: Regenerate.
7 * configure: Regenerate.
8 * include/c_global/cmath (isinf(double), isnan(double))
9 [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
10 * testsuite/26_numerics/headers/cmath/48891.cc: New.
11
12 2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13
14 PR libstdc++/66006
15 * configure.host (abi_baseline_pair): Use separate baseline for
16 Solaris 11+ and Solaris 10 with gld.
17 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file.
18 * config/abi/post/solaris2.11/baseline_symbols.txt: New file.
19 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file.
20
21 2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
22
23 PR libstdc++/68877
24 * include/std/type_traits: Following N4511, reimplement __is_swappable
25 and __is_nothrow_swappable. Move __is_swappable to namespace std,
26 adjust callers. Use __is_nothrow_swappable in swap.
27 * include/bits/move.h: Use __is_nothrow_swappable in swap.
28 * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
29 __is_swappable related tests.
30 * testsuite/20_util/is_swappable/value.cc: New.
31 * testsuite/20_util/is_swappable/requirements/
32 explicit_instantiation.cc: New.
33 * testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
34 * testsuite/25_algorithms/swap/68877.cc: New.
35
36 2016-01-12 Jonathan Wakely <jwakely@redhat.com>
37
38 * testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
39
40 PR libstdc++/69005
41 PR libstdc++/69222
42 * include/std/functional (function::_Invoke): Remove, use result_of.
43 (function::_Callable): Replace alias template with class template
44 and use partial specialization instead of _NotSelf alias template.
45 (function(_Functor)): Add "not self" constraint so that _Callable is
46 not used while type is incomplete.
47 * testsuite/20_util/function/69222.cc: New.
48
49 2016-01-11 Jonathan Wakely <jwakely@redhat.com>
50
51 PR libstdc++/60976
52 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
53 Define partial specialization.
54 * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
55 destroy members to std::allocator explicit specialization.
56
57 2016-01-08 Jonathan Wakely <jwakely@redhat.com>
58
59 * testsuite/26_numerics/headers/cmath/
60 c99_classification_macros_c++.cc: Rename to ...
61 * testsuite/26_numerics/headers/cmath/
62 c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
63 * testsuite/26_numerics/headers/cmath/
64 c99_classification_macros_c++0x.cc: Rename to ...
65 * testsuite/26_numerics/headers/cmath/
66 c99_classification_macros_c++11.cc: Here.
67
68 PR libstdc++/69190
69 * include/bits/uses_allocator.h: Add missing include.
70
71 2016-01-07 Jonathan Wakely <jwakely@redhat.com>
72
73 PR libstdc++/69105
74 PR libstdc++/69106
75 PR libstdc++/69114
76 * include/bits/stl_iterator.h (back_insert_iterator,
77 front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
78 * include/bits/uses_allocator.h (__use_alloc): Use __addressof.
79 * include/std/future (__future::base::_State_baseV2::__setter):
80 Likewise.
81 * include/std/scoped_allocator (__outermost): Likewise.
82 * testsuite/20_util/scoped_allocator/69114.cc: New.
83 * testsuite/20_util/uses_allocator/69114.cc: New.
84 * testsuite/30_threads/promise/69106.cc: New.
85
86 2016-01-06 Jonathan Wakely <jwakely@redhat.com>
87
88 PR libstdc++/69092
89 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
90 Remove _GLIBCXX_NOEXCEPT.
91 testsuite/21_strings/basic_string/cons/char/69092.cc: New.
92
93 * include/Makefile.am: Adjust.
94 * include/Makefile.in: Regenerate.
95 * include/bits/mutex.h: Rename to bits/std_mutex.h.
96 * include/std/condition_variable: Adjust include.
97 * include/std/mutex: Likewise.
98
99 2016-01-04 Jakub Jelinek <jakub@redhat.com>
100
101 Update copyright years.
102 \f
103 Copyright (C) 2016 Free Software Foundation, Inc.
104
105 Copying and distribution of this file, with or without modification,
106 are permitted in any medium without royalty provided the copyright
107 notice and this notice are preserved.