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