1 2015-07-03 Jonathan Wakely <jwakely@redhat.com>
3 * doc/xml/manual/status_cxx2017.xml: Update status table.
4 * doc/html/manual/*: Regenerate.
6 2015-07-03 Ville Voutilainen <ville.voutilainen@gmail.com>
8 Implement std::experimental::fundamentals_v2::propagate_const.
9 * include/Makefile.am: Add propagate_const.
10 * include/Makefile.in: Regenerate.
11 * include/experimental/propagate_const: New.
12 * testsuite/experimental/propagate_const/assignment/copy.cc: Likewise.
13 * testsuite/experimental/propagate_const/assignment/move.cc: Likewise.
14 * testsuite/experimental/propagate_const/assignment/move_neg.cc:
16 * testsuite/experimental/propagate_const/cons/copy.cc: Likewise.
17 * testsuite/experimental/propagate_const/cons/default.cc: Likewise.
18 * testsuite/experimental/propagate_const/cons/move.cc: Likewise.
19 * testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
20 * testsuite/experimental/propagate_const/hash/1.cc: Likewise.
21 * testsuite/experimental/propagate_const/observers/1.cc: Likewise.
22 * testsuite/experimental/propagate_const/relops/1.cc: Likewise.
23 * testsuite/experimental/propagate_const/requirements1.cc: Likewise.
24 * testsuite/experimental/propagate_const/requirements2.cc: Likewise.
25 * testsuite/experimental/propagate_const/requirements3.cc: Likewise.
26 * testsuite/experimental/propagate_const/requirements4.cc: Likewise.
27 * testsuite/experimental/propagate_const/requirements5.cc: Likewise.
28 * testsuite/experimental/propagate_const/swap/1.cc: Likewise.
29 * testsuite/experimental/propagate_const/typedefs.cc: Likewise.
31 2015-07-02 Jonathan Wakely <jwakely@redhat.com>
33 * acinclude.m4 (GLIBCXX_DEFAULT_ABI): Change valid arguments for
34 --with-default-libstdcxx-abi
35 * configure: Regenerate.
36 * doc/xml/manual/configure.xml: Document valid arguments.
38 2015-07-02 Uros Bizjak <ubizjak@gmail.com>
40 * libsupc++/guard.cc (__test_and_acquire): Use __p after __atomic_load
41 to avoid unused variable warning.
42 (__set_and_release): Use __p after __atomic_store to avoid unused
45 2015-07-01 Jonathan Wakely <jwakely@redhat.com>
47 * include/bits/alloc_traits.h (__alloctr_rebind): Remove.
48 (__allocator_traits_base): New base class.
49 (__alloc_rebind): Reimplement in terms of detection idiom.
50 (allocator_traits): Derive from __allocator_traits_base. Reimplement
51 nested types in terms of detection idiom. Simplify SFINAE constraints
52 on overloaded static member functions.
53 * include/bits/hashtable.h (_Hashtable): Use __alloc_rebind instead
55 * testsuite/20_util/scoped_allocator/propagation.cc: Define rebind.
56 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
59 * include/bits/ptr_traits.h (__ptrtr_elt_type, __ptrtr_diff_type,
60 __ptrtr_rebind, __ptrtr_not_void): Remove
61 (__get_first_arg, __replace_first_arg, __make_not_void): Define new
63 (__detected_or_): New detection trait.
64 (pointer_traits): Use new traits.
65 * testsuite/20_util/pointer_traits/pointer_to.cc: Add rebind member.
66 * testsuite/20_util/pointer_traits/requirements/
67 explicit_instantiation.cc: Use valid arguments to pointer_traits.
69 * doc/xml/manual/status_cxx2017.xml: Update status table.
70 * include/experimental/type_traits (void_t, is_detected,
71 is_detected_v, detected_t, detected_or, detected_or_t,
72 is_detected_exact, is_detected_exact_v, is_detected_convertible,
73 is_detected_convertible_v): Define.
74 * include/std/type_traits (__detector, __detected_or, __detected_or_t,
75 __detected_or_t_): Define.
76 * testsuite/experimental/type_traits/detection.cc: New.
78 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
80 * doc/Makefile.am (stamp-pdf-doxygen): Grep for LaTeX errors in log.
81 * doc/Makefile.in: Regenerate.
83 * include/bits/stl_pair.h: Replace class keyword with typename.
85 2015-06-30 Ville Voutilainen <ville.voutilainen@gmail.com>
87 Implement N4387, "Improving pair and tuple", and LWG 2367.
89 * include/bits/stl_pair.h (_ConstructiblePair,
90 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
91 _ImplicitlyMoveConvertiblePair): New.
92 (pair()): Constrain it.
93 (pair(const _T1&, const _T2&), pair(const pair<_U1, _U2>&),
94 pair(_U1&&, const _T2&), pair(const _T1&, _U2&&), pair(_U1&&, _U2&&),
95 pair(pair<_U1, _U2>&&)): Make conditionally explicit.
96 * include/std/tuple (_TC, tuple::_TC2, tuple::TCC, tuple::TMC): New.
97 (tuple()): Constrain it.
98 (tuple(const _UElements&...), tuple(_UElements&&...),
99 tuple(const tuple<_UElements...>&), tuple(tuple<_UElements...>&&),
100 tuple(allocator_arg_t, const _Alloc&, const _UElements&...),
101 tuple(allocator_arg_t, const _Alloc&, _UElements&&...),
102 tuple(allocator_arg_t, const _Alloc&, const tuple<_UElements...>&),
103 tuple(allocator_arg_t, const _Alloc&, tuple<_UElements...>&&),
104 tuple(const pair<_U1, _U2>&), tuple(pair<_U1, _U2>&&),
105 tuple(allocator_arg_t, const _Alloc&, const pair<_U1, _U2>&),
106 tuple(allocator_arg_t, const _Alloc&, pair<_U1, _U2>&&)): Make
107 conditionally explicit.
108 * include/experimental/functional (__boyer_moore_array_base): Name
109 array type explicitly instead of using an empty braced-init-list.
110 * testsuite/20_util/pair/cons/explicit_construct.cc: New.
111 * testsuite/20_util/pair/piecewise.cc: Use piecewise_construct.
112 * testsuite/20_util/pair/requirements/dr2367.cc: New.
113 * testsuite/20_util/tuple/cons/explicit_construct.cc: New.
114 * testsuite/20_util/tuple/requirements/dr2367.cc: New.
116 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
118 * configure: Regenerate.
120 2015-06-29 François Dumont <fdumont@gcc.gnu.org>
122 * include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
124 * include/debug/functions.h
125 (__gnu_debug::__valid_range, __gnu_debug::__base): Move...
126 * include/debug/safe_iterator.h
127 (__gnu_debug::_Sequence_traits): New.
128 (__gnu_debug::__get_distance_from_begin): New.
129 (__gnu_debug::__get_distance_to_end): New.
130 (__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
131 distance information. Add optional check_dereferenceable parameter,
133 (__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
134 default definition...
135 (__gnu_debug::__get_distance): New overload for _Safe_iterator.
136 (__gnu_debug::__unsafe): Likewise.
137 * include/debug/helper_functions.h: ...here. New.
138 (__gnu_debug::__unsafe): New helper function to remove safe iterator
140 * include/debug/stl_iterator.h: New. Include latter.
141 * include/bits/stl_iterator.h: Include latter in debug mode.
142 * include/debug/stl_iterator.tcc: Adapt.
143 * include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
144 overload for _Safe_local_iterator.
145 (__gnu_debug::__unsafe): Likewise.
146 * include/debug/safe_local_iterator.tcc: Adapt.
147 * include/debug/macros.h (__glibcxx_check_valid_range2): New.
148 (__glibcxx_check_insert_range): Add _Dist parameter.
149 (__glibcxx_check_insert_range_after): Likewise.
150 (__glibcxx_check_string, __glibcxx_check_string_len): Implement using
151 _GLIBCXX_DEBUG_PEDASSERT.
152 * include/debug/deque (deque<>::assign): Remove iterator debug layer
154 (deque<>::insert): Likewise.
155 * include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
156 (forward_list<>::splice_after): Use latter.
157 (forward_list<>::assign): Remove iterator debug layer when possible.
158 (forward_list<>::insert_after): Likewise.
159 (__gnu_debug::_Sequence_traits<>): Partial specialization.
160 * include/debug/list (list<>::assign): Remove iterator debug layer when
162 (list<>::insert): Likewise.
163 [__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
164 * include/debug/map.h (map<>::insert): Remove iterator debug layer when
166 * include/debug/multimap.h (multimap<>::insert): Likewise.
167 * include/debug/set.h (set<>::insert): Likewise.
168 * include/debug/multiset.h (multiset<>::insert): Likewise.
169 * include/debug/string (basic_string<>::append, basic_string<>::assign,
170 basic_string<>::insert, basic_string<>::replace): Likewise.
171 * include/debug/unordered_map
172 (unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
173 * include/debug/unordered_set
174 (unordered_set<>::insert, unordered_multiset<>insert): Likewise.
175 * include/debug/vector
176 (vector<>::assign, vector<>::insert): Likewise.
177 * include/Makefile.am: Add new debug headers.
178 * include/Makefile.in: Regenerate.
180 2015-06-26 Jonathan Wakely <jwakely@redhat.com>
182 * doc/xml/manual/intro.xml: Document LWG 2108 status.
183 * include/bits/alloc_traits.h (allocator_traits::is_always_equal):
185 * include/bits/allocator.h (allocator::is_always_equal): Likewise.
186 * include/bits/forward_list.h
187 (forward_list::operator=(forward_list&&)): Use __bool_constant.
188 (forward_list::swap(forward_list&)): Add noexcept.
189 * include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
191 (_Hashtable::swap(_Hashtable&)): Likewise.
192 * include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
193 Use _Alloc_traits::is_always_equal.
194 (deque::operator=(deque&&)): Likewise.
195 (deque::_M_move_assign1(deque&&, false_type)): Add comment and use
197 (swap(deque&, deque&)): Add noexcept.
198 * include/bits/stl_list.h (list::operator=(list&&)): Use
200 (swap(list&, list&)): Add noexcept.
201 * include/bits/stl_map.h (map::swap(map&)): Include _Compare in
203 (swap(map&, map&)): Add noexcept.
204 * include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
205 _Compare in noexcept.
206 (swap(multimap&, multimap&)): Add noexcept.
207 * include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
208 _Compare in noexcept.
209 (swap(multiset&, multiset&)): Add noexcept.
210 * include/bits/stl_set.h (set::swap(set&)): Include _Compare in
212 (swap(set&, set&)): Add noexcept.
213 * include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
214 _Compare in noexcept.
215 (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
217 * include/bits/stl_vector.h (vector::operator=(vector&&)): Use
219 (swap(vector&, vector&)): Add noexcept.
220 * include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
221 swap(unordered_multimap& unordered_multimap&)): Add noexcept.
222 * include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
223 swap(unordered_multiset& unordered_multiset&)): Add noexcept.
224 * include/ext/alloc_traits.h (__allocator_always_compares_equal):
226 (__alloc_traits::_S_always_equal()): Use is_always_equal instead of
227 __allocator_always_compares_equal.
228 * include/ext/array_allocator.h (array_allocator::is_always_equal):
230 * include/std/scoped_allocator (__any_of, __propagate_on_copy,
231 __propagate_on_move, __propagate_on_swap): Remove.
232 (scoped_allocator_adaptor::propagate_on_container_copy_assignment,
233 scoped_allocator_adaptor::propagate_on_container_move_assignment,
234 scoped_allocator_adaptor::propagate_on_container_swap): Define with
235 __and_ instead of __any_of.
236 (scoped_allocator_adaptor::is_always_equal): Define.
237 * testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
238 * testsuite/20_util/scoped_allocator/propagation.cc: Make traits
239 derive from true_type or false_type.
240 * testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
241 is_always_equal member and remove the trait specialization.
242 * testsuite/23_containers/vector/52591.cc: Likewise.
243 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
244 Adjust dg-error line number.
245 * testsuite/23_containers/deque/requirements/dr438/
246 constructor_1_neg.cc: Likewise.
247 * testsuite/23_containers/deque/requirements/dr438/
248 constructor_2_neg.cc: Likewise.
249 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
251 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
253 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
255 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
257 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
259 * testsuite/23_containers/vector/requirements/dr438/
260 constructor_1_neg.cc: Likewise.
261 * testsuite/23_containers/vector/requirements/dr438/
262 constructor_2_neg.cc: Likewise.
263 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
266 * include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
267 * include/bits/stl_map.h (map::map()): Likewise.
268 * include/bits/stl_multimap.h (multimap::multimap()): Likewise.
269 * include/bits/stl_multiset.h (multiset::multiset()): Likewise.
270 * include/bits/stl_set.h (set::set()): Likewise.
272 2015-06-25 Jonathan Wakely <jwakely@redhat.com>
274 * include/bits/locale_conv.h (__do_str_codecvt): Set __count.
276 2015-06-24 François Dumont <fdumont@gcc.gnu.org>
278 * include/bits/basic_string.h (basic_string<>::front()): Add !empty
280 (basic_string<>::back()): Likewise.
281 (basic_string<>::pop_back()): Likewise.
283 2015-06-24 Paolo Carlini <paolo.carlini@oracle.com>
285 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
286 dg-error line numbers.
287 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
290 2015-06-23 François Dumont <fdumont@gcc.gnu.org>
292 * include/debug/array: Include <array>. Add version namespace when
293 specializing tuple interface to array. Add specialization for
294 __is_tuple_like_impl.
295 * include/profile/array: Likewise.
296 * include/std/array: Include <utility>. Add specialization for
297 __is_tuple_like_impl.
299 (__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move...
300 * include/std/utility: ... here. Include <type_traits>.
301 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
302 dg-error line number.
303 * testsuite/23_containers/array/tuple_interface/
304 tuple_element_debug_neg.cc: Likewise.
306 2015-06-22 Jonathan Wakely <jwakely@redhat.com>
308 * testsuite/26_numerics/complex/value_operations/1.cc: Use
309 non-negative rho argument.
311 * include/debug/list (__gnu_debug::list): Use allocator-aware
312 _Safe_container base.
313 * include/debug/string (__gnu_debug::basic_string): Use
314 allocator-aware _Safe_container base for cxx11 ABI.
316 * include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
317 (wstring_convert): Move into __cxx11 namespace.
318 (wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
322 * include/bits/stl_uninitialized.h
323 (__uninitialized_copy::__uninit_copy): Cast expression to void.
325 2015-06-17 Jonathan Wakely <jwakely@redhat.com>
328 * include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
329 (list::list(const list&)): Use allocator propagation trait. Use
330 _M_assign_dispatch to copy elements.
331 * include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
332 (_List_node::_M_valptr()): Add accessor for stored value.
333 (_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
334 (_List_base, list): Use allocator traits.
335 (_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
336 (_List_base::_M_move_nodes): New function.
337 (_List_base(_List_base&&)): Use _M_move_nodes.
338 (_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
339 (list::_M_create_node, list::_M_erase, list::max_size): Use allocator
341 (list(size_type)): Add allocator parameter.
342 (list(const list&)): Use allocator propagation trait.
343 (list(const list&, const allocator_type&)): New constructor.
344 (list(list&&, const allocator_type&)): Likewise.
345 (list::operator=(list&&), list::swap(list&)): Use allocator
347 (list::_M_move_assign): New functions.
348 * include/debug/list: Add allocator-extended constructors.
349 * include/profile/list: Likewise.
350 * python/libstdcxx/v6/printers.py (get_value_from_list_node): New
351 function to get value from _List_node.
352 (StdListPrinter): Use get_value_from_list_node.
353 * testsuite/23_containers/list/allocator/copy.cc: New.
354 * testsuite/23_containers/list/allocator/copy_assign.cc: New.
355 * testsuite/23_containers/list/allocator/minimal.cc: New.
356 * testsuite/23_containers/list/allocator/move.cc: New.
357 * testsuite/23_containers/list/allocator/move_assign.cc: New.
358 * testsuite/23_containers/list/allocator/noexcept.cc: New.
359 * testsuite/23_containers/list/allocator/swap.cc: New.
360 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
361 Adjust dg-prune-output line number.
362 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
364 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
367 * include/bits/forward_list.h
368 (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
370 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
371 (forward_list(const _Alloc&)): Split default constructor out to
373 (forward_list(forward_list&&, const _Alloc&)): Move elements if base
375 (forward_list::_M_move_assign(forward_list&&, true_type)): Replace
376 swap call with two assignments.
377 * include/bits/forward_list.tcc
378 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
379 move elements when allocators are not equal.
380 * include/debug/forward_list (forward_list(const allocator_type&)):
381 Split default constructor out to separate function.
382 * include/profile/forward_list (forward_list(const _Alloc&)):
385 * include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
386 Remove unnecessary uses of operator& and static_cast.
387 * include/bits/forward_list.tcc
388 (forward_list::operator=(const forward_list&)): Use __addressof
389 instead of operator&.
390 (forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
391 Remove invalid static_casts.
392 * include/debug/forward_list: Use __addressof instead of operator&.
393 * testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
395 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()): Use
396 __is_nothrow_swappable.
398 2015-06-16 Jonathan Wakely <jwakely@redhat.com>
400 * include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof.
402 * include/bits/list.tcc (list::operator=(const list&), list::merge):
403 Use __addressof instead of operator&.
404 (list::sort): Use array-to-pointer decay instead of operator&.
405 * include/bits/stl_list.h (list::splice): Use __addressof instead of
407 * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
409 * include/debug/functions.h (__check_singular): Likewise.
410 * include/debug/list (list::splice, list::merge): Likewise.
411 * testsuite/23_containers/list/modifiers/addressof.cc: New.
414 * src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
417 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
419 * include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
422 * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
425 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
429 * config/cpu/alpha/atomic_word.h: Remove.
430 * config/cpu/ia64/atomic_word.h: Remove.
431 * config/cpu/powerpc/atomic_word.h: Remove.
432 * config/os/aix/atomic_word.h: Remove.
433 * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]:
434 Use generic definition.
436 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
440 * * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define
441 (_GLIBCXX_WRITE_MEM_BARRIER): Likewise
442 * include/bits/shared_ptr_base.h: Use ACQ_REL barrier.
443 * include/ext/atomicity.h: Likewise.
444 * include/tr1/shared_ptr.h: Likewise.
445 * libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics.
447 (__set_and_release): Likewise.
448 * testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for
450 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
451 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
454 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
456 * include/std/tuple (__is_tuple_like_impl): Disambiguate array in
457 debug and profile modes.
458 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests
459 for swap in C++11 and later.
461 2015-06-09 Jonathan Wakely <jwakely@redhat.com>
464 * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
467 2015-06-08 Jonathan Wakely <jwakely@redhat.com>
470 * testsuite/22_locale/conversions/string/66441.cc: New.
471 * include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
472 in the output string for BOM and complete result.
475 * src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
476 for single UTF-16 units.
477 * testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.
479 2015-06-07 François Dumont <fdumont@gcc.gnu.org>
481 * include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
482 outer scope and rename to ...
483 (std::__hash_is_transparent<>): ... this.
484 * include/debug/stl_map.h (map::find<>,
485 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
486 member function templates to perform heterogeneous lookup.
487 * include/debug/stl_multimap.h (multimap::find<>,
488 multimap::lower_bound<>, multimap::upper_bound<>,
489 multimap::equal_range<>): Likewise.
490 * include/debug/stl_multiset.h (multiset::find<>,
491 multiset::lower_bound<>, multiset::upper_bound<>,
492 multiset::equal_range<>): Likewise.
493 * include/debug/stl_set.h (set::find<>,
494 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
495 * include/profile/stl_map.h (map::find<>, map::count<>,
496 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
497 * include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
498 multimap::lower_bound<>, multimap::upper_bound<>,
499 multimap::equal_range<>): Likewise.
500 * include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
501 multiset::lower_bound<>, multiset::upper_bound<>,
502 multiset::equal_range<>): Likewise.
503 * include/profile/stl_set.h (set::find<>, set::count<>,
504 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
505 * testsuite/23_containers/map/operations/1.cc: Check const variants.
506 * testsuite/23_containers/multimap/operations/1.cc: Likewise.
507 * testsuite/23_containers/multiset/operations/1.cc: Likewise.
508 * testsuite/23_containers/set/operations/1.cc: Likewise.
510 2015-06-05 Jonathan Wakely <jwakely@redhat.com>
512 * doc/xml/manual/status_cxx2017.xml: Update status tables.
513 * doc/html/manual/*: Regenerate.
514 * include/std/type_traits (bool_constant): Define.
515 * testsuite/20_util/bool_constant/requirements.cc: New.
516 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
517 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
519 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
522 * include/std/shared_mutex (__shared_mutex_pthread,
523 __shared_mutex_cv): New helper types implementing the shared mutex
525 (shared_mutex): New type for C++17.
526 (shared_timed_mutex): Derive from one of the new helper types.
527 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
528 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
529 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
530 * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
532 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
533 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
535 2015-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
537 Add __is_nothrow_swappable and take it into use.
538 * include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
539 * include/bits/move.h (swap): Add constraints in C++11 and later.
540 * include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
541 for the free swap function for pair.
542 * include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
543 for the free swap functions for queue and priority_queue.
544 * include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
545 for the free swap function for stack.
546 * include/debug/array (swap): Use __is_nothrow_swappable
547 for the free swap function for array.
548 * include/profile/array (swap): Likewise.
549 * include/std/array (swap): Likewise.
550 * include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
551 * include/std/type_traits (__is_swappable_impl::__is_swappable,
552 __is_nothrow_swappable_impl, __is_nothrow_swappable): New.
553 * testsuite/20_util/is_nothrow_swappable/requirements/
554 explicit_instantiation.cc: New.
555 * testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
557 * testsuite/20_util/is_nothrow_swappable/value.cc: New.
559 2015-06-03 François Dumont fdumont@gcc.gnu.org>
561 * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
563 2015-06-02 Jonathan Wakely <jwakely@redhat.com>
565 * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
566 * doc/html/manual/*: Regenerate.
568 * doc/html/ext/lwg-active.html: Update to R93.
569 * doc/html/ext/lwg-closed.html: Likewise.
570 * doc/html/ext/lwg-defects.html: Likewise.
571 * doc/html/manual/*: Regenerate.
572 * doc/xml/manual/intro.xml: Document status of several DRs.
574 2015-06-02 Renlin Li <renlin.li@arm.com>
576 * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
578 2015-06-01 Jonathan Wakely <jwakely@redhat.com>
580 * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
581 environment variable.
583 2015-05-31 Jonathan Wakely <jwakely@redhat.com>
586 * include/bits/stl_algobase.h (__fill_a): Check length before calling
589 2015-05-30 Jonathan Wakely <jwakely@redhat.com>
591 * include/bits/stl_algobase.h (__equal<true>::equal): Check length
592 instead of checking for null pointers.
593 (__lexicographical_compare<true>::__lc): Only check shorter length.
595 2015-05-29 François Dumont fdumont@gcc.gnu.org>
597 * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
598 _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
599 * include/debug/assertions.h: ...here, new.
600 * include/debug/formatter.h
601 (_Error_formatter::_Is_iterator_value_type): New.
602 (_Error_formatter::_Is_instance): New.
603 (_Error_formatter::_Parameter): Make public and not friend anymore.
604 (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
605 (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
607 (_Error_formatter::_Parameter::_Type): New.
608 (_Error_formatter::_Parameter::_Instance): New, inherit from
610 (union _Error_formatter::_Parameter::_M_variant): Reorganize.
611 (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
612 overloads take iterator through a const reference.
613 (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
615 (_Parameter(const _Type&, const char*, _Is_instance)): New.
616 (_Error_formatter::_M_print_type): Delete.
617 (_Error_formatter::_M_iterator_value_type): New.
618 (_Error_formatter::_M_instance): New.
619 * include/Makefile.am: Add new above debug file.
620 * include/Makefile.in: Regenerate.
621 * include/debug/functions.h
622 (__check_dereferenceable(const _Safe_iterator<>&),
623 __valid_range(const _Safe_iterator<>&),
624 __is_safe_random_iterator<_Safe_iterator<>>): Move...
625 * include/debug/safe_iterator.h: ... here.
626 Replace debug.h include with assertions.h.
627 (__check_singular_aux): Move...
628 * include/debug/safe_base.h: ... here.
629 * include/debug/functions.h
630 (__check_dereferenceable(const _Safe_local_iterator<>&),
631 __valid_range(const _Safe_local_iterator<>&): Move...
632 * include/debug/safe_local_iterator.h: ...here.
633 * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
634 Remove _Safe_iterator declaration.
635 * include/debug/safe_unordered_container.h: Replace debug.h with
637 * include/debug/array: Replace safe_sequence.h include with
638 formatter.h and macros.h.
639 * include/debug/deque: Include functions.tcc.
640 * include/debug/forward_list: Likewise.
641 * include/debug/list: Likewise.
642 * include/debug/string: Likewise.
643 * include/debug/vector: Likewise.
644 * include/bits/unique_ptr.h: Replace debug.h include with new
646 * include/bits/stl_iterator_base_funcs.h: Likewise.
647 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
648 Adjust dg-error line number.
649 * testsuite/23_containers/array/tuple_interface/
650 tuple_element_debug_neg.cc: Likewise.
651 * src/c++11/debug.cc: Adapt.
653 2015-05-29 Jonathan Wakely <jwakely@redhat.com>
655 * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
656 * doc/html/manual/*: Regenerate.
658 * include/std/future (__async_result_of): New alias template.
659 (async): Use __async_result_of to pass decayed types to result_of.
660 * testsuite/30_threads/async/lwg2021.cc: New.
661 * doc/xml/manual/intro.xml: Document LWG 2021 status.
664 * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
665 memcmp with null pointers.
666 (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
669 2015-05-28 Jonathan Wakely <jwakely@redhat.com>
672 * include/profile/array (array::data): Use _S_ptr.
673 * include/debug/array (array::data): Likewise.
676 * include/std/array (__array_traits::_S_ptr): New function.
677 (array::data): Use _S_ptr to avoid creating invalid reference.
678 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
679 dg-error line numbers.
680 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
683 2015-05-27 Jonathan Wakely <jwakely@redhat.com>
685 * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
686 instead of downcasting.
687 (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
688 (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
689 (_Rb_tree::_S_iter): Remove.
690 (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
691 (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
692 instead of _S_lower_bound_tr
693 (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
694 (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
695 instead of calling _S_lower_bound_tr.
696 (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
697 (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
698 instead of calling _S_upper_bound_tr.
699 (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
700 (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
701 (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
702 (_Rb_tree::_M_get_insert_unique_pos): Likewise.
703 (_Rb_tree::_M_get_insert_equal_pos): Likewise.
704 (_Rb_tree::_M_insert_equal_lower_node): Likewise.
705 (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
706 _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
709 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
710 (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
712 (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
713 (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
714 * include/ext/aligned_buffer.h (__aligned_membuf): New type using
715 alignment of _Tp as a member subobject, not as a complete object.
716 * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
717 _Link_type manually as it might not be in the debug info.
719 2015-05-26 Doug Evans <dje@google.com>
721 * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
723 * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
726 2015-05-26 Jonathan Wakely <jwakely@redhat.com>
728 * include/bits/locale_conv.h: Fix copyright years.
729 * include/bits/quoted_string.h: Likewise.
730 * src/filesystem/Makefile.am: Likewise.
731 * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
732 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
734 * testsuite/22_locale/conversions/string/1.cc: Likewise.
735 * testsuite/22_locale/conversions/string/2.cc: Likewise.
736 * testsuite/22_locale/conversions/string/3.cc: Likewise.
737 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
739 * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
741 * testsuite/util/testsuite_fs.h: Likewise.
743 2015-05-23 François Dumont fdumont@gcc.gnu.org>
746 * include/debug/functions.h (__check_sorted_aux): Cast expression to
749 2015-05-21 David Edelsohn <dje.gcc@gmail.com>
752 * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
753 Don't use isync. Use lwsync if available.
754 * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
755 powerpc cpu definition.
757 2015-05-21 Jason Merrill <jason@redhat.com>
759 * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
760 * libsupc++/del_op.cc: Likewise.
762 2015-05-20 François Dumont fdumont@gcc.gnu.org>
764 * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
766 (_Error_formatter::_M_print_type): New.
768 (_Error_formatter::_Parameter::_M_print_field): Use latter.
769 (_Error_formatter::_M_print_type): Implement latter using
770 __cxaabiv1::__cxa_demangle to print demangled type name.
772 * include/bits/cpp_type_traits.h
773 (std::move_iterator): Delete declaration.
774 (std::__is_move_iterator<move_iterator>): Move partial specialization...
775 * include/bits/stl_iterator.h: ... here.
776 (std::__miter_base): Overloads for std::reverse_iterator and
778 * include/bits/stl_algobase.h (std::__miter_base): Provide default
781 2015-05-20 Jonathan Wakely <jwakely@redhat.com>
783 * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
786 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
787 overload for pointers.
788 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
789 808590.cc: Add -std=gnu++03 switch.
790 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
791 808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
792 * testsuite/23_containers/vector/modifiers/push_back/
793 strong_guarantee.cc: New.
795 2015-05-19 Jonathan Wakely <jwakely@redhat.com>
797 * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
798 (operator==(const list&, const list&)): If size() is O(1) compare
799 sizes before comparing each element.
800 * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
801 (list::resize): Use _M_resize_pos.
803 2015-05-19 François Dumont <fdumont@gcc.gnu.org>
805 * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
807 * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
808 * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
809 * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
811 2015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
813 * configure.host: Define cpu_defines_dir for ARM.
814 * config/cpu/arm/cpu_defines.h: New file.
816 2015-05-17 François Dumont <fdumont@gcc.gnu.org>
818 * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
819 missing constructors.
820 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
822 * include/debug/unordered_map (unordered_map, unordered_multimap): Add
823 missing constructors.
824 * include/debug/unordered_set (unordered_set, unordered_multiset):
826 * include/profile/unordered_map (unordered_map, unordered_multimap): Add
827 missing constructors.
828 * include/profile/unordered_set (unordered_set, unordered_multiset):
831 2015-05-15 Jonathan Wakely <jwakely@redhat.com>
833 * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
834 use throughout the file.
835 (make_file_type): New function.
836 (file_size(const path&, error_code&)): Report an error for anything
837 that isn't a regular file.
838 (status(const path&), symlink_status(const path&)): Do not throw for
839 file_type::not_found.
840 (temp_directory_path()): Check additional environment variables.
841 * testsuite/experimental/filesystem/operations/exists.cc: New.
842 * testsuite/experimental/filesystem/operations/file_size.cc: New.
843 * testsuite/experimental/filesystem/operations/status.cc: New.
844 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
847 2015-05-14 Nathan Myers <ncm@cantrip.org>
848 Jonathan Wakely <jwakely@redhat.com>
851 * include/std/unordered_map (unordered_map, unordered_multimap): Add
852 missing constructors.
853 * include/std/unordered_set (unordered_set, unordered_multiset):
855 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
856 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
857 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
858 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
860 2015-05-14 Jonathan Wakely <jwakely@redhat.com>
863 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
865 * config.h.in: Regenerate.
866 * configure: Regenerate.
867 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
868 not return after copying contents. Use fchmod, fchmodat, and sendfile
870 (current_path, permissions, space): Use errno not return value.
873 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
875 * config.h.in: Regenerate.
876 * configure: Regenerate.
877 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
879 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
881 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
882 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
883 * config.h.in: Regenerate.
884 * configure: Likewise.
885 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
886 __USING_SJLJ_EXCEPTIONS__.
887 * libsupc++/eh_throw.cc: Likewise.
888 * libsupc++/eh_ptr.cc: Likewise.
889 * doc/html/manual/appendix_porting.html: Remove
890 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
891 * doc/xml/manual/build_hacking.xml: Likewise.
892 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
893 * doc/xml/manual/configure.xml: Likewise.
895 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
897 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
898 for nullptr (LWG 2415).
899 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
900 construction from empty unique_ptr.
901 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
902 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
904 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
906 * testsuite/20_util/raw_storage_iterator/base.cc: New.
908 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
909 Remove explicit (LWG 2407).
911 * include/bits/basic_string.h (basic_string::basic_string()): Make
912 noexcept conditional on allocator (LWG 2455).
914 * include/std/complex (polar): Check for negative rho (LWG 2459).
916 * include/experimental/tuple (apply): Handle pointers to member (LWG
918 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
919 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
920 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
922 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
924 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
925 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
926 * testsuite/23_containers/forward_list/allocator/minimal.cc:
928 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
929 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
930 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
931 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
932 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
934 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
936 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
938 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
940 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
942 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
943 * configure: Regenerate.
945 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
947 * Makefile.in: Regenerated with automake-1.11.6.
948 * aclocal.m4: Likewise.
949 * configure: Likewise.
950 * doc/Makefile.in: Likewise.
951 * include/Makefile.in: Likewise.
952 * libsupc++/Makefile.in: Likewise.
953 * po/Makefile.in: Likewise.
954 * python/Makefile.in: Likewise.
955 * src/Makefile.in: Likewise.
956 * src/c++11/Makefile.in: Likewise.
957 * src/c++98/Makefile.in: Likewise.
958 * src/filesystem/Makefile.in: Likewise.
959 * testsuite/Makefile.in: Likewise.
961 2015-05-09 Jason Merrill <jason@redhat.com>
963 * testsuite/20_util/headers/functional/synopsis.cc: Add
964 _GLIBCXX14_CONSTEXPR.
965 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
967 2015-05-08 Jason Merrill <jason@redhat.com>
969 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
970 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
971 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
972 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
973 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
974 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
975 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
976 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
977 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
978 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
979 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
981 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
982 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
983 Adjust expected errors.
984 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
986 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
988 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
990 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
992 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
994 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
996 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
998 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1000 * testsuite/23_containers/vector/requirements/dr438
1001 /constructor_1_neg.cc: Likewise.
1002 * testsuite/23_containers/vector/requirements/dr438
1003 /constructor_2_neg.cc: Likewise.
1004 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1006 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
1007 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
1008 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
1009 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
1010 * testsuite/ext/array_allocator/check_allocate_max_size.cc:
1011 Add -Wno-deprecated.
1012 * testsuite/ext/array_allocator/check_deallocate_null.cc:
1013 Add -Wno-deprecated.
1014 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
1015 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
1016 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
1017 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
1019 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
1021 * testsuite/tr1/2_general_utilities/shared_ptr/assign
1022 /auto_ptr_rvalue_neg.cc: Add -std=c++98.
1023 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
1024 Add -std=c++98 -fno-show-column.
1025 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
1027 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
1029 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
1030 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
1032 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
1033 * src/c++98/Makefile.in: Regenerate.
1034 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
1035 * src/Makefile.in: Regenerate.
1037 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
1040 * include/std/future (async): Change default policy to launch::async.
1042 * include/experimental/any (any::_Storage): Fix alignment of buffer.
1043 (any::_Internal): Check alignment of type.
1044 * testsuite/experimental/any/cons/aligned.cc: New.
1045 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1047 * include/experimental/iterator (ostream_joiner): Simplify by using
1048 the injected-class-name and the ostream_type typedef.
1050 * include/experimental/iterator: New. Define ostream_joiner.
1051 * include/Makefile.am: Add new header.
1052 * include/Makefile.in: Regenerate.
1053 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
1054 * testsuite/experimental/iterator/ostream_joiner.cc: New.
1055 * testsuite/experimental/iterator/requirements.cc: New.
1056 * doc/xml/manual/status_cxx2017.xml: Update status.
1057 * doc/html/manual/status.html: Regenerate.
1059 * include/experimental/numeric: New. Define gcd and lcm.
1060 * include/Makefile.am: Add new header.
1061 * include/Makefile.in: Regenerate.
1062 * testsuite/experimental/numeric/gcd.cc: New.
1063 * testsuite/experimental/numeric/lcm.cc: New.
1064 * doc/xml/manual/status_cxx2017.xml: Update status.
1065 * doc/html/manual/status.html: Regenerate.
1067 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
1069 Revert addition of feature macros from other headers per latest SD-6.
1070 * include/experimental/deque: Remove feature-test macro.
1071 * include/experimental/forward_list: Ditto.
1072 * include/experimental/list: Ditto.
1073 * include/experimental/map: Ditto.
1074 * include/experimental/set: Ditto.
1075 * include/experimental/string: Ditto.
1076 * include/experimental/unordered_map: Ditto.
1077 * include/experimental/unordered_set: Ditto.
1079 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
1081 * include/experimental/any (any::_Storage): Make non-copyable.
1082 (any::any): Do not copy _Storage object.
1083 (any::operator=): Implement more efficiently than swapping.
1084 (any::swap): Use new _Op_xfer operation.
1085 (any::_Op::_Op_xfer): New enumerator.
1086 (_Manager_internal::_S_alloc): Remove unused function.
1087 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
1088 parameter instead of returning a _Storage object.
1089 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
1090 _Op_xfer operation for moving and swapping.
1091 * testsuite/experimental/any/cons/nontrivial.cc: New.
1092 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1094 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
1096 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
1100 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
1101 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
1102 and fix tests for forward_as_tuple and tie.
1104 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
1105 Set timespec members explicitly instead of with a braced-init-list.
1106 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
1108 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
1110 * include/experimental/deque: Add feature-test macro.
1111 * include/experimental/forward_list: Ditto.
1112 * include/experimental/list: Ditto.
1113 * include/experimental/map: Ditto.
1114 * include/experimental/set: Ditto.
1115 * include/experimental/string: Ditto.
1116 * include/experimental/unordered_map: Ditto.
1117 * include/experimental/unordered_set: Ditto.
1119 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
1121 * include/experimental/memory: Correct feature-test macro.
1123 * include/experimental/memory: Add feature-test macro.
1124 * include/experimental/vector: Likewise.
1125 * doc/xml/manual/status_cxx2017.xml: Update status.
1126 * doc/html/manual/status.html: Regenerate.
1128 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
1130 Implement observer_ptr.
1131 * include/Makefile.am: Add new header.
1132 * include/Makefile.in: Regenerate.
1133 * include/experimental/memory: New.
1134 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
1135 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
1136 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
1137 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
1138 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
1139 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
1140 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
1141 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
1143 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
1145 * src/filesystem/path.cc (path::compare): Do not copy strings.
1147 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
1149 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
1150 * configure: Regenerate.
1151 * config.h.in: Regenerate.
1152 * configure.ac: Check for utime.h
1153 * include/experimental/fs_path.h (path::string<>)
1154 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
1155 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
1156 closedir, dirent, readdir_r): Replace dummy functions with #error.
1157 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
1158 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
1159 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
1160 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
1161 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
1164 * include/experimental/fs_path.h (path::_List): Use vector instead of
1166 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
1167 * src/filesystem/path.cc: Use std::prev instead of decrementing
1168 rvalues. Fix whitespace.
1169 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
1170 Do not decrement iterators before begin.
1172 * include/experimental/fs_dir.h: Fix use of non-reserved names.
1173 * include/experimental/fs_ops.h: Likewise.
1174 * include/experimental/fs_path.h: Likewise.
1175 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
1176 C++11 when checking for support.
1178 * include/bits/locale_classes.h (locale::facet): Delete copy
1179 operations in C++11 mode.
1181 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
1183 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
1184 * configure: Regenerate.
1186 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
1188 Inline one-line erasure dispatch functions.
1189 * include/experimental/forward_list (erase_if(), erase()): Inline.
1190 * include/experimental/list (erase_if(), erase()): Inline.
1191 * include/experimental/map (erase_if(*)): Inline.
1192 * include/experimental/set (erase_if(*)): Inline.
1193 * include/experimental/string (erase_if(), erase()): Inline.
1194 * include/experimental/unordered_map (erase_if(*)): Inline.
1195 * include/experimental/unordered_set (erase_if(*)): Inline.
1197 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
1199 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
1200 * doc/xml/manual/status_cxx2011.xml: Update status tables.
1201 * doc/xml/manual/status_cxx2014.xml: Likewise.
1202 * doc/xml/manual/status_cxx2017.xml: New.
1203 * doc/xml/manual/using.xml: Fix typo.
1204 * doc/html/*: Regenerate.
1206 * include/std/memory (pointer_safety, declare_reachable,
1207 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
1208 get_pointer_safety): Define.
1209 * testsuite/20_util/pointer_safety/1.cc: New.
1211 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
1213 Implement N4100 File System TS
1214 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
1215 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
1216 * config.h.in: Regenerate.
1217 * configure: Regenerate.
1218 * configure.ac: Enable filesystem TS and check its dependencies.
1219 * include/Makefile.am: Add new headers.
1220 * include/Makefile.in: Regenerate.
1221 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
1222 __str_codecvt_out): Move code conversion logic from wstring_convert
1223 into new global functions.
1224 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
1226 (wstring_convert::_M_conv): Remove.
1227 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
1228 * include/experimental/filesystem: New.
1229 * include/experimental/fs_dir.h: New.
1230 * include/experimental/fs_fwd.h: New.
1231 * include/experimental/fs_ops.h: New.
1232 * include/experimental/fs_path.h: New.
1233 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
1234 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
1235 * src/Makefile.am (SUBDIRS): Add filesystem.
1236 * src/Makefile.in: Regenerate.
1237 * src/filesystem/Makefile.am: New.
1238 * src/filesystem/Makefile.in: New.
1239 * src/filesystem/dir.cc: New.
1240 * src/filesystem/ops.cc: New.
1241 * src/filesystem/path.cc: New.
1242 * testsuite/experimental/filesystem/operations/absolute.cc: New.
1243 * testsuite/experimental/filesystem/operations/copy.cc: New.
1244 * testsuite/experimental/filesystem/operations/current_path.cc: New.
1245 * testsuite/experimental/filesystem/path/append/path.cc: New.
1246 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
1247 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
1248 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
1249 * testsuite/experimental/filesystem/path/compare/path.cc: New.
1250 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
1251 * testsuite/experimental/filesystem/path/concat/path.cc: New.
1252 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
1253 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
1254 * testsuite/experimental/filesystem/path/construct/default.cc: New.
1255 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
1256 * testsuite/experimental/filesystem/path/construct/range.cc: New.
1257 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
1258 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
1259 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
1261 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
1263 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
1265 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
1267 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
1269 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
1270 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
1272 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
1273 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
1274 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
1276 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
1278 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
1280 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
1282 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
1283 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
1284 * testsuite/experimental/filesystem/path/query/empty.cc: New.
1285 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
1286 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
1287 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
1289 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
1291 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
1293 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
1295 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
1297 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
1298 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
1299 * testsuite/util/testsuite_fs.h: New.
1301 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
1303 Add fundamentals TR container erasure.
1304 * include/Makefile.am: Add new headers.
1305 * include/Makefile.in: Add new headers.
1306 * include/experimental/array: New.
1307 * include/experimental/deque: New.
1308 * include/experimental/erase_if.tcc: New.
1309 * include/experimental/forward_list: New.
1310 * include/experimental/list: New.
1311 * include/experimental/map: New.
1312 * include/experimental/set: New.
1313 * include/experimental/string: New.
1314 * include/experimental/unordered_map: New.
1315 * include/experimental/unordered_set: New.
1316 * include/experimental/vector: New.
1317 * testsuite/experimental/deque/erasure.cc: New.
1318 * testsuite/experimental/forward_list/erasure.cc: New.
1319 * testsuite/experimental/list/erasure.cc: New.
1320 * testsuite/experimental/map/erasure.cc: New.
1321 * testsuite/experimental/set/erasure.cc: New.
1322 * testsuite/experimental/string/erasure.cc: New.
1323 * testsuite/experimental/unordered_map/erasure.cc: New.
1324 * testsuite/experimental/unordered_set/erasure.cc: New.
1325 * testsuite/experimental/vector/erasure.cc: New.
1327 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
1329 * include/bits/cpp_type_traits.h
1330 (__gnu_cxx::__is_normal_iterator): Delete.
1331 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
1332 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
1333 (std::__niter_base): Overloads for std::reverse_iterator,
1334 __gnu_cxx::__normal_iterator and std::move_iterator.
1336 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
1338 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
1340 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
1341 Remove usage of latter and compute size of the prime numbers array
1344 2015-04-29 Doug Evans <dje@google.com>
1347 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
1348 Replace all lookups of "bool" with this.
1349 (get_std_size_type): New function. Replace all lookups of std::size_t
1351 (*Worker): New method get_result_type.
1352 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
1353 (ListWorkerBase.__init__): New arg val_type. All callers updated.
1354 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
1355 Delete setting of name, enabled.
1356 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
1357 updated. Delete setting of name.
1358 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
1359 libstdc++ xmethod matchers.
1360 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
1361 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
1362 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
1363 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
1364 * testsuite/libstdc++-xmethods/list.cc: Ditto.
1365 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
1366 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
1368 2015-04-29 Doug Evans <dje@google.com>
1370 Use consistent naming for value type attributes.
1371 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
1373 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
1374 (ArrayFrontWorker, ArrayBackWorker): Ditto.
1375 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
1376 (DequeWorkerBase): Rename elemtype to val_type.
1377 (ForwardListWorkerBase): Rename _elem_type to _val_type.
1378 (ForwardListFrontWorker): Ditto. And rename elem_address to
1380 (ForwardListMethodsMatcher): Rename elem_type to val_type.
1381 (VectorWorkerBase): Rename _elemtype to _val_type.
1383 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
1386 * include/std/functional (__check_func_return_type): Use is_same to
1387 avoid using _is_convertible on incomplete types.
1388 * testsuite/20_util/function/65760.cc: New.
1391 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
1393 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
1394 time_get::_M_extract_num, time_get::_M_extract_name,
1395 time_get::_M_extract_wday_or_month): Likewise.
1396 * include/bits/stl_algo.h (__includes, __replace_copy_if,
1397 __is_sorted_until, __is_permutation, transform): Likewise.
1398 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
1399 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
1400 * include/bits/stl_numeric.h (inner_product): Likewise.
1401 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
1402 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
1403 input_iterator_wrapper): Declare unusable comma operator.
1404 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
1405 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
1408 2015-04-28 Doug Evans <dje@google.com>
1410 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
1413 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
1415 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
1418 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
1420 * Makefile.am (SUBDIRS): Move python to hosted_source.
1421 * Makefile.in: Regenerate.
1422 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
1423 * configure: Regenerate.
1425 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
1428 * include/std/limits (numeric_limits): Add missing unsigned.
1430 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
1432 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
1434 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
1437 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
1438 Handle enumeration types larger than sizeof(long).
1439 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
1441 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
1442 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1444 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
1445 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
1447 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
1450 * include/bits/forward_list.h (forward_list::splice_after): Add
1452 * include/bits/forward_list.tcc (forward_list::splice_after):
1456 * include/bits/random.h (seed_seq) Define copy constructor and copy
1457 assignment as deleted.
1458 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
1460 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
1461 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
1462 Use -std=gnu++1z. Check feature-test macro.
1464 * include/std/type_traits (void_t): Add.
1465 * testsuite/20_util/void_t/1.cc: New.
1467 2015-04-28 Tim Shen <timshen@google.com>
1469 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
1470 * include/bits/regex_automaton.tcc: Throw exception when parsing
1471 back-reference with flag __polynomial.
1472 * include/bits/regex_constants.h: Add extension flag
1473 syntax_option_type __polynomial.
1474 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
1475 Alternative operation will be fixed in the coming refactoring.
1476 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
1477 loose match_search_debug to use DFS only.
1479 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
1482 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
1483 Make the generated test program fail gracefully if the target
1484 doesn't support passing command-line arguments.
1486 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
1487 Jonathan Wakely <jwakely@redhat.com>
1489 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
1490 Return false or zero if the library is built without exceptions.
1491 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
1492 the library is built without exceptions.
1494 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
1496 * config/abi/pre/gnu.ver: Fix comment.
1498 Add support for std::uncaught_exceptions.
1499 * acinclude.m4: Bump libtool_VERSION.
1500 * config/abi/pre/gnu.ver: Export the new symbol.
1501 * configure: Regenerate.
1502 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
1503 * libsupc++/exception (uncaught_exceptions): New.
1504 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
1505 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
1507 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
1508 Michael Hanselmann <public@hansmi.ch>
1511 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
1512 uncaught exceptions.
1513 * testsuite/18_support/exception_ptr/62258.cc: New.
1515 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
1517 * doc/xml/manual/extensions.xml: Add cross-reference.
1518 * doc/html/manual/ext_compile_checks.html: Regenerate.
1520 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1522 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
1523 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
1525 2015-04-22 Renlin Li <renlin.li@arm.com>
1527 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
1528 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
1529 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
1530 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
1531 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
1533 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
1535 * doc/xml/manual/configure.xml: Update descriptions of options
1536 affecting dual ABI and add cross-references.
1537 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
1538 * doc/xml/manual/using.xml: Document ABI transition.
1539 * doc/html/*: Regenerate.
1541 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
1542 * doc/xml/manual/using.xml: Document newer -std options. Use better
1543 examples of nested namespaces.
1545 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
1547 * doc/xml/manual/concurrency_extensions.xml: Update documentation
1549 * doc/xml/manual/using.xml: Likewise. Improve markup.
1550 * doc/html/*: Regenerate.
1552 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1554 * scripts/extract_symvers.pl: Ignore elfdump error output.
1556 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
1559 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
1560 _List_const_iterator): Declare.
1561 (__distance): Declare new overloads for _List_iterator and
1562 _List_const_iterator.
1563 * include/bits/stl_list.h (__distance): New overloads for
1564 _List_iterator and _List_const_iterator.
1565 * testsuite/23_containers/list/61347.cc: New testcase.
1567 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
1569 * doc/xml/manual/evolution.xml: Fix typos.
1570 * doc/html/manual/api.html: Regenerate.
1572 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
1574 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
1575 alignment is larger-equal, not equal, to default alignment.
1577 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
1580 * config/abi/pre/gnu.ver: Export base object constructors for
1582 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
1583 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1584 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1585 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1586 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
1587 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1588 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1589 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
1590 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
1591 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
1592 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1593 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1594 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1595 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1596 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1597 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1598 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1599 * testsuite/27_io/basic_fstream/cons/base.cc: New.
1601 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
1603 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
1604 * doc/html/*: Regenerate.
1606 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
1608 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1610 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
1612 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1614 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1616 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
1618 * doc/xml/manual/test.xml: Improve documentation on running a subset
1620 * doc/html/manual/test.html: Regenerate.
1622 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1624 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1625 for GCC 5.1 release.
1626 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1629 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
1631 * include/std/shared_mutex (shared_timed_mutex): Add comments to
1632 explain the logic in the non-pthread_rwlock_t version.
1633 (_Mutex): Remove redundant type.
1634 (_M_n_readers): Rename to _S_max_readers.
1635 (_M_write_entered, _M_readers): New convenience functions.
1636 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
1637 functions. Use predicates with condition variables. Simplify bitwise
1639 (try_lock_for, try_shared_lock_for): Convert duration to time_point
1640 and call try_lock_until or try_shared_lock_until respectively.
1641 (try_lock_until, try_shared_lock_until): Wait on the condition
1642 variables until the specified time passes.
1643 (unlock): Add Debug Mode assertion.
1644 (unlock_shared): Add Debug Mode assertion.
1645 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
1647 * include/std/shared_mutex (shared_timed_mutex): Only use
1648 pthread_rwlock_t when the POSIX Timeouts option is supported.
1649 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
1650 dg-require-gthreads-timed.
1651 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
1652 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
1653 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
1655 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
1657 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1659 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
1660 Richard Henderson <rth@redhat.com>
1663 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
1665 * include/std/atomic (atomic): For types with a power of two size set
1666 alignment to at least the size.
1667 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1668 * testsuite/29_atomics/atomic/65147.cc: New.
1669 * testsuite/29_atomics/atomic_integral/65147.cc: New.
1671 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1673 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1674 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1675 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1677 2015-04-07 Jakub Jelinek <jakub@redhat.com>
1679 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1680 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1681 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1682 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
1683 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
1684 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
1685 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1686 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
1688 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
1691 * config/abi/pre/gnu.ver: Export operator+ for new strings.
1692 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
1693 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
1695 2015-03-28 Tim Shen <timshen@google.com>
1698 * include/bits/regex_constants.h: Use constexpr variables for flags.
1699 * testsuite/28_regex/constants/constexpr.cc: New testcase.
1701 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
1704 * include/std/chrono: Add using-directive for literals to std::chrono.
1705 * testsuite/20_util/duration/literals/65499.cc: New.
1707 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
1711 * include/std/thread (this_thread::sleep_for): Check for negative
1713 (this_thread::sleep_until): Check for times in the past.
1714 * testsuite/30_threads/this_thread/58038.cc: New.
1715 * testsuite/30_threads/this_thread/60421.cc: New.
1717 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
1721 * include/std/atomic (atomic<T>): Increase alignment for types with
1722 the same size as one of the integral types.
1723 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1724 * testsuite/29_atomics/atomic/62259.cc: New.
1726 2015-03-26 Richard Henderson <rth@redhat.com>
1729 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
1730 a fake pointer indicating type alignment.
1731 (__atomic_base<T *>::is_lock_free): Likewise.
1732 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
1734 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
1737 * testsuite/21_strings/basic_string/pthread33394.cc: Use
1738 dg-additional-options.
1740 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1743 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
1745 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
1747 * testsuite/27_io/rvalue_streams-2.cc: New.
1749 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
1752 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
1754 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
1757 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
1758 * configure: Regenerate.
1759 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
1760 system_category): Use macros for versioned namespace.
1761 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
1763 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
1765 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
1766 test for unused for ARM.
1767 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
1768 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1770 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
1772 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
1773 * include/ext/codecvt_specializations.h (encoding_state,
1774 encoding_char_traits): Remove abi-tag and use inline namespace.
1775 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
1777 2015-03-19 Jason Merrill <jason@redhat.com>
1779 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
1780 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
1782 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
1785 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
1786 get_catalogs): Add abi-tag.
1787 * include/ext/codecvt_specializations.h (encoding_state,
1788 encoding_char_traits): Likewise.
1789 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
1790 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
1791 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
1792 money_get_shim, money_put_shim, messages_shim): Likewise.
1793 * src/c++11/future.cc (future_error_category::message): Likewise.
1794 * src/c++11/system_error.cc (generic_error_category::message,
1795 system_error_category::message): Likewise.
1796 (__sso_string): Disable -Wabi-tag warnings.
1798 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
1801 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
1802 implementation for old glibc. Fix whitespace.
1804 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
1805 Torvald Riegel <triegel@redhat.com>
1807 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
1808 * config.h.in: Regenerate.
1809 * configure: Regenerate.
1810 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
1811 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
1812 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
1813 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
1816 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
1818 * libsupc++/nested_exception.h: Do not try to derive from final
1820 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
1823 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
1824 unused exception variable.
1825 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1826 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
1828 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1830 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
1832 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
1833 * configure: Regenerate.
1835 * include/experimental/system_error: Fix include guard.
1837 2015-03-12 Renlin Li <renlin.li@arm.com>
1839 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
1842 2015-03-10 Tim Shen <timshen@google.com>
1845 * include/bits/regex.h (match_results<>::size,
1846 match_results<>::position, match_results<>::str,
1847 match_results<>::operator[], match_results<>::prefix,
1848 match_results<>::suffix, match_results<>::end,
1849 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
1850 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
1851 global __unmatched_sub. Add unmatched submatch as part of
1853 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
1854 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
1855 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
1858 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
1861 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
1862 for newlib targets. Really fix mixed line-endings this time.
1864 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
1866 * include/std/future (future_error(error_code)): Construct base
1867 class with error_code's message.
1868 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
1871 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
1873 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1875 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
1876 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
1878 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
1881 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1882 incomplete multibyte sequences correctly.
1883 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
1884 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
1885 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
1887 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
1888 Define convenience functions.
1889 (read_utf8_code_point): Return relevant constant to distinguish
1890 incomplete characters from invalid sequences.
1891 (read_utf16_code_point): Likewise. Check for invalid sequences.
1892 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
1893 (utf16_out): Check for invalid sequences.
1894 (utf16_span): Fix condition.
1895 (ucs2_out): Use is_high_surrogate.
1896 (ucs2_in): Use incomplete_mb_character constant and fix condition.
1897 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
1898 * testsuite/22_locale/conversions/buffer/1.cc: New.
1899 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
1900 char32_t instead of wchar_t.
1901 * testsuite/22_locale/conversions/string/3.cc: New.
1903 2015-03-03 Iain Sandoe <iain@codesourcery.com>
1906 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
1907 visibility for Darwin.
1908 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
1910 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1912 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
1915 * include/std/scoped_allocator (__inner_type_impl,
1916 scoped_allocator_adaptor): Add defaulted copy assignment and move
1917 assignment operators.
1918 * testsuite/20_util/scoped_allocator/65279.cc: New.
1920 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
1923 * include/std/stdexcept (__sso_string): Don't use non-static member
1926 2015-02-28 Matthias Klose <doko@ubuntu.com>
1929 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
1931 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
1933 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
1934 * doc/html/manual/status.html: Regenerate.
1936 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
1939 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
1942 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
1944 * doc/html/manual/status.html: Regenerate.
1946 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
1949 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
1950 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
1952 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
1955 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
1956 (test01): Add explanatory comment. Keep only the bd1 sub-test and
1957 split out bd2, bd3, bd4, and bd5 sub-tests into...
1958 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
1959 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
1960 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
1961 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
1962 New separate files with the old parts.
1964 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
1966 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
1968 (utf16_in): Pass mode argument to write_utf16_code_point.
1969 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
1971 * testsuite/22_locale/codecvt/char16_t.cc: New.
1972 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
1974 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
1975 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
1977 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1978 Jonathan Wakely <jwakely@redhat.com>
1980 * testsuite/22_locale/codecvt/char32_t.cc: New.
1982 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
1985 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
1986 empty string gets null-terminated.
1987 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
1989 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
1991 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
1992 mixed line-endings introduced in last change.
1994 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
1996 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
1997 for __NEWLIB__ macro with a dejagnu set macro.
1998 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
2000 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
2003 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
2004 special case for '\n'.
2005 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
2007 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
2009 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
2011 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
2014 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
2016 * include/c_std/cstdio (gets): Likewise.
2017 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
2018 with attributes used in darwin headers.
2020 2015-01-29 Jakub Jelinek <jakub@redhat.com>
2022 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
2023 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
2024 * configure: Regenerated.
2026 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
2028 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
2029 after vtv_cygmin is set.
2030 * configure: Regenerated.
2032 2015-01-29 Matthias Klose <doko@ubuntu.com>
2034 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
2036 * configure: Regenerate.
2038 2015-01-29 Caroline Tice <cmtice@google.com>
2040 Committing VTV Cywin/Ming patch for Patrick Wollgast
2041 * configure: Regenerate.
2042 * libsupc++/Makefile.in: Regenerate.
2043 * src/Makefile.in: Regenerate.
2045 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
2047 * include/bits/atomic_base.h: Use __always_inline__ instead of
2049 * include/bits/atomic_futex.h: Likewise.
2050 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
2051 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
2052 __packed__ instead of packed.
2053 * include/std/shared_mutex: Use __unused__ instead of unused.
2054 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
2055 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
2056 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
2058 2015-01-28 Caroline Tice <cmtice@google.com>
2060 Committing VTV Cywin/Ming patch for Patrick Wollgast
2061 * acinclude.m4: Define VTV_CYGMIN.
2062 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
2063 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
2064 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
2065 for Cygwin and MinGW.
2066 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
2067 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
2068 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
2070 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
2073 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
2074 * libsupc++/Makefile.in: Regenerate.
2075 * src/c++11/Makefile.in: Regenerate.
2077 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2079 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
2080 check for unsupported.
2081 (v3_target_compile_as_c): Likewise.
2083 2015-01-28 Richard Biener <rguenther@suse.de>
2086 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
2088 (pool::allocate): Adjust allocation size and alignment to
2090 (pool::free): Adjust pointer offsetting.
2092 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
2095 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
2096 shared_timed_mutex::try_lock_until): Only define when POSIX thread
2097 timeouts option is supported.
2098 (shared_timed_mutex::try_shared_lock_for,
2099 shared_timed_mutex::try_shared_lock_until): Likewise.
2101 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
2104 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
2105 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
2106 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
2107 and use cache's _M_grouping field.
2108 (__numpunct_fill_cache): Likewise.
2109 (__moneypunct_fill_cache): Improve comments.
2111 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
2113 * testsuite/23_containers/set/operations/2.cc: Add test for
2114 non-transparent comparison function.
2116 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
2119 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
2120 Remove SH4A inline asm and lock based implementations and use the
2121 defaults from ext/atomicity.h.
2123 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
2125 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
2126 new std::string constructors for byname facets.
2128 2015-01-22 Richard Biener <rguenther@suse.de>
2131 * libsupc++/eh_alloc.cc: Include new.
2132 (bitmask_type): Remove.
2133 (one_buffer): Likewise.
2134 (emergency_buffer): Likewise.
2135 (emergency_used): Likewise.
2136 (dependents_buffer): Likewise.
2137 (dependents_used): Likewise.
2138 (class pool): New custom fixed-size arena, variable size object
2140 (emergency_pool): New global.
2141 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
2142 (__cxxabiv1::__cxa_free_exception): Likewise.
2143 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
2144 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
2146 2015-01-22 Tim Shen <timshen@google.com>
2149 * include/bits/regex.h (basic_regex<>::basic_regex,
2150 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
2152 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
2154 2015-01-22 Tim Shen <timshen@google.com>
2157 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
2158 regex_traits<>::lookup_classname): Correctly narrow input chars.
2159 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
2161 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
2163 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
2165 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
2167 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
2169 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2171 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
2172 * doc/xml/manual/status_cxx2014.xml: Update status.
2173 * doc/html/manual/status.html: Regenerate.
2175 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2178 * include/experimental/optional (bad_optional_access): Add default
2180 * testsuite/experimental/optional/requirements.cc: Test for default
2183 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2185 * include/bits/stl_map.h (map::find<>, map::count<>,
2186 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
2187 member function templates to perform heterogeneous lookup.
2188 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
2189 multimap::lower_bound<>, multimap::upper_bound<>,
2190 multimap::equal_range<>): Likewise.
2191 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
2192 multiset::lower_bound<>, multiset::upper_bound<>,
2193 multiset::equal_range<>): Likewise.
2194 * include/bits/stl_set.h (set::find<>, set::count<>,
2195 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
2196 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
2197 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
2198 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
2199 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
2200 * testsuite/23_containers/map/operations/2.cc: New.
2201 * testsuite/23_containers/multimap/operations/2.cc: New.
2202 * testsuite/23_containers/multiset/operations/2.cc: New.
2203 * testsuite/23_containers/set/operations/2.cc: New.
2205 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2207 * config/abi/pre/gnu.ver: Export new constructors.
2208 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
2209 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
2210 specializations and declare explicit instantiations.
2211 * include/bits/locale_classes.h (locale, collate_byname): Add string
2213 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
2215 * include/bits/locale_facets_nonio.h (time_get_byname,
2216 time_put_byname, moneypunct_byname, messages_byname): Likewise.
2217 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
2218 codecvt_byname<char32_t>): Define explicit instantiations.
2219 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
2220 Instantiate string constructors.
2221 (ctype_byname): Define string constructor.
2222 * testsuite/22_locale/codecvt_byname/1.cc: New.
2223 * testsuite/22_locale/collate_byname/1.cc: New.
2224 * testsuite/22_locale/ctype_byname/2.cc: New.
2225 * testsuite/22_locale/messages_byname/1.cc: New.
2226 * testsuite/22_locale/moneypunct_byname/1.cc: New.
2227 * testsuite/22_locale/numpunct_byname/1.cc: New.
2229 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2232 * include/std/atomic (atomic_init): Define.
2233 * testsuite/29_atomics/atomic/64658.cc: New.
2235 2015-01-19 Tim Shen <timshen@google.com>
2238 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
2239 regex_traits<>::lookup_classname): Support forward iterators.
2240 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
2241 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
2243 2015-01-19 Tim Shen <timshen@google.com>
2247 * include/bits/regex.h (basic_regex<>::basic_regex,
2248 basic_regex<>::assign, basic_regex<>::imbue,
2249 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
2250 imbuing basic_regex; Make assign() transactional against exception.
2251 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
2252 __compile_nfa SFINAE.
2253 * include/std/regex: Adjust include order to avoid __compile_nfa
2254 forward declaration.
2255 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
2256 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
2258 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
2259 Jonathan Wakely <jwakely@redhat.com>
2261 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
2262 on overloads for arrays.
2263 (cbegin, cend, rbegin, rend, crbegin, crend): New.
2264 * testsuite/24_iterators/range_access_cpp14.cc: New.
2266 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
2269 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
2270 end of the second range.
2271 * testsuite/25_algorithms/is_permutation/64646.cc: New.
2273 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
2275 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
2276 * doc/html/manual/status.html: Regenerate.
2278 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
2280 * include/bits/atomic_futex.h: Use mutex and condition_variable when
2281 atomic int is not lock-free. Make member variables private.
2282 * src/c++11/futex.cc: Likewise.
2284 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
2286 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2289 * include/bits/atomic_futex.h: Use appropriate config macros for
2290 availability of std::mutex, std::condition and std::chrono.
2292 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
2293 Jonathan Wakely <jwakely@redhat.com>
2295 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
2296 * doc/html/*: Regenerate.
2298 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2302 * include/bits/algorithmfwd.h (rotate): Return an iterator.
2303 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
2304 * testsuite/25_algorithms/rotate/dr488.cc: New.
2305 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
2306 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2308 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2311 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2314 * include/bits/atomic_base.h: Remove atomic integral typedefs as
2315 synonyms for __atomic_base<int> etc.
2316 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
2317 likewise for all atomic integral types.
2318 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
2319 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2321 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2324 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
2325 and define one-element specialization.
2326 * testsuite/20_util/tuple/56785.cc: New.
2328 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2330 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
2331 Remove unused header.
2332 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
2334 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
2337 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
2339 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
2340 * include/std/locale: Include new header.
2341 * include/Makefile.am: Add it.
2342 * include/Makefile.in: Regenerate.
2343 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
2344 * testsuite/22_locale/conversions/string/1.cc: New.
2345 * testsuite/22_locale/conversions/string/2.cc: New.
2346 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
2347 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
2350 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
2352 * config/abi/pre/gnu.ver: Export new symbols.
2353 * include/Makefile.am: Add codecvt.
2354 * include/Makefile.in: Regenerate.
2355 * include/std/codecvt: New header.
2356 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
2357 __codecvt_utf8_utf16_base): Define specializations.
2358 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
2359 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
2360 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
2363 2015-01-16 Torvald Riegel <triegel@redhat.com>
2365 * src/c++11/futex.cc: New file.
2366 * include/bits/atomic_futex.h: New file.
2367 * include/std/future (__future_base::_State_baseV2): Use
2368 atomic_futex_unsigned instead of mutex+condvar.
2369 * src/c++11/futex.cc: Likewise.
2370 * include/Makefile.am: Add atomic_futex.h.
2371 * include/Makefile.in: Likewise.
2372 * src/c++11/Makefile.am: Add futex.cc.
2373 * src/c++11/Makefile.in: Likewise.
2375 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
2377 * acinclude.m4: Fix typo in comment.
2378 * configure: Regenerate.
2379 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
2380 codecvt<char16_t, char, mbstate_t>): Declare specializations.
2381 * include/bits/locale_facets.h: Reserve space for new specializations.
2382 * src/c++11/Makefile.am: Add codecvt.cc.
2383 * src/c++11/Makefile.in: Regenerate.
2384 * src/c++11/codecvt.cc: New.
2385 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
2387 * src/c++98/Makefile.in: Regenerate.
2388 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
2389 * src/c++98/localename.cc: Likewise.
2390 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
2391 * testsuite/22_locale/codecvt/utf8.cc: New.
2392 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
2393 specializations are installed in locale objects.
2395 2015-01-16 Torvald Riegel <triegel@redhat.com>
2397 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
2400 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
2403 * config/abi/pre/gnu.ver: Export fstream functions using new string.
2405 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
2408 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
2412 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
2414 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
2416 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
2417 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
2418 Multi Processing Runtime Library".
2420 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
2423 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
2424 is_assignable arguments.
2425 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
2428 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2430 * libsupc++/unwind-cxx.h: Revert previous commit.
2432 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2434 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
2436 2015-01-09 Tim Shen <timshen@google.com>
2439 * include/bits/regex.h (match_results<>::swap): Use std::swap
2441 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
2443 * testsuite/28_regex/match_results/swap.cc: New testcase.
2445 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
2448 * include/std/type_traits (has_trivial_default_constructor,
2449 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
2451 * testsuite/20_util/has_trivial_copy_assign/requirements/
2452 explicit_instantiation.cc: Use -Wno-deprecated.
2453 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
2455 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
2456 * testsuite/20_util/has_trivial_copy_constructor/requirements/
2457 explicit_instantiation.cc: Likewise.
2458 * testsuite/20_util/has_trivial_copy_constructor/requirements/
2459 typedefs.cc: Likewise.
2460 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
2461 * testsuite/20_util/has_trivial_default_constructor/requirements/
2462 explicit_instantiation.c: Likewise.
2463 * testsuite/20_util/has_trivial_default_constructor/requirements/
2464 typedefs.cc: Likewise.
2465 * testsuite/20_util/has_trivial_default_constructor/value.cc:
2467 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
2469 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
2470 * testsuite/util/testsuite_common_types.h: Likewise.
2472 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
2474 * include/bits/hashtable_policy.h: Use __bool_constant.
2476 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
2478 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
2479 * libsupc++/Makefile.in: Regenerate.
2481 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
2483 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
2485 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2487 Update copyright years.
2489 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
2492 * testsuite/18_support/exception_ptr/64241.cc: Use
2493 dg-require-atomic-builtins.
2495 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
2497 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
2500 2015-01-02 Tim Shen <timshen@google.com>
2503 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
2504 iterator, since the original one shouldn't be mutated.
2506 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2509 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
2510 (string::insert): Likewise.
2511 (string::replace): Likewise.
2512 (wstring::erase): Likewise.
2513 (wstring::insert): Likewise.
2514 (wstring::replace): Likewise.
2515 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
2517 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
2520 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
2522 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
2525 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
2526 Revert removal of dg-require-string-conversions.
2527 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2529 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2531 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2533 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2535 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2537 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2539 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2541 * testsuite/21_strings/basic_string/numeric_conversions/char/
2542 stoull.cc: Likewise.
2543 * testsuite/21_strings/basic_string/numeric_conversions/char/
2544 to_string.cc: Likewise.
2546 Copyright (C) 2015 Free Software Foundation, Inc.
2548 Copying and distribution of this file, with or without modification,
2549 are permitted in any medium without royalty provided the copyright
2550 notice and this notice are preserved.