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