]>
Commit | Line | Data |
---|---|---|
96e19ada JW |
1 | 2016-01-19 Jonathan Wakely <jwakely@redhat.com> |
2 | ||
3 | PR libstdc++/14608 | |
4 | PR libstdc++/60401 | |
5 | * include/Makefile.am: Use c_compatibility math.h and stdlib.h for | |
6 | --enable-cheaders=c_global configs. | |
7 | * include/Makefile.in: Regenerate. | |
8 | * include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C | |
9 | test and allow inclusion from C files. | |
10 | * include/c_compatibility/stdlib.h: Likewise. Support freestanding. | |
11 | (at_quick_exit, quick_exit): Add using directives. | |
12 | * include/c_global/cmath: Use #include_next for math.h. | |
13 | * include/c_global/cstdlib: Use #include_next for stdlib.h. | |
14 | * testsuite/26_numerics/headers/cmath/14608.cc: New. | |
15 | * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: | |
16 | Remove xfail for most targets. | |
17 | * testsuite/26_numerics/headers/cstdlib/60401.cc: New. | |
18 | ||
9585381a TR |
19 | 2016-01-18 Torvald Riegel <triegel@redhat.com> |
20 | ||
21 | * include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New. | |
22 | (_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use _GLIBCXX_USE_WEAK_REF | |
23 | and move after its definition. | |
24 | * config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override. | |
25 | * src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of | |
26 | __GXX_WEAK__, and only provide transactional clones if | |
27 | _GLIBCXX_USE_WEAK_REF is true. Don't provide stubs of libitm | |
28 | functions. | |
29 | ||
f5460595 JW |
30 | 2016-01-18 Jonathan Wakely <jwakely@redhat.com> |
31 | ||
c91bcffc JW |
32 | PR libstdc++/60637 |
33 | * testsuite/26_numerics/headers/cmath/60637.cc: Add test. | |
34 | ||
d75d9f91 | 35 | PR libstdc++/69243 |
9c5ad80e JW |
36 | * include/std/functional (_Function_base::_M_not_empty_function): |
37 | Change overloads for pointers to take arguments by value. | |
38 | * testsuite/20_util/function/cons/57465.cc: Add tests for | |
39 | pointer-to-member cases. | |
40 | ||
f5460595 JW |
41 | PR libstdc++/69340 |
42 | * src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions): | |
43 | Use macros for exception handling and fix unused parameter warning. | |
44 | ||
271366f6 JDA |
45 | 2016-01-17 John David Anglin <danglin@gcc.gnu.org> |
46 | ||
47 | PR libstdc++/68734 | |
48 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. | |
49 | ||
7a5d1d34 TR |
50 | 2016-01-17 Torvald Riegel <triegel@redhat.com> |
51 | ||
52 | * src/c++11/cow-stdexcept.cc (txnal_read_ptr): Fix static_assert. | |
53 | ||
5445d5bf L |
54 | 2016-01-16 H.J. Lu <hongjiu.lu@intel.com> |
55 | ||
56 | * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Add | |
57 | __int128 symbols. | |
58 | ||
3d076231 JW |
59 | 2016-01-15 Jonathan Wakely <jwakely@redhat.com> |
60 | ||
d7c1581c JW |
61 | PR libstdc++/69293 |
62 | * include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add | |
63 | static assertion that type is constructible from the arguments. | |
64 | * testsuite/20_util/scoped_allocator/69293_neg.cc: New. | |
65 | * testsuite/20_util/uses_allocator/69293_neg.cc: New. | |
66 | * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error. | |
67 | ||
3d076231 JW |
68 | PR libstdc++/69294 |
69 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf | |
70 | and isnan on AIX. Quote variables. | |
71 | * configure: Regenerate. | |
72 | ||
a04d5fc9 TR |
73 | 2016-01-15 Torvald Riegel <triegel@redhat.com> |
74 | ||
75 | * include/bits/basic_string.h (basic_string): Declare friends. | |
76 | * include/bits/c++config (_GLIBCXX_TXN_SAFE, | |
77 | _GLIBCXX_TXN_SAFE_DYN, _GLIBCXX_USE_ALLOCATOR_NEW): New. | |
78 | * include/std/stdexcept (logic_error, domain_error, invalid_argument, | |
79 | length_error, out_of_range, runtime_error, range_error, | |
80 | underflow_error, overflow_error): Declare members as transaction-safe. | |
81 | (logic_error, runtime_error): Declare friend functions. | |
82 | * libsupc++/exception (exception, bad_exception): Declare members as | |
83 | transaction-safe. | |
84 | * src/c++11/cow-stdexcept.cc: Define transactional clones for the | |
85 | transaction-safe members of exceptions and helper functions. | |
86 | * libsupc++/eh_exception.cc: Adjust and define transactional clones. | |
87 | * config/abi/pre/gnu.ver (GLIBCXX_3.4.22) Add transactional clones. | |
88 | (CXXABI_1.3.10): New. | |
89 | * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): New. | |
90 | (GLIBCXX_ENABLE_ALLOCATOR): Set ENABLE_ALLOCATOR_NEW. | |
91 | * configure.ac: Call GLIBCXX_CHECK_SIZE_T_MANGLING. | |
92 | * include/Makefile.am: Write ENABLE_ALLOCATOR_NEW to c++config.h. | |
93 | * include/Makefile.in: Regenerate. | |
94 | * config.h.in: Regenerate. | |
95 | * configure: Regenerate. | |
96 | * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.10. | |
97 | ||
cebeb718 SE |
98 | 2016-01-15 Steve Ellcey <sellcey@imgtec.com> |
99 | ||
100 | * include/ext/random.tcc: Use __builtin_isfinite instead of | |
101 | std::isfinite. | |
102 | ||
3b07547d JW |
103 | 2016-01-15 Jonathan Wakely <jwakely@redhat.com> |
104 | ||
105 | * include/bits/std_mutex.h: Fix Doxygen @file name. | |
106 | ||
2be75957 ESR |
107 | 2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net> |
108 | Jonathan Wakely <jwakely@redhat.com> | |
109 | Florian Goth <CaptainSifff@gmx.de> | |
110 | ||
111 | Implement TR29124 C++ special Math Functions. | |
112 | * include/Makefile.am: Add new headers. | |
113 | * include/Makefile.in: Regenerate. | |
114 | * include/bits/specfun.h: New. | |
115 | * include/c_global/cmath: Adjust for both tr1 and tr29124 maths. | |
116 | * include/tr1/bessel_function.tcc: Ditto. | |
117 | * include/tr1/beta_function.tcc: Ditto. | |
118 | * include/tr1/cmath: Ditto. | |
119 | * include/tr1/ell_integral.tcc: Ditto. | |
120 | * include/tr1/exp_integral.tcc: Ditto. | |
121 | * include/tr1/gamma.tcc: Ditto. | |
122 | * include/tr1/hypergeometric.tcc: Ditto. | |
123 | * include/tr1/legendre_function.tcc: Ditto. | |
124 | * include/tr1/modified_bessel_func.tcc: Ditto. | |
125 | * include/tr1/poly_hermite.tcc: Ditto. | |
126 | * include/tr1/poly_laguerre.tcc: Ditto. | |
127 | * include/tr1/riemann_zeta.tcc: Ditto. | |
128 | * include/tr1/special_function_util.h: Ditto. | |
129 | * testsuite/ext/special_functions/conf_hyperg: New. | |
130 | * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New. | |
131 | * testsuite/ext/special_functions/conf_hyperg/check_value.cc: New. | |
132 | * testsuite/ext/special_functions/conf_hyperg/compile.cc: New. | |
133 | * testsuite/ext/special_functions/hyperg: New. | |
134 | * testsuite/ext/special_functions/hyperg/check_nan.cc: New. | |
135 | * testsuite/ext/special_functions/hyperg/check_value.cc: New. | |
136 | * testsuite/ext/special_functions/hyperg/compile.cc: New. | |
137 | * testsuite/libstdc++-dg/conformance.exp: Add special_functions directory. | |
138 | * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New. | |
139 | * testsuite/special_functions/01_assoc_laguerre/check_value.cc: New. | |
140 | * testsuite/special_functions/01_assoc_laguerre/compile.cc: New. | |
141 | * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New. | |
142 | * testsuite/special_functions/02_assoc_legendre/check_nan.cc: New. | |
143 | * testsuite/special_functions/02_assoc_legendre/check_value.cc: New. | |
144 | * testsuite/special_functions/02_assoc_legendre/compile.cc: New. | |
145 | * testsuite/special_functions/02_assoc_legendre/compile_2.cc: New. | |
146 | * testsuite/special_functions/03_beta/check_nan.cc: New. | |
147 | * testsuite/special_functions/03_beta/check_value.cc: New. | |
148 | * testsuite/special_functions/03_beta/compile.cc: New. | |
149 | * testsuite/special_functions/03_beta/compile_2.cc: New. | |
150 | * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New. | |
151 | * testsuite/special_functions/04_comp_ellint_1/check_value.cc: New. | |
152 | * testsuite/special_functions/04_comp_ellint_1/compile.cc: New. | |
153 | * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New. | |
154 | * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New. | |
155 | * testsuite/special_functions/05_comp_ellint_2/check_value.cc: New. | |
156 | * testsuite/special_functions/05_comp_ellint_2/compile.cc: New. | |
157 | * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New. | |
158 | * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New. | |
159 | * testsuite/special_functions/06_comp_ellint_3/check_value.cc: New. | |
160 | * testsuite/special_functions/06_comp_ellint_3/compile.cc: New. | |
161 | * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New. | |
162 | * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New. | |
163 | * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New. | |
164 | * testsuite/special_functions/07_cyl_bessel_i/compile.cc: New. | |
165 | * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New. | |
166 | * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New. | |
167 | * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New. | |
168 | * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New. | |
169 | * testsuite/special_functions/08_cyl_bessel_j/compile.cc: New. | |
170 | * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New. | |
171 | * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New. | |
172 | * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New. | |
173 | * testsuite/special_functions/09_cyl_bessel_k/compile.cc: New. | |
174 | * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New. | |
175 | * testsuite/special_functions/10_cyl_neumann/check_nan.cc: New. | |
176 | * testsuite/special_functions/10_cyl_neumann/check_value.cc: New. | |
177 | * testsuite/special_functions/10_cyl_neumann/compile.cc: New. | |
178 | * testsuite/special_functions/10_cyl_neumann/compile_2.cc: New. | |
179 | * testsuite/special_functions/11_ellint_1/check_nan.cc: New. | |
180 | * testsuite/special_functions/11_ellint_1/check_value.cc: New. | |
181 | * testsuite/special_functions/11_ellint_1/compile.cc: New. | |
182 | * testsuite/special_functions/11_ellint_1/compile_2.cc: New. | |
183 | * testsuite/special_functions/12_ellint_2/check_nan.cc: New. | |
184 | * testsuite/special_functions/12_ellint_2/check_value.cc: New. | |
185 | * testsuite/special_functions/12_ellint_2/compile.cc: New. | |
186 | * testsuite/special_functions/12_ellint_2/compile_2.cc: New. | |
187 | * testsuite/special_functions/13_ellint_3/check_nan.cc: New. | |
188 | * testsuite/special_functions/13_ellint_3/check_value.cc: New. | |
189 | * testsuite/special_functions/13_ellint_3/compile.cc: New. | |
190 | * testsuite/special_functions/13_ellint_3/compile_2.cc: New. | |
191 | * testsuite/special_functions/14_expint/check_nan.cc: New. | |
192 | * testsuite/special_functions/14_expint/check_value.cc: New. | |
193 | * testsuite/special_functions/14_expint/compile.cc: New. | |
194 | * testsuite/special_functions/14_expint/compile_2.cc: New. | |
195 | * testsuite/special_functions/15_hermite/check_nan.cc: New. | |
196 | * testsuite/special_functions/15_hermite/check_value.cc: New. | |
197 | * testsuite/special_functions/15_hermite/compile.cc: New. | |
198 | * testsuite/special_functions/15_hermite/compile_2.cc: New. | |
199 | * testsuite/special_functions/16_laguerre/check_nan.cc: New. | |
200 | * testsuite/special_functions/16_laguerre/check_value.cc: New. | |
201 | * testsuite/special_functions/16_laguerre/compile.cc: New. | |
202 | * testsuite/special_functions/16_laguerre/compile_2.cc: New. | |
203 | * testsuite/special_functions/17_legendre/check_nan.cc: New. | |
204 | * testsuite/special_functions/17_legendre/check_value.cc: New. | |
205 | * testsuite/special_functions/17_legendre/compile.cc: New. | |
206 | * testsuite/special_functions/17_legendre/compile_2.cc: New. | |
207 | * testsuite/special_functions/18_riemann_zeta/check_nan.cc: New. | |
208 | * testsuite/special_functions/18_riemann_zeta/check_value.cc: New. | |
209 | * testsuite/special_functions/18_riemann_zeta/compile.cc: New. | |
210 | * testsuite/special_functions/18_riemann_zeta/compile_2.cc: New. | |
211 | * testsuite/special_functions/19_sph_bessel/check_nan.cc: New. | |
212 | * testsuite/special_functions/19_sph_bessel/check_value.cc: New. | |
213 | * testsuite/special_functions/19_sph_bessel/compile.cc: New. | |
214 | * testsuite/special_functions/19_sph_bessel/compile_2.cc: New. | |
215 | * testsuite/special_functions/20_sph_legendre/check_nan.cc: New. | |
216 | * testsuite/special_functions/20_sph_legendre/check_value.cc: New. | |
217 | * testsuite/special_functions/20_sph_legendre/compile.cc: New. | |
218 | * testsuite/special_functions/20_sph_legendre/compile_2.cc: New. | |
219 | * testsuite/special_functions/21_sph_neumann/check_nan.cc: New. | |
220 | * testsuite/special_functions/21_sph_neumann/check_value.cc: New. | |
221 | * testsuite/special_functions/21_sph_neumann/compile.cc: New. | |
222 | * testsuite/special_functions/21_sph_neumann/compile_2.cc: New. | |
223 | * testsuite/util/specfun_testcase.h: New. | |
224 | * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases. | |
225 | * testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto. | |
226 | * testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto. | |
227 | * testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto. | |
228 | * testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto. | |
229 | * testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto. | |
230 | * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New. | |
231 | ||
39a1d8c8 JW |
232 | 2016-01-13 Jonathan Wakely <jwakely@redhat.com> |
233 | ||
234 | PR libstdc++/48891 | |
235 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf | |
236 | and isnan functions. | |
237 | * config.h.in: Regenerate. | |
238 | * configure: Regenerate. | |
239 | * include/c_global/cmath (isinf(double), isnan(double)) | |
240 | [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive. | |
241 | * testsuite/26_numerics/headers/cmath/48891.cc: New. | |
242 | ||
e862906c RO |
243 | 2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
244 | ||
245 | PR libstdc++/66006 | |
246 | * configure.host (abi_baseline_pair): Use separate baseline for | |
247 | Solaris 11+ and Solaris 10 with gld. | |
248 | * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file. | |
249 | * config/abi/post/solaris2.11/baseline_symbols.txt: New file. | |
250 | * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file. | |
251 | ||
26b5ace7 DK |
252 | 2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com> |
253 | ||
254 | PR libstdc++/68877 | |
255 | * include/std/type_traits: Following N4511, reimplement __is_swappable | |
256 | and __is_nothrow_swappable. Move __is_swappable to namespace std, | |
257 | adjust callers. Use __is_nothrow_swappable in swap. | |
258 | * include/bits/move.h: Use __is_nothrow_swappable in swap. | |
259 | * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove | |
260 | __is_swappable related tests. | |
261 | * testsuite/20_util/is_swappable/value.cc: New. | |
262 | * testsuite/20_util/is_swappable/requirements/ | |
263 | explicit_instantiation.cc: New. | |
264 | * testsuite/20_util/is_swappable/requirements/typedefs.cc: New. | |
265 | * testsuite/25_algorithms/swap/68877.cc: New. | |
266 | ||
1c3c7c41 JW |
267 | 2016-01-12 Jonathan Wakely <jwakely@redhat.com> |
268 | ||
bd285a8b JW |
269 | * testsuite/20_util/function/68995.cc: Test reference_wrapper cases. |
270 | ||
1c3c7c41 JW |
271 | PR libstdc++/69005 |
272 | PR libstdc++/69222 | |
273 | * include/std/functional (function::_Invoke): Remove, use result_of. | |
274 | (function::_Callable): Replace alias template with class template | |
275 | and use partial specialization instead of _NotSelf alias template. | |
276 | (function(_Functor)): Add "not self" constraint so that _Callable is | |
277 | not used while type is incomplete. | |
278 | * testsuite/20_util/function/69222.cc: New. | |
279 | ||
1517bc30 JW |
280 | 2016-01-11 Jonathan Wakely <jwakely@redhat.com> |
281 | ||
282 | PR libstdc++/60976 | |
283 | * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>): | |
284 | Define partial specialization. | |
285 | * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and | |
286 | destroy members to std::allocator explicit specialization. | |
287 | ||
e525d78c JW |
288 | 2016-01-08 Jonathan Wakely <jwakely@redhat.com> |
289 | ||
8babc12b JW |
290 | * testsuite/26_numerics/headers/cmath/ |
291 | c99_classification_macros_c++.cc: Rename to ... | |
292 | * testsuite/26_numerics/headers/cmath/ | |
293 | c99_classification_macros_c++98.cc: Here and add -std=gnu++98. | |
294 | * testsuite/26_numerics/headers/cmath/ | |
295 | c99_classification_macros_c++0x.cc: Rename to ... | |
296 | * testsuite/26_numerics/headers/cmath/ | |
297 | c99_classification_macros_c++11.cc: Here. | |
298 | ||
32a8c97f | 299 | PR libstdc++/69190 |
e525d78c JW |
300 | * include/bits/uses_allocator.h: Add missing include. |
301 | ||
f885fa89 JW |
302 | 2016-01-07 Jonathan Wakely <jwakely@redhat.com> |
303 | ||
304 | PR libstdc++/69105 | |
305 | PR libstdc++/69106 | |
306 | PR libstdc++/69114 | |
307 | * include/bits/stl_iterator.h (back_insert_iterator, | |
308 | front_insert_iterator, insert_iterator): Use __addressof (LWG 2324). | |
309 | * include/bits/uses_allocator.h (__use_alloc): Use __addressof. | |
310 | * include/std/future (__future::base::_State_baseV2::__setter): | |
311 | Likewise. | |
312 | * include/std/scoped_allocator (__outermost): Likewise. | |
313 | * testsuite/20_util/scoped_allocator/69114.cc: New. | |
314 | * testsuite/20_util/uses_allocator/69114.cc: New. | |
315 | * testsuite/30_threads/promise/69106.cc: New. | |
316 | ||
0c3e5dd1 JW |
317 | 2016-01-06 Jonathan Wakely <jwakely@redhat.com> |
318 | ||
373a75fb JW |
319 | PR libstdc++/69092 |
320 | * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>): | |
321 | Remove _GLIBCXX_NOEXCEPT. | |
322 | testsuite/21_strings/basic_string/cons/char/69092.cc: New. | |
323 | ||
0c3e5dd1 JW |
324 | * include/Makefile.am: Adjust. |
325 | * include/Makefile.in: Regenerate. | |
326 | * include/bits/mutex.h: Rename to bits/std_mutex.h. | |
327 | * include/std/condition_variable: Adjust include. | |
328 | * include/std/mutex: Likewise. | |
329 | ||
818ab71a | 330 | 2016-01-04 Jakub Jelinek <jakub@redhat.com> |
5624e564 JJ |
331 | |
332 | Update copyright years. | |
b4df5e92 | 333 | \f |
818ab71a | 334 | Copyright (C) 2016 Free Software Foundation, Inc. |
b4df5e92 JW |
335 | |
336 | Copying and distribution of this file, with or without modification, | |
337 | are permitted in any medium without royalty provided the copyright | |
338 | notice and this notice are preserved. |