]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/ChangeLog
vsx.md (VSINT_84): Add DImode to enable loading DImode constants with XXSPLTIB in...
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
373c0095
FD
12016-06-07 François Dumont <fdumont@gcc.gnu.org>
2
3 * include/std/tuple (_Head_base<>): Default specialization condition at
4 type declaration.
5
dbc6221f
VV
62016-06-06 Ville Voutilainen <ville.voutilainen@gmail.com>
7
8 Support allocators in tuples of zero size.
9 * include/std/tuple (tuple<>::tuple(),
10 tuple<>::tuple(allocator_arg_t, const _Alloc&),
11 tuple<>::tuple(allocator_arg_t, const _Alloc&, const tuple&)): New.
12 * testsuite/20_util/tuple/cons/allocators.cc: Adjust.
13
94229fb6
JW
142016-06-06 Jonathan Wakely <jwakely@redhat.com>
15
16 PR libstdc++/71320
17 * src/filesystem/ops.cc (permissions(const path&, perms, error_code&)):
18 Add or remove permissions according to perms argument.
19 * testsuite/experimental/filesystem/operations/permissions.cc: New
20 test.
21
7a667453
VV
222016-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
23
24 Protect allocator-overloads of tuple-from-tuple constructors
25 from cases that would create dangling references.
26 * include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
27 const tuple<_UElements...>&), tuple(allocator_arg_t, const _Alloc&,
28 tuple<_UElements...>&&)): Add a check for _NonNestedTuple.
29 * testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Adjust.
30
4acc3634
GP
312016-05-29 Gerald Pfeifer <gerald@pfeifer.com>
32
33 * doc/xml/manual/backwards_compatibility.xml: Adjust
34 lists.debian.org link to https.
35 * doc/html/manual/backwards.html: Regenerate.
36
9020909e
JW
372016-05-27 Jonathan Wakely <jwakely@redhat.com>
38
39 * doc/xml/manual/abi.xml: Adjust URL to use https.
40 * doc/html/manual/*: Regenerate.
41
b7021006
VV
422016-05-27 Ville Voutilainen <ville.voutilainen@gmail.com>
43
44 PR libstdc++/66338
45 * include/std/tuple (_TMC): Add a check for _NotSameTuple.
46 * include/std/tuple (tuple(_UElements&&...)): Remove the separate
47 check for _NotSameTuple.
48 * include/std/tuple (_TMCT): New.
49 * include/std/tuple (tuple(const tuple<_UElements...>&)): Use it.
50 * include/std/tuple (tuple(tuple<_UElements...>&&)): Likewise.
51 * include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
52 const tuple<_UElements...>&)): Likewise.
53 * include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
54 tuple<_UElements...>&&)): Likewise.
55 * testsuite/20_util/tuple/cons/66338.cc: New.
56
834f4c43
JW
572016-05-25 Jonathan Wakely <jwakely@redhat.com>
58
c42d2288
JW
59 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Fix test for sendfile.
60 * configure: Regenerate.
61 * config.h.in: Regenerate.
62
834f4c43
JW
63 * include/bits/c++config (_GLIBCXX14_USE_CONSTEXPR): Remove it.
64 * include/bits/hashtable_policy.h (_Power2_rehash_policy::_M_next_bkt):
65 Remove const qualification on function. Replace
66 _GLIBCXX14_USE_CONSTEXPR on automatic variables with const.
67 (_Power2_rehash_policy::_M_need_rehash): Remove const qualification.
68 (_Power2_rehash_policy::_M_next_bkt): Remove mutable specifier.
69
732eb076
FD
702016-05-24 François Dumont <fdumont@gcc.gnu.org>
71
72 * include/bits/c++config (_GLIBCXX14_USE_CONSTEXPR): New.
73 * include/bits/hashtable_policy.h
74 (_Prime_rehash_policy::__has_load_factor): New. Mark rehash policy
75 having load factor management.
76 (_Mask_range_hashing): New.
77 (__clp2): New.
78 (_Power2_rehash_policy): New.
79 (_Inserts<>): Remove last template parameter, _Unique_keys, so that
80 partial specializations only depend on whether iterators are constant
81 or not.
82 * testsuite/23_containers/unordered_set/hash_policy/26132.cc: Adapt to
83 test new hash policy.
84 * testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
85 Likewise.
86 * testsuite/23_containers/unordered_set/hash_policy/rehash.cc:
87 Likewise.
88 * testsuite/23_containers/unordered_set/insert/hash_policy.cc:
89 Likewise.
90 * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
91 Likewise.
92 * testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc:
93 New.
94 * testsuite/performance/23_containers/insert/54075.cc: Add benchmark
95 using the new hash policy.
96 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
97
8be062c6
JW
982016-05-24 Jonathan Wakely <jwakely@redhat.com>
99
100 * include/bits/stl_queue.h (priority_queue::value_compare): Define.
101
447caf82
FD
1022016-05-23 François Dumont <fdumont@gcc.gnu.org>
103
104 * include/debug/safe_iterator.h
105 (_Safe_iterator<>::operator->()): Implement using underlying iterator
106 operator ->.
107 * include/debug/safe_local_iterator.h
108 (_Safe_local_iterator<>::operator->()): Likewise.
109
11f8114b
TP
1102016-05-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
111
112 * testsuite/experimental/memory_resource/1.cc: Add required argument
113 to dg-require-atomic-builtins.
114
541a9b10
JW
1152016-05-13 Jonathan Wakely <jwakely@redhat.com>
116
117 PR libstdc++/71073
118 * include/debug/bitset: Add #pragma GCC system_header.
119 * include/debug/deque: Likewise.
120 * include/debug/list: Likewise.
121 * include/debug/map: Likewise.
122 * include/debug/set: Likewise.
123 * include/debug/string: Likewise.
124 * include/debug/unordered_map: Likewise.
125 * include/debug/unordered_set: Likewise.
126 * include/debug/vector: Likewise.
127 * include/debug/functions.h: Adjust whitespace.
128
068b220e
JW
1292016-05-12 Jonathan Wakely <jwakely@redhat.com>
130
131 PR libstdc++/71081
132 * testsuite/experimental/memory_resource/1.cc: Require atomics.
133
3d73ae6e
JW
1342016-05-11 Jonathan Wakely <jwakely@redhat.com>
135
136 PR libstdc++/71049
137 * src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_DUAL_ABI]: Don't define
138 exception constructors with __sso_string parameters.
139
d7187f9e
JW
1402016-05-10 Jonathan Wakely <jwakely@redhat.com>
141
7f99d40a
JW
142 * include/experimental/bits/fs_dir.h (begin, end): Add noexcept.
143 * testsuite/experimental/filesystem/iterators/directory_iterator.cc:
144 Test begin and end functions.
145 * testsuite/experimental/filesystem/iterators/
146 recursive_directory_iterator.cc: Likewise.
147
6fe673ad
JW
148 PR libstdc++/71038
149 * src/filesystem/ops.cc (do_copy_file): Fix backwards conditions.
150 * testsuite/experimental/filesystem/operations/copy_file.cc: New test.
151
77a87b2a
JW
152 * include/experimental/bits/fs_dir.h (__directory_iterator_proxy):
153 Overload operator* to move from rvalues.
154
f9a39467
JW
155 PR libstdc++/71036
156 * src/filesystem/ops.cc (create_dir): Handle EEXIST from mkdir.
157 * testsuite/experimental/filesystem/operations/create_directory.cc:
158 New test.
159
6f0800d4
JW
160 PR libstdc++/71037
161 * src/filesystem/ops.cc (canonical(const path&, const path&)): Add
162 base path to exception.
163 * testsuite/experimental/filesystem/operations/canonical.cc: Test
164 paths contained in exception.
165
f10b2e1c
JW
166 * testsuite/experimental/type_erased_allocator/2.cc: Remove unused
167 using declaration.
168
d7187f9e
JW
169 PR libstdc++/71005
170 * include/experimental/bits/fs_dir.h (__directory_iterator_proxy):
171 New type.
172 (directory_iterator::operator++(int)): Return proxy.
173 (recursive_directory_iterator::operator++(int)): Likewise.
174 * testsuite/experimental/filesystem/iterators/directory_iterator.cc:
175 Test post-increment.
176 * testsuite/experimental/filesystem/iterators/
177 recursive_directory_iterator.cc: Likewise.
178
7972e246
JW
1792016-05-09 Jonathan Wakely <jwakely@redhat.com>
180
181 PR libstdc++/71004
182 * testsuite/experimental/filesystem/iterators/
183 recursive_directory_iterator.cc: Fix test02 to not call member
184 functions on invalid iterator, and use VERIFY not assert.
185
fb334765
VV
1862016-05-09 Ville Voutilainen <ville.voutilainen@gmail.com>
187
188 Avoid endless run-time recursion for copying single-element
189 tuples where the element type is by-value constructible
190 from any type.
191 * include/std/tuple (_NotSameTuple): New.
192 * include/std/tuple (tuple(_UElements&&...): Use it.
193 * testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc: New.
194
e4cce0ce
JW
1952016-05-09 Jonathan Wakely <jwakely@redhat.com>
196
197 PR libstdc++/71004
198 * include/experimental/bits/fs_dir.h (recursive_directory_iterator):
199 Initialize scalar member variables in default constructor.
200 * testsuite/experimental/filesystem/iterators/
d7187f9e 201 recursive_directory_iterator.cc: Test default construction.
e4cce0ce 202
40436d81
RO
2032016-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
204
205 * testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*.
206
f5c40ce2
JW
2072016-05-05 Jonathan Wakely <jwakely@redhat.com>
208
209 * testsuite/experimental/filesystem/path/native/string.cc: Add
210 dg-require-filesystem-ts directive.
211
d9cb3e75
JW
2122016-05-04 Jonathan Wakely <jwakely@redhat.com>
213
214 PR libstdc++/70940
215 * include/experimental/memory_resource
216 (__resource_adaptor_imp::do_allocate): Do not default-construct
217 rebound allocator.
218 (__resource_adaptor_imp::do_deallocate): Likewise. Use
219 allocator_traits to get pointer type.
220 (__null_memory_resource::do_allocate): Remove unused parameters.
221 (__null_memory_resource::do_deallocate): Likewise.
222 (__null_memory_resource::do_is_equal): Likewise. Add return statement.
223 * testsuite/experimental/type_erased_allocator/1.cc: Combine with ...
224 * testsuite/experimental/type_erased_allocator/1_neg.cc: This, and
225 move to ...
226 * testsuite/experimental/memory_resource/1.cc: Here.
227 * testsuite/experimental/memory_resource/null_memory_resource.cc: New.
228 * testsuite/experimental/memory_resource/resource_adaptor.cc: New.
229
f92ab29f
CG
2302016-04-29 Chris Gregory <czipperz@gmail.com>
231
232 * config/*: Remove trailing whitespace.
233 * src/*: Likewise.
234 * testsuite/tr1/*: Likewise.
235 * testsuite/util/*: Likewise.
236
272b2ce4
JW
2372016-04-28 Jonathan Wakely <jwakely@redhat.com>
238
9f9eb84e
JW
239 PR libstdc++/70766
240 * include/bits/basic_ios.tcc (basic_ios::_M_cache_locale): Use
241 __addressof.
242 * include/bits/stream_iterator.h (istream_iterator, ostream_iterator):
243 Likewise.
244 * include/std/atomic (atomic<_Tp>): Likewise.
245 * include/std/shared_mutex (shared_lock): Likewise.
246 * testsuite/24_iterators/istream_iterator/70766.cc: New test.
247 * testsuite/24_iterators/ostream_iterator/70766.cc : New test.
248 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
249 * testsuite/29_atomics/atomic/70766.cc: New test.
250 * testsuite/30_threads/shared_lock/70766.cc: New test.
251
272b2ce4
JW
252 * include/bits/hashtable_policy.h (__detail::_Insert_base,
253 __detail::_Insert): Improve comments.
254
45e20696
JW
2552016-04-27 Jonathan Wakely <jwakely@redhat.com>
256
257 PR libstdc++/70767
258 * include/std/limits: Update comments about DRs.
259 (numeric_limits<const _Tp>, numeric_limits<volatile _Tp>,
260 numeric_limits<const volatile _Tp>): Define unconditionally.
261
a635cdb2
JW
2622016-04-24 Jonathan Wakely <jwakely@redhat.com>
263
264 PR libstdc++/70762
265 * testsuite/util/testsuite_fs.h (__gnu_test::nonexistent_path): Use
266 static counter to return a different path on every call.
267
216f7526
TS
2682016-04-22 Tim Shen <timshen@google.com>
269
270 PR libstdc++/70745
271 * include/bits/regex_executor.tcc (_Executor<>::_M_word_boundary):
272 Fix the match_not_bow and match_not_eow behavior.
273 * testsuite/28_regex/regression.cc: Add testcase.
274
a1e1ec76
JW
2752016-04-20 Jonathan Wakely <jwakely@redhat.com>
276
277 PR libstdc++/69703
278 * src/c++11/codecvt.cc (__codecvt_utf8_base<char16_t>::do_in,
279 __codecvt_utf8_utf16_base<char16_t>::do_in): Fix mask operations.
280
9c476ad4
JW
2812016-04-19 Jonathan Wakely <jwakely@redhat.com>
282
29ca91f7 283 PR libstdc++/69703
a1e1ec76 284 * src/c++11/codecvt.cc (__codecvt_utf8_base<char16_t>::do_in):
29ca91f7
JW
285 Override endianness bit in mode.
286 * testsuite/22_locale/codecvt/codecvt_utf8/69703.cc: New test.
287 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: Test
288 that little_endian mode is ignored.
289 * testsuite/experimental/filesystem/path/native/string.cc: New test.
290
14905251
JW
291 PR libstdc++/70609
292 * src/filesystem/ops.cc (close_fd): New function.
293 (do_copy_file): Set permissions before copying file contents. Check
294 result of closing file descriptors. Don't copy streambuf when file
295 is empty.
296 (copy(const path&, const path&, copy_options, error_code&)): Use
297 lstat for source file when copy_symlinks is set.
298 * testsuite/experimental/filesystem/operations/copy.cc: Test copy().
299
9c476ad4
JW
300 * include/experimental/bits/fs_fwd.h (operator&, operator|, operator^,
301 operator~ operator&=, operator|=, operator^=): Add noexcept to
302 overloaded operators for copy_options, perms and directory_options.
303 * src/filesystem/ops.cc (make_file_type, make_file_status,
304 is_not_found_errno, file_time): Add noexcept.
305
d855ad89
ESR
3062016-04-19 Edward Smith-Rowland <3dw4rd@verizon.net>
307
308 * include/bits/c++14_warning.h: Do not refer C++14 as experimental.
309
8dc1e574
JW
3102016-04-18 Jonathan Wakely <jwakely@redhat.com>
311
0cded43d
JW
312 PR libstdc++/41759
313 * include/bits/random.h: Reword static assertion messages to state
314 positive conditions.
315 * include/bits/random.tcc: Likewise.
316 * include/bits/uniform_int_dist.h: Likewise.
317 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error
318 patterns.
319
90751aa7
JW
320 * include/std/function (_Bind, _Bind_result): Remove unused typedefs.
321
351a5f81
JW
322 * config/cpu/sh/atomicity.h: Fix typo in comment.
323
b05cf382
JW
324 PR libstdc++/70294
325 * include/std/thread (operator<, operator==): Move definitions to
326 namespace-scope.
327 * testsuite/30_threads/thread/id/70294.cc: New test.
328
4ed6e524
JW
329 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
330 -Wno-pedantic to dg-options.
331 * testsuite/20_util/align/2.cc: Use type as operand of alignof.
332 * testsuite/20_util/is_floating_point/value.cc: Add -Wno-pedantic
333 to dg-options.
334 * testsuite/20_util/specialized_algorithms/uninitialized_fill/32158.cc:
335 Remove extra semi-colon.
336 * testsuite/23_containers/array/tuple_interface/tuple_element.cc:
337 Always supply second argument to static_assert.
338 * testsuite/25_algorithms/lower_bound/no_operator_ne.cc: Remove extra
339 semi-colon.
340 * testsuite/26_numerics/complex/c99.cc: Add -Wno-pedantic to
341 dg-options.
342 * testsuite/26_numerics/complex/literals/values.cc: Likewise.
343 * testsuite/29_atomics/atomic/60695.cc: Likewise.
344 * testsuite/29_atomics/atomic/62259.cc: use __alignof__ instead of
345 alignof when operand is an object not a type.
346 * testsuite/decimal/ctor.cc: Add -Wno-pedantic to dg-options.
347 * testsuite/decimal/make-decimal.cc: Likewise.
348 * testsuite/experimental/type_traits/value.cc: Always supply second
349 argument to static_assert.
350 * testsuite/util/testsuite_common_types.h: Use __extension__ for
351 __int128 types.
352
abb6e0a1
JW
353 * testsuite/experimental/type_erased_allocator/1.cc: Don't include
354 internal header.
355 * testsuite/experimental/type_erased_allocator/1_neg.cc: Likewise.
356 * testsuite/experimental/type_erased_allocator/2.cc: Likewise.
357 * testsuite/experimental/type_erased_allocator/uses_allocator.cc:
358 Likewise. Add licence and change to compile-only test.
359
6b6147dd
JW
360 * include/bits/locale_facets.h (ctype::do_narrow): Add attribute to
361 unused parameter.
362 * include/bits/regex_automaton.h (_NFA::_M_insert_alt): Likewise.
363
8dc1e574
JW
364 * include/ext/string_conversions.h (__stoa): Avoid -Wsign-compare
365 warnings.
366
80dbaf98
ESR
3672016-04-17 Edward Smith-Rowland <3dw4rd@verizon.net>
368
369 * include/bits/specfun.h: Trivial comment misspelling.
370
9f285ccb
JM
3712016-04-14 Jason Merrill <jason@redhat.com>
372
373 Revert Jonathan's empty ABI change from yesterday.
374
342fac95
MS
3752016-04-13 Martin Sebor <msebor@redhat.com>
376
377 PR c++/69517
378 * testsuite/25_algorithms/rotate/moveable2.cc: Make sure VLA
379 upper bound is positive.
380
a6297ab5
JW
3812016-04-13 Jonathan Wakely <jwakely@redhat.com>
382
383 * include/bits/c++config (_GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES,
384 _GLIBCXX_END_NAMESPACE_EMPTY_TYPES, _GLIBCXX_ABI_TAG_EMPTY): Define.
385 * include/bits/hashtable.h (_Hashtable::_M_emplace): Change signatures
386 of functions taking empty structs by value. Add a template parameter
387 to overloads without hints. Rename overloads with hints to
388 _M_emplace_hint.
389 (_Hashtable::_M_erase(true_type, const_iterator),
390 _Hashtable::_M_erase(false_type, const_iterator)): Change signatures
391 by reordering parameters.
392 * include/bits/hashtable_policy.h (_Insert::insert): Adjust to call
393 _M_emplace_hint instead of _M_emplace.
394 * include/bits/shared_ptr.h (shared_ptr(_Tp1*, _Deleter, _Alloc),
395 shared_ptr(nullptr_t, _Deleter, _Alloc)): Use _GLIBCXX_ABI_TAG_EMPTY.
396 * include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count,
397 __shared_ptr): Likewise.
398 * include/bits/stl_algo.h (replace_if): Likewise.
399 * include/bits/stl_pair.h (piecewise_construct_t,
400 piecewise_construct): Use _GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES.
401 * include/bits/uses_allocator.h (allocator_arg_t, allocator_arg,
402 __uses_alloc0): Likewise.
403 * include/ext/pb_ds/assoc_container.hpp (basic_hash_table): Likewise.
404 * testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust dg-error.
405 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
406 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
407 * testsuite/20_util/uses_allocator/69293_neg.cc: Likewise.
408 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
409 * testsuite/ext/profile/mutex_extensions_neg.cc: Likewise.
410
0c39f36d
ESR
4112016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net>
412
413 Document C++17/TR29124 C++ Special Math Functions.
414 * include/bits/specfun.h: Add Doxygen markup.
415
6da8b931
JW
4162016-04-07 Jonathan Wakely <jwakely@redhat.com>
417
418 * testsuite/30_threads/thread/70503.cc: Adjust from xfail to pass.
419
49a52ebc
EB
4202016-04-06 Eric Botcazou <ebotcazou@adacore.com>
421
422 * src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null.
423 * src/Makefile.in: Regenerate.
424
87cec93e
JW
4252016-04-05 Jonathan Wakely <jwakely@redhat.com>
426
d2aee115
JW
427 PR libstdc++/70554
428 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test
429 __atomic_fetch_add for bool.
430 * configure: Regenerate.
431
d5ec69f3
JW
432 * testsuite/30_threads/thread/70503.cc: Require -static to work.
433
87cec93e
JW
434 PR libstdc++/70503
435 * src/c++11/thread.cc (execute_native_thread_routine,
436 execute_native_thread_routine_compat): Give internal linkage.
437 * testsuite/30_threads/thread/70503.cc: New test.
438
7b3318c4
VV
4392016-04-05 Ville Voutilainen <ville.voutilainen@gmail.com>
440
441 PR libstdc++/70437
442 * include/bits/stl_pair.h (_ConstructiblePair,
443 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
444 _ImplicitlyMoveConvertiblePair): Add shortcut conditions
445 for same-type cases.
446 * testsuite/20_util/pair/70437.cc: New.
447
00e6c25a
JW
4482016-03-24 Jonathan Wakely <jwakely@redhat.com>
449
450 PR libstdc++/69945
451 * config/abi/pre/gnu.ver: Add new symbol.
452 * libsupc++/eh_alloc.cc (__gnu_cxx::__freeres): Define.
453 * testsuite/18_support/free_eh_pool.cc: New test.
454
bfd84e6b
BE
4552016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
456
457 * include/Makefile.am (install-freestanding-headers): Add
458 concept_check.h and move.h to the installed headers.
459 * include/Makefile.in: Regenerated.
460 * include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
461 freestanding implementations.
462 * doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
463 that this macro has no effect for freestanding implementations.
464 * doc/html/manual/using_macros.html: Likewise.
465
86715b09
JW
4662016-02-24 Jonathan Wakely <jwakely@redhat.com>
467
468 PR libstdc++/69939
469 * include/experimental/tuple (__apply_impl): Qualify get and forward.
470
9aee022e
JW
4712016-02-23 Jonathan Wakely <jwakely@redhat.com>
472
be9967e8
JW
473 * doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__.
474 * doc/html/*: Regenerate.
475
9aee022e
JW
476 PR libstdc++/69893
477 * include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
478 exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
479 llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
480 nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
481 trunc) [__cplusplus >= 201103L]: Import from namespace std.
482 (fabs) [__cplusplus < 201103L]: Import from namespace std.
483 * include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
484 Likewise.
485 * testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
486 namespace before including TR1 headers.
487 * testsuite/tr1/headers/c++200x/math.cc: New test.
488
5f6dd593
BE
4892016-02-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
490
491 PR libstdc++/69881
492 * include/c_global/cstdarg: Undefine __need___va_list.
493 * include/c_global/cstddef: Undefine all kinds of __need_*.
494
244901a5
TS
4952016-02-16 Tim Shen <timshen@google.com>
496
497 PR libstdc++/69794
498 * include/bits/regex_scanner.h: Add different special character
499 sets for grep and egrep regex.
500 * include/bits/regex_scanner.tcc: Use _M_spec_char more uniformly.
501 * testsuite/28_regex/regression.cc: Add new testcase.
502
cc07da33
JW
5032016-02-08 Jonathan Wakely <jwakely@redhat.com>
504
2158532f
JW
505 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Remove accidentally
506 added 'constexpr' in previous commit.
507 * configure: Regenerate.
508
cc07da33
JW
509 PR libstdc++/48891
510 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Enable isinf and isnan
511 checks for all targets except *-*-solaris2.* and ensure we find the
512 libc math.h header not our own.
513 * configure: Regenerate.
514
acc04646
DV
5152016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
516
517 * config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt (FUNC):
518 New file. Copied over from s390-linux-gnu.
519
dbcda3ee
JW
5202016-02-04 Jonathan Wakely <jwakely@redhat.com>
521
3555173f
JW
522 PR libstdc++/69626
523 * acinclude.m4 (GLIBCXX_ENABLE_C99): Check C99 stdlib.h functions
524 with -std=c++98 and define _GLIBCXX98_USE_C99_STDLIB.
525 * config.h.in: Regenerate.
526 * configure: Regenerate.
527 * testsuite/21_strings/c_strings/char/69626.cc: New.
528
15ebf379
JW
529 * doc/html/index.html: Regenerate.
530
dbcda3ee
JW
531 * doc/xml/manual/containers.xml: Add cross-reference to Dual ABI.
532 * doc/xml/manual/spine.xml: Update copyright years and author blurb.
533 * doc/html/*: Regenerate.
534
571512d5
BE
5352016-02-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
536
537 PR libstdc++/69581
538 * include/c_compatibility/math.h: Move header guards.
539 * include/c_compatibility/stdlib.h: Likewise.
540
f597d5f7
JW
5412016-01-29 Jonathan Wakely <jwakely@redhat.com>
542
543 PR libstdc++/69506
544 * config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
545
69b0daeb
JDA
5462016-01-28 John David Anglin <danglin@gcc.gnu.org>
547
548 PR libstdc++/69450
549 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete
550 isinf and isnan functions into two independent checks. Check on hpux.
551 * config.h.in: Regenerate.
552 * configure: Regenerate.
553 * include/c_global/cmath (isinf(double), isnan(double)): Use
554 _GLIBCXX_HAVE_OBSOLETE_ISINF and _GLIBCXX_HAVE_OBSOLETE_ISNAN,
555 respectively.
556
8dc781e4
JJ
5572016-01-27 Jakub Jelinek <jakub@redhat.com>
558
559 * testsuite/libstdc++-prettyprinters/whatis.cc: Include <random>.
560
bae87f7f
JW
5612016-01-27 Jonathan Wakely <jwakely@redhat.com>
562
563 PR libstdc++/69295
564 * testsuite/ext/special_functions/hyperg/check_value.cc: Use
565 -ffp-contract=off, and -ffloat-store to disable excess precision.
566 * testsuite/special_functions/02_assoc_legendre/check_value.cc: Use
567 -ffp-contract=off.
568
f1d591e8
JW
5692016-01-26 Jonathan Wakely <jwakely@redhat.com>
570
571 PR libstdc++/69478
572 * include/bits/stl_algobase.h (__copy_move<_IsMove, true,
573 random_access_iterator_tag>): Check is_move_assignable when moving.
574 (__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
575 Likewise.
576 * testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
577 * testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
578 * testsuite/25_algorithms/move/69478.cc: New.
579 * testsuite/25_algorithms/move_backward/69478.cc: new.
580
8964d2a0
AP
5812016-01-26 Andris Pavenis <andris.pavenis@iki.fi>
582
583 * include/c_compatibility/stdlib.h: Include wide character related
584 definitions only when they are available in cstdlib.
585
2944621e
JW
5862016-01-25 Jonathan Wakely <jwakely@redhat.com>
587
588 PR libstdc++/69464
589 * include/Makefile.am: Add new header.
590 * include/Makefile.in: Regenerate.
591 * include/bits/random.h (uniform_int_distribution): Move to
592 bits/uniform_int_dist.h.
593 * include/bits/random.tcc (uniform_int_distribution::operator(),
594 uniform_int_distribution::__generate_impl): Likewise.
595 * include/bits/uniform_int_dist.h: New header.
596 * include/bits/stl_algo.h [__cplusplus >= 201103L]: Include
597 <bits/uniform_int_dist.h> instead of <random>.
598 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
599 move_iterators/1.cc: Include correct header for uninitialized_copy.
600 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
601 move_iterators/1.cc: Likewise.
602 * testsuite/25_algorithms/nth_element/58800.cc: Include correct
603 header for vector.
604 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lines.
605
3676c087
JDA
6062016-01-23 John David Anglin <danglin@gcc.gnu.org>
607
608 PR libstdc++/69446
609 * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
610
02dc2419
ESR
6112016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net>
612
613 TR29124 C++ Special Math - <math.h> pulls funcs into global namespace.
614 * include/c_compatibility/math.h: Import the TR29124 functions
615 into the global namespace.
616 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: Remove
617 xfail and make compile-only.
618 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: Ditto.
619 * testsuite/special_functions/03_beta/compile_2.cc: Ditto.
620 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Ditto.
621 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Ditto.
622 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Ditto.
623 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Ditto.
624 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Ditto.
625 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Ditto.
626 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: Ditto.
627 * testsuite/special_functions/11_ellint_1/compile_2.cc: Ditto.
628 * testsuite/special_functions/12_ellint_2/compile_2.cc: Ditto.
629 * testsuite/special_functions/13_ellint_3/compile_2.cc: Ditto.
630 * testsuite/special_functions/14_expint/compile_2.cc: Ditto.
631 * testsuite/special_functions/15_hermite/compile_2.cc: Ditto.
632 * testsuite/special_functions/16_laguerre/compile_2.cc: Ditto.
633 * testsuite/special_functions/17_legendre/compile_2.cc: Ditto.
634 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: Ditto.
635 * testsuite/special_functions/19_sph_bessel/compile_2.cc: Ditto.
636 * testsuite/special_functions/20_sph_legendre/compile_2.cc: Ditto.
637 * testsuite/special_functions/21_sph_neumann/compile_2.cc: Ditto.
638
350fe282
JW
6392016-01-22 Jonathan Wakely <jwakely@redhat.com>
640
d1fb377c
JW
641 PR libstdc++/69116
642 * include/bits/valarray_before.h (__fun, __fun_with_valarray): Only
643 define result_type for types which can be safely used with valarrays.
644 * testsuite/26_numerics/valarray/69116.cc: New.
645
350fe282
JW
646 PR libstdc++/69413
647 * config/os/gnu-linux/os_defines.h: Define
648 _GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC.
649 * include/c_global/cmath (isinf, isnan): Check it.
650 * doc/xml/manual/internals.xml: Document it.
651 * doc/html/*: Regenerate.
652
ab56cbed
JW
6532016-01-21 Jonathan Wakely <jwakely@redhat.com>
654
655 PR libstdc++/69406
656 * include/bits/cpp_type_traits.h: Ensure C++ language linkage.
657 * include/ext/type_traits.h: Likewise.
658 * testsuite/17_intro/headers/c++2011/linkage.cc: Check autoconf macros
659 for presence of C headers.
660 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Adjust
661 dg-error line number.
662 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
663 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
664 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
665
7e10bcfa
TR
6662016-01-20 Torvald Riegel <triegel@redhat.com>
667
668 PR libstdc++/69310
669 * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
670
eac437bf
JW
6712016-01-20 Jonathan Wakely <jwakely@redhat.com>
672
3f93466a
JW
673 PR libstdc++/60401
674 * include/c_compatibility/math.h (acosh, asinh, atanh, acbrt,
675 copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb,
676 lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
677 nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn,
678 tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]:
679 Add using declarations.
680 * testsuite/26_numerics/headers/cmath/60401.cc: New.
681
eac437bf
JW
682 PR libstdc++/69386
683 * include/c_global/ccomplex: Ensure C++ language linkage.
684 * include/c_global/cmath: Likewise.
685 * include/c_global/cstdlib: Likewise.
686 * include/c_global/ctgmath: Likewise.
687 * testsuite/17_intro/headers/c++2011/linkage.cc: New.
688
96e19ada
JW
6892016-01-19 Jonathan Wakely <jwakely@redhat.com>
690
691 PR libstdc++/14608
692 PR libstdc++/60401
693 * include/Makefile.am: Use c_compatibility math.h and stdlib.h for
694 --enable-cheaders=c_global configs.
695 * include/Makefile.in: Regenerate.
696 * include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C
697 test and allow inclusion from C files.
698 * include/c_compatibility/stdlib.h: Likewise. Support freestanding.
699 (at_quick_exit, quick_exit): Add using directives.
700 * include/c_global/cmath: Use #include_next for math.h.
701 * include/c_global/cstdlib: Use #include_next for stdlib.h.
702 * testsuite/26_numerics/headers/cmath/14608.cc: New.
703 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
704 Remove xfail for most targets.
705 * testsuite/26_numerics/headers/cstdlib/60401.cc: New.
706
9585381a
TR
7072016-01-18 Torvald Riegel <triegel@redhat.com>
708
709 * include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New.
710 (_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use _GLIBCXX_USE_WEAK_REF
711 and move after its definition.
712 * config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override.
713 * src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of
714 __GXX_WEAK__, and only provide transactional clones if
715 _GLIBCXX_USE_WEAK_REF is true. Don't provide stubs of libitm
716 functions.
717
f5460595
JW
7182016-01-18 Jonathan Wakely <jwakely@redhat.com>
719
c91bcffc
JW
720 PR libstdc++/60637
721 * testsuite/26_numerics/headers/cmath/60637.cc: Add test.
722
d75d9f91 723 PR libstdc++/69243
9c5ad80e
JW
724 * include/std/functional (_Function_base::_M_not_empty_function):
725 Change overloads for pointers to take arguments by value.
726 * testsuite/20_util/function/cons/57465.cc: Add tests for
727 pointer-to-member cases.
728
f5460595
JW
729 PR libstdc++/69340
730 * src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions):
731 Use macros for exception handling and fix unused parameter warning.
732
271366f6
JDA
7332016-01-17 John David Anglin <danglin@gcc.gnu.org>
734
735 PR libstdc++/68734
736 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
737
7a5d1d34
TR
7382016-01-17 Torvald Riegel <triegel@redhat.com>
739
740 * src/c++11/cow-stdexcept.cc (txnal_read_ptr): Fix static_assert.
741
5445d5bf
L
7422016-01-16 H.J. Lu <hongjiu.lu@intel.com>
743
744 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Add
745 __int128 symbols.
746
3d076231
JW
7472016-01-15 Jonathan Wakely <jwakely@redhat.com>
748
d7c1581c
JW
749 PR libstdc++/69293
750 * include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add
751 static assertion that type is constructible from the arguments.
752 * testsuite/20_util/scoped_allocator/69293_neg.cc: New.
753 * testsuite/20_util/uses_allocator/69293_neg.cc: New.
754 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
755
3d076231
JW
756 PR libstdc++/69294
757 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
758 and isnan on AIX. Quote variables.
759 * configure: Regenerate.
760
a04d5fc9
TR
7612016-01-15 Torvald Riegel <triegel@redhat.com>
762
763 * include/bits/basic_string.h (basic_string): Declare friends.
764 * include/bits/c++config (_GLIBCXX_TXN_SAFE,
765 _GLIBCXX_TXN_SAFE_DYN, _GLIBCXX_USE_ALLOCATOR_NEW): New.
766 * include/std/stdexcept (logic_error, domain_error, invalid_argument,
767 length_error, out_of_range, runtime_error, range_error,
768 underflow_error, overflow_error): Declare members as transaction-safe.
769 (logic_error, runtime_error): Declare friend functions.
770 * libsupc++/exception (exception, bad_exception): Declare members as
771 transaction-safe.
772 * src/c++11/cow-stdexcept.cc: Define transactional clones for the
773 transaction-safe members of exceptions and helper functions.
774 * libsupc++/eh_exception.cc: Adjust and define transactional clones.
775 * config/abi/pre/gnu.ver (GLIBCXX_3.4.22) Add transactional clones.
776 (CXXABI_1.3.10): New.
777 * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): New.
778 (GLIBCXX_ENABLE_ALLOCATOR): Set ENABLE_ALLOCATOR_NEW.
779 * configure.ac: Call GLIBCXX_CHECK_SIZE_T_MANGLING.
780 * include/Makefile.am: Write ENABLE_ALLOCATOR_NEW to c++config.h.
781 * include/Makefile.in: Regenerate.
782 * config.h.in: Regenerate.
783 * configure: Regenerate.
784 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.10.
785
cebeb718
SE
7862016-01-15 Steve Ellcey <sellcey@imgtec.com>
787
788 * include/ext/random.tcc: Use __builtin_isfinite instead of
789 std::isfinite.
790
3b07547d
JW
7912016-01-15 Jonathan Wakely <jwakely@redhat.com>
792
793 * include/bits/std_mutex.h: Fix Doxygen @file name.
794
2be75957
ESR
7952016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
796 Jonathan Wakely <jwakely@redhat.com>
797 Florian Goth <CaptainSifff@gmx.de>
798
799 Implement TR29124 C++ special Math Functions.
800 * include/Makefile.am: Add new headers.
801 * include/Makefile.in: Regenerate.
802 * include/bits/specfun.h: New.
803 * include/c_global/cmath: Adjust for both tr1 and tr29124 maths.
804 * include/tr1/bessel_function.tcc: Ditto.
805 * include/tr1/beta_function.tcc: Ditto.
806 * include/tr1/cmath: Ditto.
807 * include/tr1/ell_integral.tcc: Ditto.
808 * include/tr1/exp_integral.tcc: Ditto.
809 * include/tr1/gamma.tcc: Ditto.
810 * include/tr1/hypergeometric.tcc: Ditto.
811 * include/tr1/legendre_function.tcc: Ditto.
812 * include/tr1/modified_bessel_func.tcc: Ditto.
813 * include/tr1/poly_hermite.tcc: Ditto.
814 * include/tr1/poly_laguerre.tcc: Ditto.
815 * include/tr1/riemann_zeta.tcc: Ditto.
816 * include/tr1/special_function_util.h: Ditto.
817 * testsuite/ext/special_functions/conf_hyperg: New.
818 * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New.
819 * testsuite/ext/special_functions/conf_hyperg/check_value.cc: New.
820 * testsuite/ext/special_functions/conf_hyperg/compile.cc: New.
821 * testsuite/ext/special_functions/hyperg: New.
822 * testsuite/ext/special_functions/hyperg/check_nan.cc: New.
823 * testsuite/ext/special_functions/hyperg/check_value.cc: New.
824 * testsuite/ext/special_functions/hyperg/compile.cc: New.
825 * testsuite/libstdc++-dg/conformance.exp: Add special_functions directory.
826 * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New.
827 * testsuite/special_functions/01_assoc_laguerre/check_value.cc: New.
828 * testsuite/special_functions/01_assoc_laguerre/compile.cc: New.
829 * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New.
830 * testsuite/special_functions/02_assoc_legendre/check_nan.cc: New.
831 * testsuite/special_functions/02_assoc_legendre/check_value.cc: New.
832 * testsuite/special_functions/02_assoc_legendre/compile.cc: New.
833 * testsuite/special_functions/02_assoc_legendre/compile_2.cc: New.
834 * testsuite/special_functions/03_beta/check_nan.cc: New.
835 * testsuite/special_functions/03_beta/check_value.cc: New.
836 * testsuite/special_functions/03_beta/compile.cc: New.
837 * testsuite/special_functions/03_beta/compile_2.cc: New.
838 * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New.
839 * testsuite/special_functions/04_comp_ellint_1/check_value.cc: New.
840 * testsuite/special_functions/04_comp_ellint_1/compile.cc: New.
841 * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New.
842 * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New.
843 * testsuite/special_functions/05_comp_ellint_2/check_value.cc: New.
844 * testsuite/special_functions/05_comp_ellint_2/compile.cc: New.
845 * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New.
846 * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New.
847 * testsuite/special_functions/06_comp_ellint_3/check_value.cc: New.
848 * testsuite/special_functions/06_comp_ellint_3/compile.cc: New.
849 * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New.
850 * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New.
851 * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New.
852 * testsuite/special_functions/07_cyl_bessel_i/compile.cc: New.
853 * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New.
854 * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New.
855 * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New.
856 * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New.
857 * testsuite/special_functions/08_cyl_bessel_j/compile.cc: New.
858 * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New.
859 * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New.
860 * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New.
861 * testsuite/special_functions/09_cyl_bessel_k/compile.cc: New.
862 * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New.
863 * testsuite/special_functions/10_cyl_neumann/check_nan.cc: New.
864 * testsuite/special_functions/10_cyl_neumann/check_value.cc: New.
865 * testsuite/special_functions/10_cyl_neumann/compile.cc: New.
866 * testsuite/special_functions/10_cyl_neumann/compile_2.cc: New.
867 * testsuite/special_functions/11_ellint_1/check_nan.cc: New.
868 * testsuite/special_functions/11_ellint_1/check_value.cc: New.
869 * testsuite/special_functions/11_ellint_1/compile.cc: New.
870 * testsuite/special_functions/11_ellint_1/compile_2.cc: New.
871 * testsuite/special_functions/12_ellint_2/check_nan.cc: New.
872 * testsuite/special_functions/12_ellint_2/check_value.cc: New.
873 * testsuite/special_functions/12_ellint_2/compile.cc: New.
874 * testsuite/special_functions/12_ellint_2/compile_2.cc: New.
875 * testsuite/special_functions/13_ellint_3/check_nan.cc: New.
876 * testsuite/special_functions/13_ellint_3/check_value.cc: New.
877 * testsuite/special_functions/13_ellint_3/compile.cc: New.
878 * testsuite/special_functions/13_ellint_3/compile_2.cc: New.
879 * testsuite/special_functions/14_expint/check_nan.cc: New.
880 * testsuite/special_functions/14_expint/check_value.cc: New.
881 * testsuite/special_functions/14_expint/compile.cc: New.
882 * testsuite/special_functions/14_expint/compile_2.cc: New.
883 * testsuite/special_functions/15_hermite/check_nan.cc: New.
884 * testsuite/special_functions/15_hermite/check_value.cc: New.
885 * testsuite/special_functions/15_hermite/compile.cc: New.
886 * testsuite/special_functions/15_hermite/compile_2.cc: New.
887 * testsuite/special_functions/16_laguerre/check_nan.cc: New.
888 * testsuite/special_functions/16_laguerre/check_value.cc: New.
889 * testsuite/special_functions/16_laguerre/compile.cc: New.
890 * testsuite/special_functions/16_laguerre/compile_2.cc: New.
891 * testsuite/special_functions/17_legendre/check_nan.cc: New.
892 * testsuite/special_functions/17_legendre/check_value.cc: New.
893 * testsuite/special_functions/17_legendre/compile.cc: New.
894 * testsuite/special_functions/17_legendre/compile_2.cc: New.
895 * testsuite/special_functions/18_riemann_zeta/check_nan.cc: New.
896 * testsuite/special_functions/18_riemann_zeta/check_value.cc: New.
897 * testsuite/special_functions/18_riemann_zeta/compile.cc: New.
898 * testsuite/special_functions/18_riemann_zeta/compile_2.cc: New.
899 * testsuite/special_functions/19_sph_bessel/check_nan.cc: New.
900 * testsuite/special_functions/19_sph_bessel/check_value.cc: New.
901 * testsuite/special_functions/19_sph_bessel/compile.cc: New.
902 * testsuite/special_functions/19_sph_bessel/compile_2.cc: New.
903 * testsuite/special_functions/20_sph_legendre/check_nan.cc: New.
904 * testsuite/special_functions/20_sph_legendre/check_value.cc: New.
905 * testsuite/special_functions/20_sph_legendre/compile.cc: New.
906 * testsuite/special_functions/20_sph_legendre/compile_2.cc: New.
907 * testsuite/special_functions/21_sph_neumann/check_nan.cc: New.
908 * testsuite/special_functions/21_sph_neumann/check_value.cc: New.
909 * testsuite/special_functions/21_sph_neumann/compile.cc: New.
910 * testsuite/special_functions/21_sph_neumann/compile_2.cc: New.
911 * testsuite/util/specfun_testcase.h: New.
912 * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases.
913 * testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto.
914 * testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto.
915 * testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto.
916 * testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto.
917 * testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto.
918 * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New.
919
39a1d8c8
JW
9202016-01-13 Jonathan Wakely <jwakely@redhat.com>
921
922 PR libstdc++/48891
923 * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
924 and isnan functions.
925 * config.h.in: Regenerate.
926 * configure: Regenerate.
927 * include/c_global/cmath (isinf(double), isnan(double))
928 [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
929 * testsuite/26_numerics/headers/cmath/48891.cc: New.
930
e862906c
RO
9312016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
932
933 PR libstdc++/66006
934 * configure.host (abi_baseline_pair): Use separate baseline for
935 Solaris 11+ and Solaris 10 with gld.
936 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file.
937 * config/abi/post/solaris2.11/baseline_symbols.txt: New file.
938 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file.
939
26b5ace7
DK
9402016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com>
941
942 PR libstdc++/68877
943 * include/std/type_traits: Following N4511, reimplement __is_swappable
944 and __is_nothrow_swappable. Move __is_swappable to namespace std,
945 adjust callers. Use __is_nothrow_swappable in swap.
946 * include/bits/move.h: Use __is_nothrow_swappable in swap.
947 * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove
948 __is_swappable related tests.
949 * testsuite/20_util/is_swappable/value.cc: New.
950 * testsuite/20_util/is_swappable/requirements/
951 explicit_instantiation.cc: New.
952 * testsuite/20_util/is_swappable/requirements/typedefs.cc: New.
953 * testsuite/25_algorithms/swap/68877.cc: New.
954
1c3c7c41
JW
9552016-01-12 Jonathan Wakely <jwakely@redhat.com>
956
bd285a8b
JW
957 * testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
958
1c3c7c41
JW
959 PR libstdc++/69005
960 PR libstdc++/69222
961 * include/std/functional (function::_Invoke): Remove, use result_of.
962 (function::_Callable): Replace alias template with class template
963 and use partial specialization instead of _NotSelf alias template.
964 (function(_Functor)): Add "not self" constraint so that _Callable is
965 not used while type is incomplete.
966 * testsuite/20_util/function/69222.cc: New.
967
1517bc30
JW
9682016-01-11 Jonathan Wakely <jwakely@redhat.com>
969
970 PR libstdc++/60976
971 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
972 Define partial specialization.
973 * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
974 destroy members to std::allocator explicit specialization.
975
e525d78c
JW
9762016-01-08 Jonathan Wakely <jwakely@redhat.com>
977
8babc12b
JW
978 * testsuite/26_numerics/headers/cmath/
979 c99_classification_macros_c++.cc: Rename to ...
980 * testsuite/26_numerics/headers/cmath/
981 c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
982 * testsuite/26_numerics/headers/cmath/
983 c99_classification_macros_c++0x.cc: Rename to ...
984 * testsuite/26_numerics/headers/cmath/
985 c99_classification_macros_c++11.cc: Here.
986
32a8c97f 987 PR libstdc++/69190
e525d78c
JW
988 * include/bits/uses_allocator.h: Add missing include.
989
f885fa89
JW
9902016-01-07 Jonathan Wakely <jwakely@redhat.com>
991
992 PR libstdc++/69105
993 PR libstdc++/69106
994 PR libstdc++/69114
995 * include/bits/stl_iterator.h (back_insert_iterator,
996 front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
997 * include/bits/uses_allocator.h (__use_alloc): Use __addressof.
998 * include/std/future (__future::base::_State_baseV2::__setter):
999 Likewise.
1000 * include/std/scoped_allocator (__outermost): Likewise.
1001 * testsuite/20_util/scoped_allocator/69114.cc: New.
1002 * testsuite/20_util/uses_allocator/69114.cc: New.
1003 * testsuite/30_threads/promise/69106.cc: New.
1004
0c3e5dd1
JW
10052016-01-06 Jonathan Wakely <jwakely@redhat.com>
1006
373a75fb
JW
1007 PR libstdc++/69092
1008 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
1009 Remove _GLIBCXX_NOEXCEPT.
1010 testsuite/21_strings/basic_string/cons/char/69092.cc: New.
1011
0c3e5dd1
JW
1012 * include/Makefile.am: Adjust.
1013 * include/Makefile.in: Regenerate.
1014 * include/bits/mutex.h: Rename to bits/std_mutex.h.
1015 * include/std/condition_variable: Adjust include.
1016 * include/std/mutex: Likewise.
1017
818ab71a 10182016-01-04 Jakub Jelinek <jakub@redhat.com>
5624e564
JJ
1019
1020 Update copyright years.
b4df5e92 1021\f
818ab71a 1022Copyright (C) 2016 Free Software Foundation, Inc.
b4df5e92
JW
1023
1024Copying and distribution of this file, with or without modification,
1025are permitted in any medium without royalty provided the copyright
1026notice and this notice are preserved.