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