stl_iterator_base_types.h (_Iter_base): Limit definition to pre-C++11 mode.
2015-06-29 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
to pre-C++11 mode.
* include/debug/functions.h
(__gnu_debug::__valid_range, __gnu_debug::__base): Move...
* include/debug/safe_iterator.h
(__gnu_debug::_Sequence_traits): New.
(__gnu_debug::__get_distance_from_begin): New.
(__gnu_debug::__get_distance_to_end): New.
(__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
distance information. Add optional check_dereferenceable parameter,
default true.
(__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
default definition...
(__gnu_debug::__get_distance): New overload for _Safe_iterator.
(__gnu_debug::__unsafe): Likewise.
* include/debug/helper_functions.h: ...here. New.
(__gnu_debug::__unsafe): New helper function to remove safe iterator
layer.
* include/debug/stl_iterator.h: New. Include latter.
* include/bits/stl_iterator.h: Include latter in debug mode.
* include/debug/stl_iterator.tcc: Adapt.
* include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
overload for _Safe_local_iterator.
(__gnu_debug::__unsafe): Likewise.
* include/debug/safe_local_iterator.tcc: Adapt.
* include/debug/macros.h (__glibcxx_check_valid_range2): New.
(__glibcxx_check_insert_range): Add _Dist parameter.
(__glibcxx_check_insert_range_after): Likewise.
(__glibcxx_check_string, __glibcxx_check_string_len): Implement using
_GLIBCXX_DEBUG_PEDASSERT.
* include/debug/deque (deque<>::assign): Remove iterator debug layer
when possible.
(deque<>::insert): Likewise.
* include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
(forward_list<>::splice_after): Use latter.
(forward_list<>::assign): Remove iterator debug layer when possible.
(forward_list<>::insert_after): Likewise.
(__gnu_debug::_Sequence_traits<>): Partial specialization.
* include/debug/list (list<>::assign): Remove iterator debug layer when
possible.
(list<>::insert): Likewise.
[__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
* include/debug/map.h (map<>::insert): Remove iterator debug layer when
possible.
* include/debug/multimap.h (multimap<>::insert): Likewise.
* include/debug/set.h (set<>::insert): Likewise.
* include/debug/multiset.h (multiset<>::insert): Likewise.
* include/debug/string (basic_string<>::append, basic_string<>::assign,
basic_string<>::insert, basic_string<>::replace): Likewise.
* include/debug/unordered_map
(unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
* include/debug/unordered_set
(unordered_set<>::insert, unordered_multiset<>insert): Likewise.
* include/debug/vector
(vector<>::assign, vector<>::insert): Likewise.
* include/Makefile.am: Add new debug headers.
* include/Makefile.in: Regenerate.
From-SVN: r225143
2015-06-29 22:17:56 +02:00
|
|
|
|
2015-06-29 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
|
|
|
|
|
to pre-C++11 mode.
|
|
|
|
|
* include/debug/functions.h
|
|
|
|
|
(__gnu_debug::__valid_range, __gnu_debug::__base): Move...
|
|
|
|
|
* include/debug/safe_iterator.h
|
|
|
|
|
(__gnu_debug::_Sequence_traits): New.
|
|
|
|
|
(__gnu_debug::__get_distance_from_begin): New.
|
|
|
|
|
(__gnu_debug::__get_distance_to_end): New.
|
|
|
|
|
(__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
|
|
|
|
|
distance information. Add optional check_dereferenceable parameter,
|
|
|
|
|
default true.
|
|
|
|
|
(__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
|
|
|
|
|
default definition...
|
|
|
|
|
(__gnu_debug::__get_distance): New overload for _Safe_iterator.
|
|
|
|
|
(__gnu_debug::__unsafe): Likewise.
|
|
|
|
|
* include/debug/helper_functions.h: ...here. New.
|
|
|
|
|
(__gnu_debug::__unsafe): New helper function to remove safe iterator
|
|
|
|
|
layer.
|
|
|
|
|
* include/debug/stl_iterator.h: New. Include latter.
|
|
|
|
|
* include/bits/stl_iterator.h: Include latter in debug mode.
|
|
|
|
|
* include/debug/stl_iterator.tcc: Adapt.
|
|
|
|
|
* include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
|
|
|
|
|
overload for _Safe_local_iterator.
|
|
|
|
|
(__gnu_debug::__unsafe): Likewise.
|
|
|
|
|
* include/debug/safe_local_iterator.tcc: Adapt.
|
|
|
|
|
* include/debug/macros.h (__glibcxx_check_valid_range2): New.
|
|
|
|
|
(__glibcxx_check_insert_range): Add _Dist parameter.
|
|
|
|
|
(__glibcxx_check_insert_range_after): Likewise.
|
|
|
|
|
(__glibcxx_check_string, __glibcxx_check_string_len): Implement using
|
|
|
|
|
_GLIBCXX_DEBUG_PEDASSERT.
|
|
|
|
|
* include/debug/deque (deque<>::assign): Remove iterator debug layer
|
|
|
|
|
when possible.
|
|
|
|
|
(deque<>::insert): Likewise.
|
|
|
|
|
* include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
|
|
|
|
|
(forward_list<>::splice_after): Use latter.
|
|
|
|
|
(forward_list<>::assign): Remove iterator debug layer when possible.
|
|
|
|
|
(forward_list<>::insert_after): Likewise.
|
|
|
|
|
(__gnu_debug::_Sequence_traits<>): Partial specialization.
|
|
|
|
|
* include/debug/list (list<>::assign): Remove iterator debug layer when
|
|
|
|
|
possible.
|
|
|
|
|
(list<>::insert): Likewise.
|
|
|
|
|
[__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
|
|
|
|
|
* include/debug/map.h (map<>::insert): Remove iterator debug layer when
|
|
|
|
|
possible.
|
|
|
|
|
* include/debug/multimap.h (multimap<>::insert): Likewise.
|
|
|
|
|
* include/debug/set.h (set<>::insert): Likewise.
|
|
|
|
|
* include/debug/multiset.h (multiset<>::insert): Likewise.
|
|
|
|
|
* include/debug/string (basic_string<>::append, basic_string<>::assign,
|
|
|
|
|
basic_string<>::insert, basic_string<>::replace): Likewise.
|
|
|
|
|
* include/debug/unordered_map
|
|
|
|
|
(unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
|
|
|
|
|
* include/debug/unordered_set
|
|
|
|
|
(unordered_set<>::insert, unordered_multiset<>insert): Likewise.
|
|
|
|
|
* include/debug/vector
|
|
|
|
|
(vector<>::assign, vector<>::insert): Likewise.
|
|
|
|
|
* include/Makefile.am: Add new debug headers.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
|
2015-06-26 19:26:38 +02:00
|
|
|
|
2015-06-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
Implement N4258 (Cleaning-up noexcept in the Library rev 3)
* doc/xml/manual/intro.xml: Document LWG 2108 status.
* include/bits/alloc_traits.h (allocator_traits::is_always_equal):
Define.
* include/bits/allocator.h (allocator::is_always_equal): Likewise.
* include/bits/forward_list.h
(forward_list::operator=(forward_list&&)): Use __bool_constant.
(forward_list::swap(forward_list&)): Add noexcept.
* include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
Likewise.
(_Hashtable::swap(_Hashtable&)): Likewise.
* include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
Use _Alloc_traits::is_always_equal.
(deque::operator=(deque&&)): Likewise.
(deque::_M_move_assign1(deque&&, false_type)): Add comment and use
__bool_constant.
(swap(deque&, deque&)): Add noexcept.
* include/bits/stl_list.h (list::operator=(list&&)): Use
__bool_constant.
(swap(list&, list&)): Add noexcept.
* include/bits/stl_map.h (map::swap(map&)): Include _Compare in
noexcept.
(swap(map&, map&)): Add noexcept.
* include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
_Compare in noexcept.
(swap(multimap&, multimap&)): Add noexcept.
* include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
_Compare in noexcept.
(swap(multiset&, multiset&)): Add noexcept.
* include/bits/stl_set.h (set::swap(set&)): Include _Compare in
noexcept.
(swap(set&, set&)): Add noexcept.
* include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
_Compare in noexcept.
(_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
is_always_equal.
* include/bits/stl_vector.h (vector::operator=(vector&&)): Use
__bool_constant.
(swap(vector&, vector&)): Add noexcept.
* include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
swap(unordered_multimap& unordered_multimap&)): Add noexcept.
* include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
swap(unordered_multiset& unordered_multiset&)): Add noexcept.
* include/ext/alloc_traits.h (__allocator_always_compares_equal):
Remove.
(__alloc_traits::_S_always_equal()): Use is_always_equal instead of
__allocator_always_compares_equal.
* include/ext/array_allocator.h (array_allocator::is_always_equal):
Define.
* include/std/scoped_allocator (__any_of, __propagate_on_copy,
__propagate_on_move, __propagate_on_swap): Remove.
(scoped_allocator_adaptor::propagate_on_container_copy_assignment,
scoped_allocator_adaptor::propagate_on_container_move_assignment,
scoped_allocator_adaptor::propagate_on_container_swap): Define with
__and_ instead of __any_of.
(scoped_allocator_adaptor::is_always_equal): Define.
* testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
* testsuite/20_util/scoped_allocator/propagation.cc: Make traits
derive from true_type or false_type.
* testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
is_always_equal member and remove the trait specialization.
* testsuite/23_containers/vector/52591.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
From-SVN: r225081
2015-06-26 22:10:24 +02:00
|
|
|
|
* doc/xml/manual/intro.xml: Document LWG 2108 status.
|
|
|
|
|
* include/bits/alloc_traits.h (allocator_traits::is_always_equal):
|
|
|
|
|
Define.
|
|
|
|
|
* include/bits/allocator.h (allocator::is_always_equal): Likewise.
|
|
|
|
|
* include/bits/forward_list.h
|
|
|
|
|
(forward_list::operator=(forward_list&&)): Use __bool_constant.
|
|
|
|
|
(forward_list::swap(forward_list&)): Add noexcept.
|
|
|
|
|
* include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
(_Hashtable::swap(_Hashtable&)): Likewise.
|
|
|
|
|
* include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
|
|
|
|
|
Use _Alloc_traits::is_always_equal.
|
|
|
|
|
(deque::operator=(deque&&)): Likewise.
|
|
|
|
|
(deque::_M_move_assign1(deque&&, false_type)): Add comment and use
|
|
|
|
|
__bool_constant.
|
|
|
|
|
(swap(deque&, deque&)): Add noexcept.
|
|
|
|
|
* include/bits/stl_list.h (list::operator=(list&&)): Use
|
|
|
|
|
__bool_constant.
|
|
|
|
|
(swap(list&, list&)): Add noexcept.
|
|
|
|
|
* include/bits/stl_map.h (map::swap(map&)): Include _Compare in
|
|
|
|
|
noexcept.
|
|
|
|
|
(swap(map&, map&)): Add noexcept.
|
|
|
|
|
* include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
|
|
|
|
|
_Compare in noexcept.
|
|
|
|
|
(swap(multimap&, multimap&)): Add noexcept.
|
|
|
|
|
* include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
|
|
|
|
|
_Compare in noexcept.
|
|
|
|
|
(swap(multiset&, multiset&)): Add noexcept.
|
|
|
|
|
* include/bits/stl_set.h (set::swap(set&)): Include _Compare in
|
|
|
|
|
noexcept.
|
|
|
|
|
(swap(set&, set&)): Add noexcept.
|
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
|
|
|
|
|
_Compare in noexcept.
|
|
|
|
|
(_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
|
|
|
|
|
is_always_equal.
|
|
|
|
|
* include/bits/stl_vector.h (vector::operator=(vector&&)): Use
|
|
|
|
|
__bool_constant.
|
|
|
|
|
(swap(vector&, vector&)): Add noexcept.
|
|
|
|
|
* include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
|
|
|
|
|
swap(unordered_multimap& unordered_multimap&)): Add noexcept.
|
|
|
|
|
* include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
|
|
|
|
|
swap(unordered_multiset& unordered_multiset&)): Add noexcept.
|
|
|
|
|
* include/ext/alloc_traits.h (__allocator_always_compares_equal):
|
|
|
|
|
Remove.
|
|
|
|
|
(__alloc_traits::_S_always_equal()): Use is_always_equal instead of
|
|
|
|
|
__allocator_always_compares_equal.
|
|
|
|
|
* include/ext/array_allocator.h (array_allocator::is_always_equal):
|
|
|
|
|
Define.
|
|
|
|
|
* include/std/scoped_allocator (__any_of, __propagate_on_copy,
|
|
|
|
|
__propagate_on_move, __propagate_on_swap): Remove.
|
|
|
|
|
(scoped_allocator_adaptor::propagate_on_container_copy_assignment,
|
|
|
|
|
scoped_allocator_adaptor::propagate_on_container_move_assignment,
|
|
|
|
|
scoped_allocator_adaptor::propagate_on_container_swap): Define with
|
|
|
|
|
__and_ instead of __any_of.
|
|
|
|
|
(scoped_allocator_adaptor::is_always_equal): Define.
|
|
|
|
|
* testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
|
|
|
|
|
* testsuite/20_util/scoped_allocator/propagation.cc: Make traits
|
|
|
|
|
derive from true_type or false_type.
|
|
|
|
|
* testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
|
|
|
|
|
is_always_equal member and remove the trait specialization.
|
|
|
|
|
* testsuite/23_containers/vector/52591.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Adjust dg-error line number.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/
|
|
|
|
|
constructor_1_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/
|
|
|
|
|
constructor_2_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/
|
|
|
|
|
constructor_1_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/
|
|
|
|
|
constructor_2_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-06-26 19:26:38 +02:00
|
|
|
|
* include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
|
|
|
|
|
* include/bits/stl_map.h (map::map()): Likewise.
|
|
|
|
|
* include/bits/stl_multimap.h (multimap::multimap()): Likewise.
|
|
|
|
|
* include/bits/stl_multiset.h (multiset::multiset()): Likewise.
|
|
|
|
|
* include/bits/stl_set.h (set::set()): Likewise.
|
|
|
|
|
|
2015-06-25 20:23:41 +02:00
|
|
|
|
2015-06-25 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/locale_conv.h (__do_str_codecvt): Set __count.
|
|
|
|
|
|
2015-06-24 22:12:05 +02:00
|
|
|
|
2015-06-24 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/basic_string.h (basic_string<>::front()): Add !empty
|
|
|
|
|
debug check.
|
|
|
|
|
(basic_string<>::back()): Likewise.
|
|
|
|
|
(basic_string<>::pop_back()): Likewise.
|
|
|
|
|
|
2015-06-24 14:18:29 +02:00
|
|
|
|
2015-06-24 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
|
|
|
|
|
dg-error line numbers.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-06-23 21:51:02 +02:00
|
|
|
|
2015-06-23 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/debug/array: Include <array>. Add version namespace when
|
|
|
|
|
specializing tuple interface to array. Add specialization for
|
|
|
|
|
__is_tuple_like_impl.
|
|
|
|
|
* include/profile/array: Likewise.
|
|
|
|
|
* include/std/array: Include <utility>. Add specialization for
|
|
|
|
|
__is_tuple_like_impl.
|
|
|
|
|
* include/std/tuple
|
|
|
|
|
(__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move...
|
|
|
|
|
* include/std/utility: ... here. Include <type_traits>.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
|
|
|
|
|
dg-error line number.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/
|
|
|
|
|
tuple_element_debug_neg.cc: Likewise.
|
|
|
|
|
|
2015-06-22 17:09:14 +02:00
|
|
|
|
2015-06-22 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-06-22 17:09:32 +02:00
|
|
|
|
* testsuite/26_numerics/complex/value_operations/1.cc: Use
|
|
|
|
|
non-negative rho argument.
|
|
|
|
|
|
2015-06-22 17:09:27 +02:00
|
|
|
|
* include/debug/list (__gnu_debug::list): Use allocator-aware
|
|
|
|
|
_Safe_container base.
|
|
|
|
|
* include/debug/string (__gnu_debug::basic_string): Use
|
|
|
|
|
allocator-aware _Safe_container base for cxx11 ABI.
|
|
|
|
|
|
2015-06-22 17:09:22 +02:00
|
|
|
|
* include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
|
|
|
|
|
(wstring_convert): Move into __cxx11 namespace.
|
|
|
|
|
(wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
|
|
|
|
|
message.
|
|
|
|
|
|
2015-06-22 17:09:14 +02:00
|
|
|
|
PR libstdc++/64657
|
|
|
|
|
* include/bits/stl_uninitialized.h
|
|
|
|
|
(__uninitialized_copy::__uninit_copy): Cast expression to void.
|
|
|
|
|
|
2015-06-17 12:51:46 +02:00
|
|
|
|
2015-06-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
C++11 allocator support for std::list.
PR libstdc++/55409
* include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
(list::list(const list&)): Use allocator propagation trait. Use
_M_assign_dispatch to copy elements.
* include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
(_List_node::_M_valptr()): Add accessor for stored value.
(_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
(_List_base, list): Use allocator traits.
(_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
(_List_base::_M_move_nodes): New function.
(_List_base(_List_base&&)): Use _M_move_nodes.
(_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
(list::_M_create_node, list::_M_erase, list::max_size): Use allocator
traits.
(list(size_type)): Add allocator parameter.
(list(const list&)): Use allocator propagation trait.
(list(const list&, const allocator_type&)): New constructor.
(list(list&&, const allocator_type&)): Likewise.
(list::operator=(list&&), list::swap(list&)): Use allocator
propagation traits.
(list::_M_move_assign): New functions.
* include/debug/list: Add allocator-extended constructors.
* include/profile/list: Likewise.
* python/libstdcxx/v6/printers.py (get_value_from_list_node): New
function to get value from _List_node.
(StdListPrinter): Use get_value_from_list_node.
* testsuite/23_containers/list/allocator/copy.cc: New.
* testsuite/23_containers/list/allocator/copy_assign.cc: New.
* testsuite/23_containers/list/allocator/minimal.cc: New.
* testsuite/23_containers/list/allocator/move.cc: New.
* testsuite/23_containers/list/allocator/move_assign.cc: New.
* testsuite/23_containers/list/allocator/noexcept.cc: New.
* testsuite/23_containers/list/allocator/swap.cc: New.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Adjust dg-prune-output line number.
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
From-SVN: r224580
2015-06-17 22:36:42 +02:00
|
|
|
|
PR libstdc++/55409
|
|
|
|
|
* include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
|
|
|
|
|
(list::list(const list&)): Use allocator propagation trait. Use
|
|
|
|
|
_M_assign_dispatch to copy elements.
|
|
|
|
|
* include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
|
|
|
|
|
(_List_node::_M_valptr()): Add accessor for stored value.
|
|
|
|
|
(_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
|
|
|
|
|
(_List_base, list): Use allocator traits.
|
|
|
|
|
(_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
|
|
|
|
|
(_List_base::_M_move_nodes): New function.
|
|
|
|
|
(_List_base(_List_base&&)): Use _M_move_nodes.
|
|
|
|
|
(_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
|
|
|
|
|
(list::_M_create_node, list::_M_erase, list::max_size): Use allocator
|
|
|
|
|
traits.
|
|
|
|
|
(list(size_type)): Add allocator parameter.
|
|
|
|
|
(list(const list&)): Use allocator propagation trait.
|
|
|
|
|
(list(const list&, const allocator_type&)): New constructor.
|
|
|
|
|
(list(list&&, const allocator_type&)): Likewise.
|
|
|
|
|
(list::operator=(list&&), list::swap(list&)): Use allocator
|
|
|
|
|
propagation traits.
|
|
|
|
|
(list::_M_move_assign): New functions.
|
|
|
|
|
* include/debug/list: Add allocator-extended constructors.
|
|
|
|
|
* include/profile/list: Likewise.
|
|
|
|
|
* python/libstdcxx/v6/printers.py (get_value_from_list_node): New
|
|
|
|
|
function to get value from _List_node.
|
|
|
|
|
(StdListPrinter): Use get_value_from_list_node.
|
|
|
|
|
* testsuite/23_containers/list/allocator/copy.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/allocator/copy_assign.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/allocator/minimal.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/allocator/move.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/allocator/move_assign.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/allocator/noexcept.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/allocator/swap.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Adjust dg-prune-output line number.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-06-17 19:45:45 +02:00
|
|
|
|
* include/bits/forward_list.h
|
|
|
|
|
(_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
|
|
|
|
|
rvalue-reference.
|
|
|
|
|
(_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
|
|
|
|
|
(forward_list(const _Alloc&)): Split default constructor out to
|
|
|
|
|
separate function.
|
|
|
|
|
(forward_list(forward_list&&, const _Alloc&)): Move elements if base
|
|
|
|
|
class didn't do so.
|
|
|
|
|
(forward_list::_M_move_assign(forward_list&&, true_type)): Replace
|
|
|
|
|
swap call with two assignments.
|
|
|
|
|
* include/bits/forward_list.tcc
|
|
|
|
|
(_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
|
|
|
|
|
move elements when allocators are not equal.
|
|
|
|
|
* include/debug/forward_list (forward_list(const allocator_type&)):
|
|
|
|
|
Split default constructor out to separate function.
|
|
|
|
|
* include/profile/forward_list (forward_list(const _Alloc&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-06-17 13:33:31 +02:00
|
|
|
|
* include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
|
|
|
|
|
Remove unnecessary uses of operator& and static_cast.
|
|
|
|
|
* include/bits/forward_list.tcc
|
|
|
|
|
(forward_list::operator=(const forward_list&)): Use __addressof
|
|
|
|
|
instead of operator&.
|
|
|
|
|
(forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
|
|
|
|
|
Remove invalid static_casts.
|
|
|
|
|
* include/debug/forward_list: Use __addressof instead of operator&.
|
|
|
|
|
* testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
|
|
|
|
|
|
2015-06-17 12:51:46 +02:00
|
|
|
|
* include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()): Use
|
|
|
|
|
__is_nothrow_swappable.
|
|
|
|
|
|
2015-06-16 19:53:52 +02:00
|
|
|
|
2015-06-16 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-06-17 00:33:06 +02:00
|
|
|
|
* include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof.
|
|
|
|
|
|
2015-06-16 23:04:53 +02:00
|
|
|
|
* include/bits/list.tcc (list::operator=(const list&), list::merge):
|
|
|
|
|
Use __addressof instead of operator&.
|
|
|
|
|
(list::sort): Use array-to-pointer decay instead of operator&.
|
|
|
|
|
* include/bits/stl_list.h (list::splice): Use __addressof instead of
|
|
|
|
|
operator&.
|
|
|
|
|
* include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/functions.h (__check_singular): Likewise.
|
|
|
|
|
* include/debug/list (list::splice, list::merge): Likewise.
|
|
|
|
|
* testsuite/23_containers/list/modifiers/addressof.cc: New.
|
|
|
|
|
|
2015-06-16 19:53:52 +02:00
|
|
|
|
PR libstdc++/65393
|
|
|
|
|
* src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
|
|
|
|
|
copies with moves.
|
|
|
|
|
|
2015-06-12 12:26:05 +02:00
|
|
|
|
2015-06-12 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-06-12 14:27:06 +02:00
|
|
|
|
* include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
|
|
|
|
|
|
2015-06-12 12:26:05 +02:00
|
|
|
|
PR libstdc++/66464
|
|
|
|
|
* src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
|
|
|
|
|
Return 4 not 3.
|
|
|
|
|
|
2015-06-12 11:53:24 +02:00
|
|
|
|
2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
PR c++/66192
|
|
|
|
|
PR target/66200
|
2015-06-12 12:26:10 +02:00
|
|
|
|
* config/cpu/alpha/atomic_word.h: Remove.
|
|
|
|
|
* config/cpu/ia64/atomic_word.h: Remove.
|
|
|
|
|
* config/cpu/powerpc/atomic_word.h: Remove.
|
|
|
|
|
* config/os/aix/atomic_word.h: Remove.
|
|
|
|
|
* configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]:
|
|
|
|
|
Use generic definition.
|
2015-06-12 11:53:24 +02:00
|
|
|
|
|
2015-06-12 11:49:41 +02:00
|
|
|
|
2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/66200
|
|
|
|
|
PR c++/66192
|
|
|
|
|
* * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define
|
2015-06-12 12:26:10 +02:00
|
|
|
|
(_GLIBCXX_WRITE_MEM_BARRIER): Likewise
|
|
|
|
|
* include/bits/shared_ptr_base.h: Use ACQ_REL barrier.
|
|
|
|
|
* include/ext/atomicity.h: Likewise.
|
|
|
|
|
* include/tr1/shared_ptr.h: Likewise.
|
|
|
|
|
* libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics.
|
|
|
|
|
Update comment.
|
|
|
|
|
(__set_and_release): Likewise.
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for
|
2015-06-12 11:49:41 +02:00
|
|
|
|
line numbers.
|
2015-06-12 12:26:10 +02:00
|
|
|
|
* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
|
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
|
2015-06-12 11:49:41 +02:00
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-06-12 01:22:19 +02:00
|
|
|
|
2015-06-12 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/std/tuple (__is_tuple_like_impl): Disambiguate array in
|
|
|
|
|
debug and profile modes.
|
|
|
|
|
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests
|
|
|
|
|
for swap in C++11 and later.
|
|
|
|
|
|
2015-06-09 10:50:00 +02:00
|
|
|
|
2015-06-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/66030
|
|
|
|
|
* config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
|
|
|
|
|
for mingw32.
|
|
|
|
|
|
2015-06-08 13:09:17 +02:00
|
|
|
|
2015-06-08 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-06-08 15:03:45 +02:00
|
|
|
|
PR libstdc++/66441
|
|
|
|
|
* testsuite/22_locale/conversions/string/66441.cc: New.
|
|
|
|
|
* include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
|
|
|
|
|
in the output string for BOM and complete result.
|
|
|
|
|
|
2015-06-08 13:09:17 +02:00
|
|
|
|
PR libstdc++/66417
|
|
|
|
|
* src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
|
|
|
|
|
for single UTF-16 units.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.
|
|
|
|
|
|
stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to outer scope and rename to ...
2015-06-07 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
outer scope and rename to ...
(std::__hash_is_transparent<>): ... this.
* include/debug/stl_map.h (map::find<>,
map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
member function templates to perform heterogeneous lookup.
* include/debug/stl_multimap.h (multimap::find<>,
multimap::lower_bound<>, multimap::upper_bound<>,
multimap::equal_range<>): Likewise.
* include/debug/stl_multiset.h (multiset::find<>,
multiset::lower_bound<>, multiset::upper_bound<>,
multiset::equal_range<>): Likewise.
* include/debug/stl_set.h (set::find<>,
set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
* include/profile/stl_map.h (map::find<>, map::count<>,
map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
* include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
multimap::lower_bound<>, multimap::upper_bound<>,
multimap::equal_range<>): Likewise.
* include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
multiset::lower_bound<>, multiset::upper_bound<>,
multiset::equal_range<>): Likewise.
* include/profile/stl_set.h (set::find<>, set::count<>,
set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
* testsuite/23_containers/map/operations/1.cc: Check const variants.
* testsuite/23_containers/multimap/operations/1.cc: Likewise.
* testsuite/23_containers/multiset/operations/1.cc: Likewise.
* testsuite/23_containers/set/operations/1.cc: Likewise.
From-SVN: r224200
2015-06-07 22:45:57 +02:00
|
|
|
|
2015-06-07 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
|
|
|
|
|
outer scope and rename to ...
|
|
|
|
|
(std::__hash_is_transparent<>): ... this.
|
|
|
|
|
* include/debug/stl_map.h (map::find<>,
|
|
|
|
|
map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
|
|
|
|
|
member function templates to perform heterogeneous lookup.
|
|
|
|
|
* include/debug/stl_multimap.h (multimap::find<>,
|
|
|
|
|
multimap::lower_bound<>, multimap::upper_bound<>,
|
|
|
|
|
multimap::equal_range<>): Likewise.
|
|
|
|
|
* include/debug/stl_multiset.h (multiset::find<>,
|
|
|
|
|
multiset::lower_bound<>, multiset::upper_bound<>,
|
|
|
|
|
multiset::equal_range<>): Likewise.
|
|
|
|
|
* include/debug/stl_set.h (set::find<>,
|
|
|
|
|
set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
|
|
|
|
|
* include/profile/stl_map.h (map::find<>, map::count<>,
|
|
|
|
|
map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
|
|
|
|
|
* include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
|
|
|
|
|
multimap::lower_bound<>, multimap::upper_bound<>,
|
|
|
|
|
multimap::equal_range<>): Likewise.
|
|
|
|
|
* include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
|
|
|
|
|
multiset::lower_bound<>, multiset::upper_bound<>,
|
|
|
|
|
multiset::equal_range<>): Likewise.
|
|
|
|
|
* include/profile/stl_set.h (set::find<>, set::count<>,
|
|
|
|
|
set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
|
|
|
|
|
* testsuite/23_containers/map/operations/1.cc: Check const variants.
|
|
|
|
|
* testsuite/23_containers/multimap/operations/1.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/multiset/operations/1.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/set/operations/1.cc: Likewise.
|
|
|
|
|
|
2015-06-05 18:31:05 +02:00
|
|
|
|
2015-06-05 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-06-05 19:17:53 +02:00
|
|
|
|
* doc/xml/manual/status_cxx2017.xml: Update status tables.
|
|
|
|
|
* doc/html/manual/*: Regenerate.
|
|
|
|
|
* include/std/type_traits (bool_constant): Define.
|
|
|
|
|
* testsuite/20_util/bool_constant/requirements.cc: New.
|
|
|
|
|
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
|
|
|
|
|
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-06-05 18:31:05 +02:00
|
|
|
|
* include/std/shared_mutex (__shared_mutex_pthread,
|
|
|
|
|
__shared_mutex_cv): New helper types implementing the shared mutex
|
|
|
|
|
requirements.
|
|
|
|
|
(shared_mutex): New type for C++17.
|
|
|
|
|
(shared_timed_mutex): Derive from one of the new helper types.
|
|
|
|
|
* testsuite/30_threads/shared_mutex/cons/1.cc: New.
|
|
|
|
|
* testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
|
|
|
|
|
* testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
|
|
|
|
|
* testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
|
|
|
|
|
* testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
|
|
|
|
|
|
2015-06-05 18:00:04 +02:00
|
|
|
|
2015-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
|
2015-06-05 16:44:26 +02:00
|
|
|
|
|
|
|
|
|
Add __is_nothrow_swappable and take it into use.
|
|
|
|
|
* include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
|
|
|
|
|
* include/bits/move.h (swap): Add constraints in C++11 and later.
|
|
|
|
|
* include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
|
|
|
|
|
for the free swap function for pair.
|
|
|
|
|
* include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
|
|
|
|
|
for the free swap functions for queue and priority_queue.
|
|
|
|
|
* include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
|
|
|
|
|
for the free swap function for stack.
|
|
|
|
|
* include/debug/array (swap): Use __is_nothrow_swappable
|
|
|
|
|
for the free swap function for array.
|
|
|
|
|
* include/profile/array (swap): Likewise.
|
|
|
|
|
* include/std/array (swap): Likewise.
|
|
|
|
|
* include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
|
|
|
|
|
* include/std/type_traits (__is_swappable_impl::__is_swappable,
|
|
|
|
|
__is_nothrow_swappable_impl, __is_nothrow_swappable): New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/requirements/
|
|
|
|
|
explicit_instantiation.cc: New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/20_util/is_nothrow_swappable/value.cc: New.
|
|
|
|
|
|
2015-06-03 22:15:35 +02:00
|
|
|
|
2015-06-03 François Dumont fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
|
|
|
|
|
|
2015-06-02 13:07:30 +02:00
|
|
|
|
2015-06-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-06-02 13:17:43 +02:00
|
|
|
|
* doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
|
|
|
|
|
* doc/html/manual/*: Regenerate.
|
|
|
|
|
|
2015-06-02 13:07:30 +02:00
|
|
|
|
* doc/html/ext/lwg-active.html: Update to R93.
|
|
|
|
|
* doc/html/ext/lwg-closed.html: Likewise.
|
|
|
|
|
* doc/html/ext/lwg-defects.html: Likewise.
|
|
|
|
|
* doc/html/manual/*: Regenerate.
|
|
|
|
|
* doc/xml/manual/intro.xml: Document status of several DRs.
|
|
|
|
|
|
2015-06-02 10:54:25 +02:00
|
|
|
|
2015-06-02 Renlin Li <renlin.li@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
|
|
|
|
|
|
2015-06-01 13:57:33 +02:00
|
|
|
|
2015-06-01 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
|
|
|
|
|
environment variable.
|
|
|
|
|
|
2015-06-01 00:42:17 +02:00
|
|
|
|
2015-05-31 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/66354
|
|
|
|
|
* include/bits/stl_algobase.h (__fill_a): Check length before calling
|
|
|
|
|
memset.
|
|
|
|
|
|
2015-05-30 13:44:02 +02:00
|
|
|
|
2015-05-30 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_algobase.h (__equal<true>::equal): Check length
|
|
|
|
|
instead of checking for null pointers.
|
|
|
|
|
(__lexicographical_compare<true>::__lc): Only check shorter length.
|
|
|
|
|
|
2015-05-29 François Dumont fdumont@gcc.gnu.org>
* include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
_GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
* include/debug/assertions.h: ...here, new.
* include/debug/formatter.h
(_Error_formatter::_Is_iterator_value_type): New.
(_Error_formatter::_Is_instance): New.
(_Error_formatter::_Parameter): Make public and not friend anymore.
(_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
(_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
entry.
(_Error_formatter::_Parameter::_Type): New.
(_Error_formatter::_Parameter::_Instance): New, inherit from
latter.
(union _Error_formatter::_Parameter::_M_variant): Reorganize.
(_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
overloads take iterator through a const reference.
(_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
New.
(_Parameter(const _Type&, const char*, _Is_instance)): New.
(_Error_formatter::_M_print_type): Delete.
(_Error_formatter::_M_iterator_value_type): New.
(_Error_formatter::_M_instance): New.
* include/Makefile.am: Add new above debug file.
* include/Makefile.in: Regenerate.
* include/debug/functions.h
(__check_dereferenceable(const _Safe_iterator<>&),
__valid_range(const _Safe_iterator<>&),
__is_safe_random_iterator<_Safe_iterator<>>): Move...
* include/debug/safe_iterator.h: ... here.
Replace debug.h include with assertions.h.
(__check_singular_aux): Move...
* include/debug/safe_base.h: ... here.
* include/debug/functions.h
(__check_dereferenceable(const _Safe_local_iterator<>&),
__valid_range(const _Safe_local_iterator<>&): Move...
* include/debug/safe_local_iterator.h: ...here.
* include/debug/safe_sequence.h: Replace debug.h with assertions.h.
Remove _Safe_iterator declaration.
* include/debug/safe_unordered_container.h: Replace debug.h with
assertions.h.
* include/debug/array: Replace safe_sequence.h include with
formatter.h and macros.h.
* include/debug/deque: Include functions.tcc.
* include/debug/forward_list: Likewise.
* include/debug/list: Likewise.
* include/debug/string: Likewise.
* include/debug/vector: Likewise.
* include/bits/unique_ptr.h: Replace debug.h include with new
assertions.h.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/array/tuple_interface/
tuple_element_debug_neg.cc: Likewise.
* src/c++11/debug.cc: Adapt.
From-SVN: r223877
2015-05-29 23:29:07 +02:00
|
|
|
|
2015-05-29 François Dumont fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
|
|
|
|
|
_GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
|
|
|
|
|
* include/debug/assertions.h: ...here, new.
|
|
|
|
|
* include/debug/formatter.h
|
|
|
|
|
(_Error_formatter::_Is_iterator_value_type): New.
|
|
|
|
|
(_Error_formatter::_Is_instance): New.
|
|
|
|
|
(_Error_formatter::_Parameter): Make public and not friend anymore.
|
|
|
|
|
(_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
|
|
|
|
|
(_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
|
|
|
|
|
entry.
|
|
|
|
|
(_Error_formatter::_Parameter::_Type): New.
|
|
|
|
|
(_Error_formatter::_Parameter::_Instance): New, inherit from
|
|
|
|
|
latter.
|
|
|
|
|
(union _Error_formatter::_Parameter::_M_variant): Reorganize.
|
|
|
|
|
(_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
|
|
|
|
|
overloads take iterator through a const reference.
|
|
|
|
|
(_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
|
|
|
|
|
New.
|
|
|
|
|
(_Parameter(const _Type&, const char*, _Is_instance)): New.
|
|
|
|
|
(_Error_formatter::_M_print_type): Delete.
|
|
|
|
|
(_Error_formatter::_M_iterator_value_type): New.
|
|
|
|
|
(_Error_formatter::_M_instance): New.
|
|
|
|
|
* include/Makefile.am: Add new above debug file.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/debug/functions.h
|
|
|
|
|
(__check_dereferenceable(const _Safe_iterator<>&),
|
|
|
|
|
__valid_range(const _Safe_iterator<>&),
|
|
|
|
|
__is_safe_random_iterator<_Safe_iterator<>>): Move...
|
|
|
|
|
* include/debug/safe_iterator.h: ... here.
|
|
|
|
|
Replace debug.h include with assertions.h.
|
|
|
|
|
(__check_singular_aux): Move...
|
|
|
|
|
* include/debug/safe_base.h: ... here.
|
|
|
|
|
* include/debug/functions.h
|
|
|
|
|
(__check_dereferenceable(const _Safe_local_iterator<>&),
|
|
|
|
|
__valid_range(const _Safe_local_iterator<>&): Move...
|
|
|
|
|
* include/debug/safe_local_iterator.h: ...here.
|
|
|
|
|
* include/debug/safe_sequence.h: Replace debug.h with assertions.h.
|
|
|
|
|
Remove _Safe_iterator declaration.
|
|
|
|
|
* include/debug/safe_unordered_container.h: Replace debug.h with
|
|
|
|
|
assertions.h.
|
|
|
|
|
* include/debug/array: Replace safe_sequence.h include with
|
|
|
|
|
formatter.h and macros.h.
|
|
|
|
|
* include/debug/deque: Include functions.tcc.
|
|
|
|
|
* include/debug/forward_list: Likewise.
|
|
|
|
|
* include/debug/list: Likewise.
|
|
|
|
|
* include/debug/string: Likewise.
|
|
|
|
|
* include/debug/vector: Likewise.
|
|
|
|
|
* include/bits/unique_ptr.h: Replace debug.h include with new
|
|
|
|
|
assertions.h.
|
|
|
|
|
* include/bits/stl_iterator_base_funcs.h: Likewise.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
|
|
|
|
|
Adjust dg-error line number.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/
|
|
|
|
|
tuple_element_debug_neg.cc: Likewise.
|
|
|
|
|
* src/c++11/debug.cc: Adapt.
|
|
|
|
|
|
2015-05-29 15:28:54 +02:00
|
|
|
|
2015-05-29 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-29 17:18:05 +02:00
|
|
|
|
* doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
|
|
|
|
|
* doc/html/manual/*: Regenerate.
|
|
|
|
|
|
2015-05-29 15:44:52 +02:00
|
|
|
|
* include/std/future (__async_result_of): New alias template.
|
|
|
|
|
(async): Use __async_result_of to pass decayed types to result_of.
|
|
|
|
|
* testsuite/30_threads/async/lwg2021.cc: New.
|
|
|
|
|
* doc/xml/manual/intro.xml: Document LWG 2021 status.
|
|
|
|
|
|
2015-05-29 15:28:54 +02:00
|
|
|
|
PR libstdc++/66327
|
|
|
|
|
* include/bits/stl_algobase.h (__equal<true>::equal): Do not call
|
|
|
|
|
memcmp with null pointers.
|
|
|
|
|
(__lexicographical_compare<true>::__lc): Do not call memcmp for empty
|
|
|
|
|
ranges.
|
|
|
|
|
|
2015-05-28 13:53:35 +02:00
|
|
|
|
2015-05-28 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-28 18:00:09 +02:00
|
|
|
|
PR libstdc++/65352
|
|
|
|
|
* include/profile/array (array::data): Use _S_ptr.
|
|
|
|
|
* include/debug/array (array::data): Likewise.
|
|
|
|
|
|
2015-05-28 13:53:35 +02:00
|
|
|
|
PR libstdc++/65352
|
|
|
|
|
* include/std/array (__array_traits::_S_ptr): New function.
|
|
|
|
|
(array::data): Use _S_ptr to avoid creating invalid reference.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
|
|
|
|
|
dg-error line numbers.
|
|
|
|
|
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
|
|
|
|
|
likewise.
|
|
|
|
|
|
2015-05-27 13:18:37 +02:00
|
|
|
|
2015-05-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-27 13:18:44 +02:00
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
|
|
|
|
|
instead of downcasting.
|
|
|
|
|
(_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
|
|
|
|
|
(_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
|
|
|
|
|
(_Rb_tree::_S_iter): Remove.
|
|
|
|
|
(_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
|
|
|
|
|
(_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
|
|
|
|
|
instead of _S_lower_bound_tr
|
|
|
|
|
(_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
|
|
|
|
|
(_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
|
|
|
|
|
instead of calling _S_lower_bound_tr.
|
|
|
|
|
(_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
|
|
|
|
|
(_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
|
|
|
|
|
instead of calling _S_upper_bound_tr.
|
|
|
|
|
(_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
|
|
|
|
|
(_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
|
|
|
|
|
(_Rb_tree::equal_range): Use _Base_ptr for end pointer.
|
|
|
|
|
(_Rb_tree::_M_get_insert_unique_pos): Likewise.
|
|
|
|
|
(_Rb_tree::_M_get_insert_equal_pos): Likewise.
|
|
|
|
|
(_Rb_tree::_M_insert_equal_lower_node): Likewise.
|
|
|
|
|
(_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
|
|
|
|
|
_Rb_tree::_M_emplace_hint_unique): Remove static_cast.
|
|
|
|
|
|
2015-05-27 13:18:37 +02:00
|
|
|
|
PR libstdc++/66017
|
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
|
|
|
|
|
(_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
|
|
|
|
|
from _Base_ptr.
|
|
|
|
|
(_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
|
|
|
|
|
(_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
|
|
|
|
|
* include/ext/aligned_buffer.h (__aligned_membuf): New type using
|
|
|
|
|
alignment of _Tp as a member subobject, not as a complete object.
|
|
|
|
|
* python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
|
|
|
|
|
_Link_type manually as it might not be in the debug info.
|
|
|
|
|
|
2015-05-27 01:06:55 +02:00
|
|
|
|
2015-05-26 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
|
|
|
|
|
operator-> support.
|
|
|
|
|
* testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
|
|
|
|
|
operator->.
|
|
|
|
|
|
2015-05-26 11:52:25 +02:00
|
|
|
|
2015-05-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/locale_conv.h: Fix copyright years.
|
|
|
|
|
* include/bits/quoted_string.h: Likewise.
|
|
|
|
|
* src/filesystem/Makefile.am: Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/buffer/1.cc: Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/string/1.cc: Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/string/2.cc: Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/string/3.cc: Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/22_locale/conversions/string/requirements/typedefs.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/util/testsuite_fs.h: Likewise.
|
|
|
|
|
|
2015-05-23 13:17:38 +02:00
|
|
|
|
2015-05-23 François Dumont fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64657
|
|
|
|
|
* include/debug/functions.h (__check_sorted_aux): Cast expression to
|
|
|
|
|
void.
|
|
|
|
|
|
2015-05-21 19:18:25 +02:00
|
|
|
|
2015-05-21 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/66224
|
|
|
|
|
* config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
|
|
|
|
|
Don't use isync. Use lwsync if available.
|
|
|
|
|
* configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
|
|
|
|
|
powerpc cpu definition.
|
|
|
|
|
|
2015-05-21 17:12:40 +02:00
|
|
|
|
2015-05-21 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
|
|
|
|
|
* libsupc++/del_op.cc: Likewise.
|
|
|
|
|
|
2015-05-21 19:18:25 +02:00
|
|
|
|
2015-05-20 François Dumont fdumont@gcc.gnu.org>
|
2015-05-20 21:02:22 +02:00
|
|
|
|
|
2015-05-20 21:44:25 +02:00
|
|
|
|
* include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
|
|
|
|
|
usage of typeid.
|
|
|
|
|
(_Error_formatter::_M_print_type): New.
|
|
|
|
|
* src/c++11/debug.cc
|
|
|
|
|
(_Error_formatter::_Parameter::_M_print_field): Use latter.
|
|
|
|
|
(_Error_formatter::_M_print_type): Implement latter using
|
|
|
|
|
__cxaabiv1::__cxa_demangle to print demangled type name.
|
|
|
|
|
|
2015-05-20 21:02:22 +02:00
|
|
|
|
* include/bits/cpp_type_traits.h
|
|
|
|
|
(std::move_iterator): Delete declaration.
|
|
|
|
|
(std::__is_move_iterator<move_iterator>): Move partial specialization...
|
|
|
|
|
* include/bits/stl_iterator.h: ... here.
|
|
|
|
|
(std::__miter_base): Overloads for std::reverse_iterator and
|
|
|
|
|
std::move_iterator.
|
|
|
|
|
* include/bits/stl_algobase.h (std::__miter_base): Provide default
|
|
|
|
|
implementation.
|
|
|
|
|
|
2015-05-20 19:11:03 +02:00
|
|
|
|
2015-05-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-20 19:28:04 +02:00
|
|
|
|
* testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
|
|
|
|
|
|
2015-05-20 19:11:03 +02:00
|
|
|
|
PR libstdc++/66078
|
|
|
|
|
* include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
|
|
|
|
|
overload for pointers.
|
|
|
|
|
* testsuite/20_util/specialized_algorithms/uninitialized_copy/
|
|
|
|
|
808590.cc: Add -std=gnu++03 switch.
|
|
|
|
|
* testsuite/20_util/specialized_algorithms/uninitialized_copy/
|
|
|
|
|
808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
|
|
|
|
|
* testsuite/23_containers/vector/modifiers/push_back/
|
|
|
|
|
strong_guarantee.cc: New.
|
|
|
|
|
|
2015-05-20 00:24:50 +02:00
|
|
|
|
2015-05-19 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
|
|
|
|
|
(operator==(const list&, const list&)): If size() is O(1) compare
|
|
|
|
|
sizes before comparing each element.
|
|
|
|
|
* include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
|
|
|
|
|
(list::resize): Use _M_resize_pos.
|
|
|
|
|
|
2015-05-19 21:57:09 +02:00
|
|
|
|
2015-05-19 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
|
|
|
|
|
invocations.
|
|
|
|
|
* testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
|
|
|
|
|
|
2015-05-19 14:47:50 +02:00
|
|
|
|
2015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
* configure.host: Define cpu_defines_dir for ARM.
|
|
|
|
|
* config/cpu/arm/cpu_defines.h: New file.
|
|
|
|
|
|
2015-05-17 22:14:53 +02:00
|
|
|
|
2015-05-17 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
|
|
|
|
|
missing constructors.
|
|
|
|
|
* include/bits/unordered_set.h (unordered_set, unordered_multiset):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/unordered_map (unordered_map, unordered_multimap): Add
|
|
|
|
|
missing constructors.
|
|
|
|
|
* include/debug/unordered_set (unordered_set, unordered_multiset):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/profile/unordered_map (unordered_map, unordered_multimap): Add
|
|
|
|
|
missing constructors.
|
|
|
|
|
* include/profile/unordered_set (unordered_set, unordered_multiset):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-05-15 20:37:25 +02:00
|
|
|
|
2015-05-15 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/filesystem/ops.cc (stat_type): Define alias for struct stat and
|
|
|
|
|
use throughout the file.
|
|
|
|
|
(make_file_type): New function.
|
|
|
|
|
(file_size(const path&, error_code&)): Report an error for anything
|
|
|
|
|
that isn't a regular file.
|
|
|
|
|
(status(const path&), symlink_status(const path&)): Do not throw for
|
|
|
|
|
file_type::not_found.
|
|
|
|
|
(temp_directory_path()): Check additional environment variables.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/exists.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/file_size.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/status.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/temp_directory_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
|
2015-05-14 15:47:19 +02:00
|
|
|
|
2015-05-14 Nathan Myers <ncm@cantrip.org>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/66055
|
|
|
|
|
* include/std/unordered_map (unordered_map, unordered_multimap): Add
|
|
|
|
|
missing constructors.
|
|
|
|
|
* include/std/unordered_set (unordered_set, unordered_multiset):
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_map/cons/66055.cc: New.
|
|
|
|
|
* testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
|
|
|
|
|
* testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
|
|
|
|
|
* testsuite/23_containers/unordered_set/cons/66055.cc: New.
|
|
|
|
|
|
2015-05-14 13:47:19 +02:00
|
|
|
|
2015-05-14 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-14 15:23:14 +02:00
|
|
|
|
PR libstdc++/66011
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
|
|
|
|
|
sendfile.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
|
|
|
|
|
not return after copying contents. Use fchmod, fchmodat, and sendfile
|
|
|
|
|
when available.
|
|
|
|
|
(current_path, permissions, space): Use errno not return value.
|
|
|
|
|
|
2015-05-14 13:47:19 +02:00
|
|
|
|
PR libstdc++/66018
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
|
|
|
|
|
dirent.d_type.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
|
|
|
|
|
|
2015-05-13 23:15:31 +02:00
|
|
|
|
2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
|
|
|
|
|
* configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
|
|
|
|
|
__USING_SJLJ_EXCEPTIONS__.
|
|
|
|
|
* libsupc++/eh_throw.cc: Likewise.
|
|
|
|
|
* libsupc++/eh_ptr.cc: Likewise.
|
|
|
|
|
* doc/html/manual/appendix_porting.html: Remove
|
|
|
|
|
GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
|
|
|
|
|
* doc/xml/manual/build_hacking.xml: Likewise.
|
|
|
|
|
* doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
|
|
|
|
|
* doc/xml/manual/configure.xml: Likewise.
|
|
|
|
|
|
2015-05-13 13:07:38 +02:00
|
|
|
|
2015-05-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-13 18:42:18 +02:00
|
|
|
|
* include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
|
|
|
|
|
for nullptr (LWG 2415).
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
|
|
|
|
|
construction from empty unique_ptr.
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
|
|
|
|
|
* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
|
|
|
|
|
|
2015-05-13 15:54:46 +02:00
|
|
|
|
* include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
|
|
|
|
|
Define (LWG 2454).
|
|
|
|
|
* testsuite/20_util/raw_storage_iterator/base.cc: New.
|
|
|
|
|
|
2015-05-13 15:54:40 +02:00
|
|
|
|
* include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
|
|
|
|
|
Remove explicit (LWG 2407).
|
|
|
|
|
|
2015-05-13 15:32:36 +02:00
|
|
|
|
* include/bits/basic_string.h (basic_string::basic_string()): Make
|
|
|
|
|
noexcept conditional on allocator (LWG 2455).
|
|
|
|
|
|
2015-05-13 15:32:31 +02:00
|
|
|
|
* include/std/complex (polar): Check for negative rho (LWG 2459).
|
|
|
|
|
|
2015-05-13 15:12:48 +02:00
|
|
|
|
* include/experimental/tuple (apply): Handle pointers to member (LWG
|
|
|
|
|
2418).
|
|
|
|
|
* include/std/functional (_Mem_fn_base): Make constructors constexpr.
|
|
|
|
|
(_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
|
|
|
|
|
* testsuite/experimental/tuple/apply.cc: Test pointer to member.
|
|
|
|
|
|
2015-05-13 14:21:52 +02:00
|
|
|
|
* include/bits/random.h (seed_seq): More noexcept (LWG 2440).
|
|
|
|
|
|
2015-05-13 14:21:45 +02:00
|
|
|
|
* include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
|
|
|
|
|
* testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
|
|
|
|
|
* testsuite/23_containers/forward_list/allocator/minimal.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/map/allocator/minimal.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/set/allocator/minimal.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_map/allocator/minimal.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/allocator/minimal.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/util/testsuite_allocator.h: Remove unused parameter.
|
|
|
|
|
|
2015-05-13 13:07:38 +02:00
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-05-13 12:51:03 +02:00
|
|
|
|
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerated with automake-1.11.6.
|
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* doc/Makefile.in: Likewise.
|
|
|
|
|
* include/Makefile.in: Likewise.
|
|
|
|
|
* libsupc++/Makefile.in: Likewise.
|
|
|
|
|
* po/Makefile.in: Likewise.
|
|
|
|
|
* python/Makefile.in: Likewise.
|
|
|
|
|
* src/Makefile.in: Likewise.
|
|
|
|
|
* src/c++11/Makefile.in: Likewise.
|
|
|
|
|
* src/c++98/Makefile.in: Likewise.
|
|
|
|
|
* src/filesystem/Makefile.in: Likewise.
|
|
|
|
|
* testsuite/Makefile.in: Likewise.
|
|
|
|
|
|
2015-05-10 02:46:12 +02:00
|
|
|
|
2015-05-09 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/20_util/headers/functional/synopsis.cc: Add
|
|
|
|
|
_GLIBCXX14_CONSTEXPR.
|
|
|
|
|
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
|
|
|
|
|
|
2015-05-09 06:50:23 +02:00
|
|
|
|
2015-05-08 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2015-05-09 06:50:30 +02:00
|
|
|
|
* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
|
2015-05-23 13:17:38 +02:00
|
|
|
|
* testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
|
|
|
|
|
Likewise.
|
2015-05-09 06:50:30 +02:00
|
|
|
|
* testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
|
2015-05-23 13:17:38 +02:00
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Adjust expected errors.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438
|
|
|
|
|
/constructor_1_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438
|
|
|
|
|
/constructor_2_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
2015-05-09 06:50:30 +02:00
|
|
|
|
* testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
|
|
|
|
|
* testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
|
|
|
|
|
* testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
|
|
|
|
|
* testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
|
2015-05-23 13:17:38 +02:00
|
|
|
|
* testsuite/ext/array_allocator/check_allocate_max_size.cc:
|
|
|
|
|
Add -Wno-deprecated.
|
|
|
|
|
* testsuite/ext/array_allocator/check_deallocate_null.cc:
|
|
|
|
|
Add -Wno-deprecated.
|
2015-05-09 06:50:30 +02:00
|
|
|
|
* testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
|
|
|
|
|
* testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
|
|
|
|
|
* testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
|
2015-05-23 13:17:38 +02:00
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
|
|
|
|
|
Add -std=c++98.
|
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
|
|
|
|
|
Add -std=c++98.
|
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/assign
|
|
|
|
|
/auto_ptr_rvalue_neg.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
|
|
|
|
|
Add -std=c++98 -fno-show-column.
|
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
|
|
|
|
|
Add -std=c++98.
|
|
|
|
|
* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
|
|
|
|
|
Add -std=c++98.
|
2015-05-09 06:50:30 +02:00
|
|
|
|
* testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
|
|
|
|
|
* testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
|
|
|
|
|
|
2015-05-09 06:50:23 +02:00
|
|
|
|
* src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
|
|
|
|
|
* src/c++98/Makefile.in: Regenerate.
|
|
|
|
|
* src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
|
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
|
2015-05-02 17:18:36 +02:00
|
|
|
|
2015-05-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-05 03:56:47 +02:00
|
|
|
|
PR libstdc++/51617
|
|
|
|
|
* include/std/future (async): Change default policy to launch::async.
|
|
|
|
|
|
2015-05-02 20:19:39 +02:00
|
|
|
|
* include/experimental/any (any::_Storage): Fix alignment of buffer.
|
|
|
|
|
(any::_Internal): Check alignment of type.
|
|
|
|
|
* testsuite/experimental/any/cons/aligned.cc: New.
|
|
|
|
|
* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
|
|
|
|
|
|
2015-05-02 20:03:20 +02:00
|
|
|
|
* include/experimental/iterator (ostream_joiner): Simplify by using
|
|
|
|
|
the injected-class-name and the ostream_type typedef.
|
|
|
|
|
|
2015-05-02 19:14:25 +02:00
|
|
|
|
* include/experimental/iterator: New. Define ostream_joiner.
|
|
|
|
|
* include/Makefile.am: Add new header.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* testsuite/experimental/iterator/make_ostream_joiner.cc: New.
|
|
|
|
|
* testsuite/experimental/iterator/ostream_joiner.cc: New.
|
|
|
|
|
* testsuite/experimental/iterator/requirements.cc: New.
|
|
|
|
|
* doc/xml/manual/status_cxx2017.xml: Update status.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-05-02 17:18:36 +02:00
|
|
|
|
* include/experimental/numeric: New. Define gcd and lcm.
|
|
|
|
|
* include/Makefile.am: Add new header.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* testsuite/experimental/numeric/gcd.cc: New.
|
|
|
|
|
* testsuite/experimental/numeric/lcm.cc: New.
|
|
|
|
|
* doc/xml/manual/status_cxx2017.xml: Update status.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-05-02 14:48:32 +02:00
|
|
|
|
2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
Revert addition of feature macros from other headers per latest SD-6.
|
2015-05-02 17:18:36 +02:00
|
|
|
|
* include/experimental/deque: Remove feature-test macro.
|
|
|
|
|
* include/experimental/forward_list: Ditto.
|
|
|
|
|
* include/experimental/list: Ditto.
|
|
|
|
|
* include/experimental/map: Ditto.
|
|
|
|
|
* include/experimental/set: Ditto.
|
|
|
|
|
* include/experimental/string: Ditto.
|
|
|
|
|
* include/experimental/unordered_map: Ditto.
|
|
|
|
|
* include/experimental/unordered_set: Ditto.
|
2015-05-02 14:48:32 +02:00
|
|
|
|
|
2015-05-02 11:51:49 +02:00
|
|
|
|
2015-05-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-02 14:38:44 +02:00
|
|
|
|
* include/experimental/any (any::_Storage): Make non-copyable.
|
|
|
|
|
(any::any): Do not copy _Storage object.
|
|
|
|
|
(any::operator=): Implement more efficiently than swapping.
|
|
|
|
|
(any::swap): Use new _Op_xfer operation.
|
|
|
|
|
(any::_Op::_Op_xfer): New enumerator.
|
|
|
|
|
(_Manager_internal::_S_alloc): Remove unused function.
|
|
|
|
|
(_Manager_internal::_S_create, _Manager_external::_S_create): Use out
|
|
|
|
|
parameter instead of returning a _Storage object.
|
|
|
|
|
(_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
|
|
|
|
|
_Op_xfer operation for moving and swapping.
|
|
|
|
|
* testsuite/experimental/any/cons/nontrivial.cc: New.
|
|
|
|
|
* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
|
|
|
|
|
|
2015-05-02 13:36:55 +02:00
|
|
|
|
* include/experimental/fs_path.h (filesystem_error::~filesystem_error):
|
|
|
|
|
Declare.
|
|
|
|
|
* src/filesystem/path.cc (filesystem_error::~filesystem_error):
|
|
|
|
|
Define.
|
|
|
|
|
|
2015-05-02 13:20:03 +02:00
|
|
|
|
PR libstdc++/65978
|
|
|
|
|
* include/std/tuple (forward_as_tuple, tie): Add constexpr.
|
|
|
|
|
* testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
|
|
|
|
|
and fix tests for forward_as_tuple and tie.
|
|
|
|
|
|
2015-05-02 11:51:49 +02:00
|
|
|
|
* src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
|
|
|
|
|
Set timespec members explicitly instead of with a braced-init-list.
|
|
|
|
|
[_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
|
|
|
|
|
|
2015-05-02 04:01:35 +02:00
|
|
|
|
2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
* include/experimental/deque: Add feature-test macro.
|
|
|
|
|
* include/experimental/forward_list: Ditto.
|
|
|
|
|
* include/experimental/list: Ditto.
|
|
|
|
|
* include/experimental/map: Ditto.
|
|
|
|
|
* include/experimental/set: Ditto.
|
|
|
|
|
* include/experimental/string: Ditto.
|
|
|
|
|
* include/experimental/unordered_map: Ditto.
|
|
|
|
|
* include/experimental/unordered_set: Ditto.
|
|
|
|
|
|
2015-05-01 23:01:17 +02:00
|
|
|
|
2015-05-01 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-01 23:26:24 +02:00
|
|
|
|
* include/experimental/memory: Correct feature-test macro.
|
|
|
|
|
|
2015-05-01 23:01:17 +02:00
|
|
|
|
* include/experimental/memory: Add feature-test macro.
|
|
|
|
|
* include/experimental/vector: Likewise.
|
|
|
|
|
* doc/xml/manual/status_cxx2017.xml: Update status.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-05-01 23:01:11 +02:00
|
|
|
|
2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Implement observer_ptr.
|
|
|
|
|
* include/Makefile.am: Add new header.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/experimental/memory: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/requirements.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
|
|
|
|
|
* testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
|
|
|
|
|
|
2015-05-01 17:11:05 +02:00
|
|
|
|
2015-05-01 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-01 22:05:42 +02:00
|
|
|
|
* src/filesystem/path.cc (path::compare): Do not copy strings.
|
|
|
|
|
|
2015-05-01 21:48:00 +02:00
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
|
|
|
|
|
is not available.
|
|
|
|
|
(GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure.ac: Check for utime.h
|
|
|
|
|
* include/experimental/fs_path.h (path::string<>)
|
|
|
|
|
[_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
|
|
|
|
|
* src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
|
|
|
|
|
closedir, dirent, readdir_r): Replace dummy functions with #error.
|
|
|
|
|
(native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
|
|
|
|
|
* src/filesystem/ops.cc (do_stat, is_set): Make inline.
|
|
|
|
|
(last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
|
|
|
|
|
(permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
|
|
|
|
|
(space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
|
|
|
|
|
error_code.
|
|
|
|
|
|
2015-05-01 21:47:55 +02:00
|
|
|
|
* include/experimental/fs_path.h (path::_List): Use vector instead of
|
|
|
|
|
list.
|
|
|
|
|
* python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
|
|
|
|
|
* src/filesystem/path.cc: Use std::prev instead of decrementing
|
|
|
|
|
rvalues. Fix whitespace.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/parent_path.cc:
|
|
|
|
|
Do not decrement iterators before begin.
|
|
|
|
|
|
2015-05-01 19:55:33 +02:00
|
|
|
|
* include/experimental/fs_dir.h: Fix use of non-reserved names.
|
|
|
|
|
* include/experimental/fs_ops.h: Likewise.
|
|
|
|
|
* include/experimental/fs_path.h: Likewise.
|
|
|
|
|
* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
|
|
|
|
|
C++11 when checking for support.
|
|
|
|
|
|
2015-05-01 18:50:31 +02:00
|
|
|
|
* include/bits/locale_classes.h (locale::facet): Delete copy
|
|
|
|
|
operations in C++11 mode.
|
|
|
|
|
|
2015-05-01 17:22:49 +02:00
|
|
|
|
* include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
|
|
|
|
|
|
2015-05-01 17:11:05 +02:00
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-05-01 17:00:46 +02:00
|
|
|
|
2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
Inline one-line erasure dispatch functions.
|
|
|
|
|
* include/experimental/forward_list (erase_if(), erase()): Inline.
|
|
|
|
|
* include/experimental/list (erase_if(), erase()): Inline.
|
|
|
|
|
* include/experimental/map (erase_if(*)): Inline.
|
|
|
|
|
* include/experimental/set (erase_if(*)): Inline.
|
|
|
|
|
* include/experimental/string (erase_if(), erase()): Inline.
|
|
|
|
|
* include/experimental/unordered_map (erase_if(*)): Inline.
|
|
|
|
|
* include/experimental/unordered_set (erase_if(*)): Inline.
|
|
|
|
|
|
2015-05-01 13:02:18 +02:00
|
|
|
|
2015-05-01 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-05-01 13:02:24 +02:00
|
|
|
|
* doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
|
|
|
|
|
* doc/xml/manual/status_cxx2011.xml: Update status tables.
|
|
|
|
|
* doc/xml/manual/status_cxx2014.xml: Likewise.
|
|
|
|
|
* doc/xml/manual/status_cxx2017.xml: New.
|
|
|
|
|
* doc/xml/manual/using.xml: Fix typo.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2015-05-01 13:02:18 +02:00
|
|
|
|
* include/std/memory (pointer_safety, declare_reachable,
|
|
|
|
|
undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
|
|
|
|
|
get_pointer_safety): Define.
|
|
|
|
|
* testsuite/20_util/pointer_safety/1.cc: New.
|
|
|
|
|
|
2015-04-30 21:11:52 +02:00
|
|
|
|
2015-04-30 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
Implement N4100 File System TS
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
|
|
|
|
|
(GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac: Enable filesystem TS and check its dependencies.
|
|
|
|
|
* include/Makefile.am: Add new headers.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
|
|
|
|
|
__str_codecvt_out): Move code conversion logic from wstring_convert
|
|
|
|
|
into new global functions.
|
|
|
|
|
(wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
|
|
|
|
|
functions.
|
|
|
|
|
(wstring_convert::_M_conv): Remove.
|
|
|
|
|
* include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
|
|
|
|
|
* include/experimental/filesystem: New.
|
|
|
|
|
* include/experimental/fs_dir.h: New.
|
|
|
|
|
* include/experimental/fs_fwd.h: New.
|
|
|
|
|
* include/experimental/fs_ops.h: New.
|
|
|
|
|
* include/experimental/fs_path.h: New.
|
|
|
|
|
* include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
|
|
|
|
|
* python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
|
|
|
|
|
* src/Makefile.am (SUBDIRS): Add filesystem.
|
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
* src/filesystem/Makefile.am: New.
|
|
|
|
|
* src/filesystem/Makefile.in: New.
|
|
|
|
|
* src/filesystem/dir.cc: New.
|
|
|
|
|
* src/filesystem/ops.cc: New.
|
|
|
|
|
* src/filesystem/path.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/absolute.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/copy.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/operations/current_path.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/append/path.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/assign/assign.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/assign/copy.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/compare/compare.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/compare/path.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/compare/strings.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/concat/path.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/concat/strings.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/construct/copy.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/construct/default.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/construct/locale.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/construct/range.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/extension.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/filename.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/parent_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/relative_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/root_directory.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/root_name.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/root_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/decompose/stem.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/generic/generic_string.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/itr/traversal.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/empty.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_extension.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_filename.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_parent_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_relative_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_root_directory.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_root_name.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_root_path.cc:
|
|
|
|
|
New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/has_stem.cc: New.
|
|
|
|
|
* testsuite/experimental/filesystem/path/query/is_relative.cc: New.
|
|
|
|
|
* testsuite/util/testsuite_fs.h: New.
|
|
|
|
|
|
2015-04-30 16:43:19 +02:00
|
|
|
|
2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
Add fundamentals TR container erasure.
|
|
|
|
|
* include/Makefile.am: Add new headers.
|
|
|
|
|
* include/Makefile.in: Add new headers.
|
|
|
|
|
* include/experimental/array: New.
|
|
|
|
|
* include/experimental/deque: New.
|
|
|
|
|
* include/experimental/erase_if.tcc: New.
|
|
|
|
|
* include/experimental/forward_list: New.
|
|
|
|
|
* include/experimental/list: New.
|
|
|
|
|
* include/experimental/map: New.
|
|
|
|
|
* include/experimental/set: New.
|
|
|
|
|
* include/experimental/string: New.
|
|
|
|
|
* include/experimental/unordered_map: New.
|
|
|
|
|
* include/experimental/unordered_set: New.
|
|
|
|
|
* include/experimental/vector: New.
|
|
|
|
|
* testsuite/experimental/deque/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/forward_list/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/list/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/map/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/set/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/string/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/unordered_map/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/unordered_set/erasure.cc: New.
|
|
|
|
|
* testsuite/experimental/vector/erasure.cc: New.
|
|
|
|
|
|
2015-04-30 13:36:52 +02:00
|
|
|
|
2015-04-30 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/cpp_type_traits.h
|
|
|
|
|
(__gnu_cxx::__is_normal_iterator): Delete.
|
|
|
|
|
* include/bits/stl_algobase.h (std::__niter_base): Adapt.
|
|
|
|
|
* include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
|
|
|
|
|
(std::__niter_base): Overloads for std::reverse_iterator,
|
|
|
|
|
__gnu_cxx::__normal_iterator and std::move_iterator.
|
|
|
|
|
|
2015-04-30 09:13:37 +02:00
|
|
|
|
2015-04-30 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
|
|
|
|
|
Delete.
|
|
|
|
|
* src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
|
|
|
|
|
Remove usage of latter and compute size of the prime numbers array
|
|
|
|
|
locally.
|
|
|
|
|
|
2015-04-30 00:50:31 +02:00
|
|
|
|
2015-04-29 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65839
|
|
|
|
|
* python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
|
|
|
|
|
Replace all lookups of "bool" with this.
|
|
|
|
|
(get_std_size_type): New function. Replace all lookups of std::size_t
|
|
|
|
|
with this.
|
|
|
|
|
(*Worker): New method get_result_type.
|
|
|
|
|
(DequeWorkerBase.__init__): New arg val_type. All callers updated.
|
|
|
|
|
(ListWorkerBase.__init__): New arg val_type. All callers updated.
|
|
|
|
|
(UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
|
|
|
|
|
Delete setting of name, enabled.
|
|
|
|
|
(UniquePtrDerefWorker.__init__): New arg elem_type. All callers
|
|
|
|
|
updated. Delete setting of name.
|
|
|
|
|
(UniquePtrMethodsMatcher): Rewrite for consistency with all other
|
|
|
|
|
libstdc++ xmethod matchers.
|
|
|
|
|
* testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
|
|
|
|
|
* testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
|
|
|
|
|
* testsuite/libstdc++-xmethods/deque.cc: Ditto.
|
|
|
|
|
* testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
|
|
|
|
|
* testsuite/libstdc++-xmethods/list.cc: Ditto.
|
|
|
|
|
* testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
|
|
|
|
|
* testsuite/libstdc++-xmethods/vector.cc: Ditto.
|
|
|
|
|
|
2015-04-29 23:57:04 +02:00
|
|
|
|
2015-04-29 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
Use consistent naming for value type attributes.
|
|
|
|
|
* python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
|
|
|
|
|
to _val_type.
|
|
|
|
|
(ArraySizeWorker, ArrayEmptyWorker): Ditto.
|
|
|
|
|
(ArrayFrontWorker, ArrayBackWorker): Ditto.
|
|
|
|
|
(ArrayAtWorker, ArraySubscriptWorker): Ditto.
|
|
|
|
|
(DequeWorkerBase): Rename elemtype to val_type.
|
|
|
|
|
(ForwardListWorkerBase): Rename _elem_type to _val_type.
|
|
|
|
|
(ForwardListFrontWorker): Ditto. And rename elem_address to
|
|
|
|
|
val_address.
|
|
|
|
|
(ForwardListMethodsMatcher): Rename elem_type to val_type.
|
|
|
|
|
(VectorWorkerBase): Rename _elemtype to _val_type.
|
|
|
|
|
|
re PR libstdc++/64657 (Support iterators with overloaded operator-comma)
PR libstdc++/64657
* include/bits/basic_string (basic_string::_S_copy_chars): Cast
expression to void.
* include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
time_get::_M_extract_num, time_get::_M_extract_name,
time_get::_M_extract_wday_or_month): Likewise.
* include/bits/stl_algo.h (__includes, __replace_copy_if,
__is_sorted_until, __is_permutation, transform): Likewise.
* include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
__equal::equal, __lexicographical_compare_impl, equal): Likewise.
* include/bits/stl_numeric.h (inner_product): Likewise.
* include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
* testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
input_iterator_wrapper): Declare unusable comma operator.
* testsuite/21_strings/basic_string/cons/char/64657.cc: New.
* testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
New.
From-SVN: r222579
2015-04-29 17:22:13 +02:00
|
|
|
|
2015-04-29 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-04-29 18:07:47 +02:00
|
|
|
|
PR libstdc++/65760
|
|
|
|
|
* include/std/functional (__check_func_return_type): Use is_same to
|
|
|
|
|
avoid using _is_convertible on incomplete types.
|
|
|
|
|
* testsuite/20_util/function/65760.cc: New.
|
|
|
|
|
|
re PR libstdc++/64657 (Support iterators with overloaded operator-comma)
PR libstdc++/64657
* include/bits/basic_string (basic_string::_S_copy_chars): Cast
expression to void.
* include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
time_get::_M_extract_num, time_get::_M_extract_name,
time_get::_M_extract_wday_or_month): Likewise.
* include/bits/stl_algo.h (__includes, __replace_copy_if,
__is_sorted_until, __is_permutation, transform): Likewise.
* include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
__equal::equal, __lexicographical_compare_impl, equal): Likewise.
* include/bits/stl_numeric.h (inner_product): Likewise.
* include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
* testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
input_iterator_wrapper): Declare unusable comma operator.
* testsuite/21_strings/basic_string/cons/char/64657.cc: New.
* testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
New.
From-SVN: r222579
2015-04-29 17:22:13 +02:00
|
|
|
|
PR libstdc++/64657
|
|
|
|
|
* include/bits/basic_string (basic_string::_S_copy_chars): Cast
|
|
|
|
|
expression to void.
|
|
|
|
|
* include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
|
|
|
|
|
time_get::_M_extract_num, time_get::_M_extract_name,
|
|
|
|
|
time_get::_M_extract_wday_or_month): Likewise.
|
|
|
|
|
* include/bits/stl_algo.h (__includes, __replace_copy_if,
|
|
|
|
|
__is_sorted_until, __is_permutation, transform): Likewise.
|
|
|
|
|
* include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
|
|
|
|
|
__equal::equal, __lexicographical_compare_impl, equal): Likewise.
|
|
|
|
|
* include/bits/stl_numeric.h (inner_product): Likewise.
|
|
|
|
|
* include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
|
|
|
|
|
* testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
|
|
|
|
|
input_iterator_wrapper): Declare unusable comma operator.
|
|
|
|
|
* testsuite/21_strings/basic_string/cons/char/64657.cc: New.
|
|
|
|
|
* testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
|
|
|
|
|
New.
|
|
|
|
|
|
2015-04-29 02:17:09 +02:00
|
|
|
|
2015-04-28 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
|
|
|
|
|
Define to zero.
|
|
|
|
|
|
2015-04-28 21:42:56 +02:00
|
|
|
|
2015-04-28 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_algo.h (random_shuffle): Only define for hosted
|
|
|
|
|
implementations.
|
|
|
|
|
|
2015-04-28 21:42:51 +02:00
|
|
|
|
2015-04-28 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (SUBDIRS): Move python to hosted_source.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* acinclude.m4 (glibcxx_SUBDIRS): Reorder.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-04-28 21:35:49 +02:00
|
|
|
|
2015-04-28 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65883
|
|
|
|
|
* include/std/limits (numeric_limits): Add missing unsigned.
|
|
|
|
|
|
2015-04-28 17:05:27 +02:00
|
|
|
|
2015-04-28 Stephan Bergmann <sbergman@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/debug/vector (_Safe_vector::operator=): Add missing returns.
|
|
|
|
|
|
2015-04-28 14:07:34 +02:00
|
|
|
|
2015-04-28 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-04-28 15:21:54 +02:00
|
|
|
|
PR libstdc++/60333
|
|
|
|
|
* include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
|
|
|
|
|
Handle enumeration types larger than sizeof(long).
|
|
|
|
|
(__make_signed_selector<_Tp, false, true>): Find unsigned type then
|
|
|
|
|
make it signed.
|
|
|
|
|
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
|
|
|
|
|
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
|
|
|
|
|
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
|
|
|
|
|
dg-error.
|
|
|
|
|
* testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
|
|
|
|
|
|
2015-04-28 15:05:33 +02:00
|
|
|
|
PR libstdc++/61645
|
|
|
|
|
* include/bits/forward_list.h (forward_list::splice_after): Add
|
|
|
|
|
noexcept.
|
|
|
|
|
* include/bits/forward_list.tcc (forward_list::splice_after):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-04-28 14:35:30 +02:00
|
|
|
|
PR libstdc++/65631
|
|
|
|
|
* include/bits/random.h (seed_seq) Define copy constructor and copy
|
|
|
|
|
assignment as deleted.
|
|
|
|
|
* testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
|
|
|
|
|
|
2015-04-28 14:07:40 +02:00
|
|
|
|
* libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
|
|
|
|
|
* testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
|
|
|
|
|
Use -std=gnu++1z. Check feature-test macro.
|
|
|
|
|
|
2015-04-28 14:07:34 +02:00
|
|
|
|
* include/std/type_traits (void_t): Add.
|
|
|
|
|
* testsuite/20_util/void_t/1.cc: New.
|
|
|
|
|
|
2015-04-28 06:16:48 +02:00
|
|
|
|
2015-04-28 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex.tcc: Handle regex_constants::__polynomial.
|
|
|
|
|
* include/bits/regex_automaton.tcc: Throw exception when parsing
|
|
|
|
|
back-reference with flag __polynomial.
|
|
|
|
|
* include/bits/regex_constants.h: Add extension flag
|
|
|
|
|
syntax_option_type __polynomial.
|
|
|
|
|
* bits/regex_executor.tcc: Still let BFS process ECMAScript.
|
|
|
|
|
Alternative operation will be fixed in the coming refactoring.
|
|
|
|
|
* testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
|
|
|
|
|
loose match_search_debug to use DFS only.
|
|
|
|
|
|
2015-04-28 04:40:56 +02:00
|
|
|
|
2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65909
|
|
|
|
|
* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
|
|
|
|
|
Make the generated test program fail gracefully if the target
|
|
|
|
|
doesn't support passing command-line arguments.
|
|
|
|
|
|
2015-04-27 23:06:17 +02:00
|
|
|
|
2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
|
|
|
|
|
Return false or zero if the library is built without exceptions.
|
|
|
|
|
* libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
|
|
|
|
|
the library is built without exceptions.
|
|
|
|
|
|
2015-04-27 22:40:29 +02:00
|
|
|
|
2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
|
2015-04-27 22:52:14 +02:00
|
|
|
|
* config/abi/pre/gnu.ver: Fix comment.
|
|
|
|
|
|
2015-04-27 22:40:29 +02:00
|
|
|
|
Add support for std::uncaught_exceptions.
|
|
|
|
|
* acinclude.m4: Bump libtool_VERSION.
|
|
|
|
|
* config/abi/pre/gnu.ver: Export the new symbol.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* libsupc++/eh_catch.cc (uncaught_exceptions): New.
|
|
|
|
|
* libsupc++/exception (uncaught_exceptions): New.
|
|
|
|
|
* testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
|
|
|
|
|
* testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
|
|
|
|
|
|
2015-04-27 21:44:30 +02:00
|
|
|
|
2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
|
|
|
|
|
Michael Hanselmann <public@hansmi.ch>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/62258
|
|
|
|
|
* libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
|
|
|
|
|
uncaught exceptions.
|
|
|
|
|
* testsuite/18_support/exception_ptr/62258.cc: New.
|
|
|
|
|
|
2015-04-27 14:30:26 +02:00
|
|
|
|
2015-04-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/extensions.xml: Add cross-reference.
|
|
|
|
|
* doc/html/manual/ext_compile_checks.html: Regenerate.
|
|
|
|
|
|
2015-04-22 16:24:11 +02:00
|
|
|
|
2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
|
|
|
|
|
* configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
|
|
|
|
|
|
2015-04-22 16:01:02 +02:00
|
|
|
|
2015-04-22 Renlin Li <renlin.li@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
|
|
|
|
|
* testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
|
|
|
|
|
* testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
|
|
|
|
|
* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
|
|
|
|
|
* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
|
|
|
|
|
|
2015-04-21 12:27:18 +02:00
|
|
|
|
2015-04-21 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2015-04-21 12:38:43 +02:00
|
|
|
|
* doc/xml/manual/configure.xml: Update descriptions of options
|
|
|
|
|
affecting dual ABI and add cross-references.
|
|
|
|
|
* doc/xml/manual/strings.xml: Clarify that string isn't COW now.
|
|
|
|
|
* doc/xml/manual/using.xml: Document ABI transition.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2015-04-21 12:27:18 +02:00
|
|
|
|
* doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
|
|
|
|
|
* doc/xml/manual/using.xml: Document newer -std options. Use better
|
|
|
|
|
examples of nested namespaces.
|
|
|
|
|
|
2015-04-20 13:07:50 +02:00
|
|
|
|
2015-04-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/concurrency_extensions.xml: Update documentation
|
|
|
|
|
on atomics.
|
|
|
|
|
* doc/xml/manual/using.xml: Likewise. Improve markup.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2015-04-15 09:48:59 +02:00
|
|
|
|
2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* scripts/extract_symvers.pl: Ignore elfdump error output.
|
|
|
|
|
|
2015-04-14 13:02:48 +02:00
|
|
|
|
2015-04-14 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/61347
|
|
|
|
|
* include/bits/stl_iterator_base_funcs.h (_List_iterator,
|
|
|
|
|
_List_const_iterator): Declare.
|
|
|
|
|
(__distance): Declare new overloads for _List_iterator and
|
|
|
|
|
_List_const_iterator.
|
|
|
|
|
* include/bits/stl_list.h (__distance): New overloads for
|
|
|
|
|
_List_iterator and _List_const_iterator.
|
|
|
|
|
* testsuite/23_containers/list/61347.cc: New testcase.
|
|
|
|
|
|
2015-04-14 12:08:58 +02:00
|
|
|
|
2015-04-14 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/evolution.xml: Fix typos.
|
|
|
|
|
* doc/html/manual/api.html: Regenerate.
|
|
|
|
|
|
2015-04-14 02:37:57 +02:00
|
|
|
|
2015-04-14 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/29_atomics/atomic/62259.cc: Assert atomic
|
|
|
|
|
alignment is larger-equal, not equal, to default alignment.
|
|
|
|
|
|
2015-04-13 20:41:42 +02:00
|
|
|
|
2015-04-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65754
|
|
|
|
|
* config/abi/pre/gnu.ver: Export base object constructors for
|
|
|
|
|
fstreams.
|
|
|
|
|
* config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
|
|
|
|
|
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
|
|
|
|
|
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
|
|
|
|
|
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
|
|
|
|
|
* testsuite/27_io/basic_fstream/cons/base.cc: New.
|
|
|
|
|
|
2015-04-13 18:21:33 +02:00
|
|
|
|
2015-04-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/evolution.xml: Document changes since 4.5 release.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2015-04-12 08:40:39 +02:00
|
|
|
|
2015-04-12 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
|
2015-04-10 22:05:48 +02:00
|
|
|
|
2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
2015-04-10 22:07:09 +02:00
|
|
|
|
* config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
|
2015-04-10 22:05:48 +02:00
|
|
|
|
* config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
|
2015-04-10 21:59:32 +02:00
|
|
|
|
2015-04-10 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/test.xml: Improve documentation on running a subset
|
|
|
|
|
of tests.
|
|
|
|
|
* doc/html/manual/test.html: Regenerate.
|
|
|
|
|
|
2015-04-10 15:43:09 +02:00
|
|
|
|
2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
|
|
|
|
|
for GCC 5.1 release.
|
|
|
|
|
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-04-10 10:59:54 +02:00
|
|
|
|
2015-04-10 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/std/shared_mutex (shared_timed_mutex): Add comments to
|
|
|
|
|
explain the logic in the non-pthread_rwlock_t version.
|
|
|
|
|
(_Mutex): Remove redundant type.
|
|
|
|
|
(_M_n_readers): Rename to _S_max_readers.
|
|
|
|
|
(_M_write_entered, _M_readers): New convenience functions.
|
|
|
|
|
(lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
|
|
|
|
|
functions. Use predicates with condition variables. Simplify bitwise
|
|
|
|
|
operations.
|
|
|
|
|
(try_lock_for, try_shared_lock_for): Convert duration to time_point
|
|
|
|
|
and call try_lock_until or try_shared_lock_until respectively.
|
|
|
|
|
(try_lock_until, try_shared_lock_until): Wait on the condition
|
|
|
|
|
variables until the specified time passes.
|
|
|
|
|
(unlock): Add Debug Mode assertion.
|
|
|
|
|
(unlock_shared): Add Debug Mode assertion.
|
|
|
|
|
* testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
|
|
|
|
|
|
2015-04-10 11:00:00 +02:00
|
|
|
|
* include/std/shared_mutex (shared_timed_mutex): Only use
|
|
|
|
|
pthread_rwlock_t when the POSIX Timeouts option is supported.
|
|
|
|
|
* testsuite/30_threads/shared_lock/cons/5.cc: Remove
|
|
|
|
|
dg-require-gthreads-timed.
|
|
|
|
|
* testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
|
|
|
|
|
* testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
|
|
|
|
|
* testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
|
|
|
|
|
|
2015-04-09 17:41:38 +02:00
|
|
|
|
2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
|
|
|
|
|
|
2015-04-09 13:15:44 +02:00
|
|
|
|
2015-04-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65147
|
|
|
|
|
* include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
|
|
|
|
|
alignment.
|
|
|
|
|
* include/std/atomic (atomic): For types with a power of two size set
|
|
|
|
|
alignment to at least the size.
|
|
|
|
|
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
|
|
|
|
|
* testsuite/29_atomics/atomic/65147.cc: New.
|
|
|
|
|
* testsuite/29_atomics/atomic_integral/65147.cc: New.
|
|
|
|
|
|
2015-04-09 09:05:41 +02:00
|
|
|
|
2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
|
|
|
|
|
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
|
|
|
|
|
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
|
|
|
|
|
|
2015-04-08 22:46:30 +02:00
|
|
|
|
2015-04-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
|
|
|
|
|
|
2015-03-30 19:52:37 +02:00
|
|
|
|
2015-03-30 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65630
|
|
|
|
|
* config/abi/pre/gnu.ver: Export operator+ for new strings.
|
|
|
|
|
* testsuite/21_strings/basic_string/operators/char/65630.cc: New.
|
|
|
|
|
* testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
|
|
|
|
|
|
2015-03-28 05:17:12 +01:00
|
|
|
|
2015-03-28 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65420
|
|
|
|
|
* include/bits/regex_constants.h: Use constexpr variables for flags.
|
|
|
|
|
* testsuite/28_regex/constants/constexpr.cc: New testcase.
|
|
|
|
|
|
2015-03-27 13:45:10 +01:00
|
|
|
|
2015-03-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65499
|
|
|
|
|
* include/std/chrono: Add using-directive for literals to std::chrono.
|
|
|
|
|
* testsuite/20_util/duration/literals/65499.cc: New.
|
|
|
|
|
|
2015-03-26 20:59:08 +01:00
|
|
|
|
2015-03-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/58038
|
|
|
|
|
PR libstdc++/60421
|
|
|
|
|
* include/std/thread (this_thread::sleep_for): Check for negative
|
|
|
|
|
durations.
|
|
|
|
|
(this_thread::sleep_until): Check for times in the past.
|
|
|
|
|
* testsuite/30_threads/this_thread/58038.cc: New.
|
|
|
|
|
* testsuite/30_threads/this_thread/60421.cc: New.
|
|
|
|
|
|
2015-03-26 20:27:02 +01:00
|
|
|
|
2015-03-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/62259
|
|
|
|
|
PR libstdc++/65147
|
|
|
|
|
* include/std/atomic (atomic<T>): Increase alignment for types with
|
|
|
|
|
the same size as one of the integral types.
|
|
|
|
|
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
|
|
|
|
|
* testsuite/29_atomics/atomic/62259.cc: New.
|
|
|
|
|
|
2015-03-26 19:31:11 +01:00
|
|
|
|
2015-03-26 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65033
|
|
|
|
|
* include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
|
|
|
|
|
a fake pointer indicating type alignment.
|
|
|
|
|
(__atomic_base<T *>::is_lock_free): Likewise.
|
|
|
|
|
* include/std/atomic (atomic<T>::is_lock_free): Likewise.
|
|
|
|
|
|
2015-03-25 16:46:58 +01:00
|
|
|
|
2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/33394
|
|
|
|
|
* testsuite/21_strings/basic_string/pthread33394.cc: Use
|
|
|
|
|
dg-additional-options.
|
|
|
|
|
|
2015-03-25 10:57:06 +01:00
|
|
|
|
2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65543
|
|
|
|
|
* include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
|
|
|
|
|
thinko in r150387.
|
|
|
|
|
* include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/27_io/rvalue_streams-2.cc: New.
|
|
|
|
|
|
2015-03-24 15:47:32 +01:00
|
|
|
|
2015-03-24 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/33394
|
|
|
|
|
* testsuite/21_strings/basic_string/pthread33394.cc: Add test.
|
|
|
|
|
|
2015-03-23 17:47:18 +01:00
|
|
|
|
2015-03-23 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64967
|
|
|
|
|
* acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* src/c++11/compatibility-c++0x.cc (error_category), generic_category,
|
|
|
|
|
system_category): Use macros for versioned namespace.
|
|
|
|
|
* src/c++11/futex.cc: Add missing end macro for versioned namespace.
|
|
|
|
|
|
2015-03-20 18:20:12 +01:00
|
|
|
|
2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
|
|
|
|
|
test for unused for ARM.
|
|
|
|
|
* testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
|
|
|
|
|
* testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
|
|
|
|
|
|
2015-03-20 14:26:55 +01:00
|
|
|
|
2015-03-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
|
|
|
|
|
* include/ext/codecvt_specializations.h (encoding_state,
|
|
|
|
|
encoding_char_traits): Remove abi-tag and use inline namespace.
|
|
|
|
|
* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
|
|
|
|
|
|
2015-03-19 20:31:48 +01:00
|
|
|
|
2015-03-19 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/locale/gnu/messages_members.cc: Revert abi-tag change.
|
|
|
|
|
* src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
|
|
|
|
|
|
re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types)
PR c++/65046
* config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
get_catalogs): Add abi-tag.
* include/ext/codecvt_specializations.h (encoding_state,
encoding_char_traits): Likewise.
* src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
* src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
money_get_shim, money_put_shim, messages_shim): Likewise.
* src/c++11/future.cc (future_error_category::message): Likewise.
* src/c++11/system_error.cc (generic_error_category::message,
system_error_category::message): Likewise.
(__sso_string): Disable -Wabi-tag warnings.
From-SVN: r221497
2015-03-18 19:08:29 +01:00
|
|
|
|
2015-03-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/65046
|
|
|
|
|
* config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
|
|
|
|
|
get_catalogs): Add abi-tag.
|
|
|
|
|
* include/ext/codecvt_specializations.h (encoding_state,
|
|
|
|
|
encoding_char_traits): Likewise.
|
|
|
|
|
* src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
|
|
|
|
|
* src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
|
|
|
|
|
numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
|
|
|
|
|
money_get_shim, money_put_shim, messages_shim): Likewise.
|
|
|
|
|
* src/c++11/future.cc (future_error_category::message): Likewise.
|
|
|
|
|
* src/c++11/system_error.cc (generic_error_category::message,
|
|
|
|
|
system_error_category::message): Likewise.
|
|
|
|
|
(__sso_string): Disable -Wabi-tag warnings.
|
|
|
|
|
|
2015-03-18 17:17:47 +01:00
|
|
|
|
2015-03-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/13631
|
|
|
|
|
* config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
|
|
|
|
|
implementation for old glibc. Fix whitespace.
|
|
|
|
|
|
2015-03-18 11:53:38 +01:00
|
|
|
|
2015-03-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
|
|
|
|
|
(shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
|
|
|
|
|
(shared_timed_mutex::lock_shared()): Retry on EAGAIN.
|
|
|
|
|
(shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
|
|
|
|
|
EDEADLK.
|
|
|
|
|
|
2015-03-17 15:24:55 +01:00
|
|
|
|
2015-03-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libsupc++/nested_exception.h: Do not try to derive from final
|
|
|
|
|
classes.
|
|
|
|
|
* testsuite/18_support/nested_exception/throw_with_nested.cc: Test
|
|
|
|
|
final class.
|
|
|
|
|
|
2015-03-17 17:36:32 +01:00
|
|
|
|
* testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
|
|
|
|
|
unused exception variable.
|
|
|
|
|
* testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
|
|
|
|
|
* testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
|
|
|
|
|
test.
|
|
|
|
|
* testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
|
|
|
|
|
|
2015-03-13 11:49:08 +01:00
|
|
|
|
2015-03-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-03-13 13:47:21 +01:00
|
|
|
|
* include/experimental/system_error: Fix include guard.
|
|
|
|
|
|
2015-03-12 16:00:28 +01:00
|
|
|
|
2015-03-12 Renlin Li <renlin.li@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
|
|
|
|
|
wrapped target.
|
|
|
|
|
|
re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the sub_match::matched is false)
PR libstdc++/64441
* include/bits/regex.h (match_results<>::size,
match_results<>::position, match_results<>::str,
match_results<>::operator[], match_results<>::prefix,
match_results<>::suffix, match_results<>::end,
match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
global __unmatched_sub. Add unmatched submatch as part of
match_results.
* include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
* testsuite/28_regex/match_results/out_of_range_submatches.cc:
New testcases.
From-SVN: r221330
2015-03-10 19:41:46 +01:00
|
|
|
|
2015-03-10 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64441
|
|
|
|
|
* include/bits/regex.h (match_results<>::size,
|
|
|
|
|
match_results<>::position, match_results<>::str,
|
|
|
|
|
match_results<>::operator[], match_results<>::prefix,
|
|
|
|
|
match_results<>::suffix, match_results<>::end,
|
|
|
|
|
match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
|
|
|
|
|
match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
|
|
|
|
|
global __unmatched_sub. Add unmatched submatch as part of
|
|
|
|
|
match_results.
|
|
|
|
|
* include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
|
|
|
|
|
regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
|
|
|
|
|
* testsuite/28_regex/match_results/out_of_range_submatches.cc:
|
|
|
|
|
New testcases.
|
|
|
|
|
|
2015-03-09 13:47:51 +01:00
|
|
|
|
2015-03-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64467
|
|
|
|
|
* testsuite/28_regex/traits/char/isctype.cc: Don't test newline
|
|
|
|
|
for newlib targets. Really fix mixed line-endings this time.
|
|
|
|
|
|
2015-03-06 13:31:43 +01:00
|
|
|
|
2015-03-06 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/std/future (future_error(error_code)): Construct base
|
|
|
|
|
class with error_code's message.
|
|
|
|
|
* src/c++11/future.cc (future_error::what()): Do not call c_str() on
|
|
|
|
|
temporary string.
|
|
|
|
|
|
2015-03-05 14:36:21 +01:00
|
|
|
|
2015-03-05 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
|
|
|
|
|
noconv result.
|
|
|
|
|
* testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
|
|
|
|
|
* testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
|
|
|
|
|
|
2015-03-04 18:19:55 +01:00
|
|
|
|
2015-03-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64797
|
|
|
|
|
* include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
|
|
|
|
|
incomplete multibyte sequences correctly.
|
|
|
|
|
* include/std/codecvt (codecvt_utf8, codecvt_utf16,
|
|
|
|
|
codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
|
|
|
|
|
* src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
|
|
|
|
|
Define constants.
|
|
|
|
|
(is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
|
|
|
|
|
Define convenience functions.
|
|
|
|
|
(read_utf8_code_point): Return relevant constant to distinguish
|
|
|
|
|
incomplete characters from invalid sequences.
|
|
|
|
|
(read_utf16_code_point): Likewise. Check for invalid sequences.
|
|
|
|
|
(ucs4_in, utf16_in): Use incomplete_mb_character constant.
|
|
|
|
|
(utf16_out): Check for invalid sequences.
|
|
|
|
|
(utf16_span): Fix condition.
|
|
|
|
|
(ucs2_out): Use is_high_surrogate.
|
|
|
|
|
(ucs2_in): Use incomplete_mb_character constant and fix condition.
|
|
|
|
|
* testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
|
|
|
|
|
* testsuite/22_locale/conversions/buffer/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/conversions/string/2.cc: Use char16_t and
|
|
|
|
|
char32_t instead of wchar_t.
|
|
|
|
|
* testsuite/22_locale/conversions/string/3.cc: New.
|
|
|
|
|
|
2015-03-03 19:14:20 +01:00
|
|
|
|
2015-03-03 Iain Sandoe <iain@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64883
|
|
|
|
|
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
|
|
|
|
|
visibility for Darwin.
|
|
|
|
|
* testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
|
|
|
|
|
also deprecated.
|
|
|
|
|
* testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
|
|
|
|
|
|
2015-03-02 18:50:55 +01:00
|
|
|
|
2015-03-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65279
|
|
|
|
|
* include/std/scoped_allocator (__inner_type_impl,
|
|
|
|
|
scoped_allocator_adaptor): Add defaulted copy assignment and move
|
|
|
|
|
assignment operators.
|
|
|
|
|
* testsuite/20_util/scoped_allocator/65279.cc: New.
|
|
|
|
|
|
2015-03-02 17:50:24 +01:00
|
|
|
|
2015-03-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64367
|
|
|
|
|
* include/std/stdexcept (__sso_string): Don't use non-static member
|
|
|
|
|
in sizeof.
|
|
|
|
|
|
2015-02-28 10:22:43 +01:00
|
|
|
|
2015-02-28 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65246
|
|
|
|
|
* python/libstdcxx/v6/__init__.py: Use explicit relative imports.
|
|
|
|
|
|
2015-02-22 14:20:32 +01:00
|
|
|
|
2015-02-22 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-02-20 15:40:00 +01:00
|
|
|
|
2015-02-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64695
|
|
|
|
|
* python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
|
|
|
|
|
tuple layout.
|
|
|
|
|
|
2015-02-20 20:01:46 +01:00
|
|
|
|
* doc/xml/manual/status_cxx2011.xml: Document implementation-defined
|
|
|
|
|
behavior.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-02-19 21:57:40 +01:00
|
|
|
|
2015-02-19 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/58357
|
|
|
|
|
* include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
|
|
|
|
|
* include/bits/stl_algo.h (__rotate, rotate): Likewise.
|
|
|
|
|
|
2015-02-19 20:30:03 +01:00
|
|
|
|
2015-02-19 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
PR testsuite/65093
|
|
|
|
|
* testsuite/26_numerics/random/binomial_distribution/operators/values.cc
|
|
|
|
|
(test01): Add explanatory comment. Keep only the bd1 sub-test and
|
|
|
|
|
split out bd2, bd3, bd4, and bd5 sub-tests into...
|
|
|
|
|
* testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
|
|
|
|
|
testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
|
|
|
|
|
testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
|
|
|
|
|
testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
|
|
|
|
|
New separate files with the old parts.
|
|
|
|
|
|
2015-02-18 20:39:03 +01:00
|
|
|
|
2015-02-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
|
|
|
|
|
surrogate pairs.
|
|
|
|
|
(utf16_in): Pass mode argument to write_utf16_code_point.
|
|
|
|
|
(codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
|
|
|
|
|
native byte order.
|
|
|
|
|
* testsuite/22_locale/codecvt/char16_t.cc: New.
|
|
|
|
|
* testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
|
|
|
|
|
|
2015-02-18 21:21:04 +01:00
|
|
|
|
* testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
|
|
|
|
|
* testsuite/22_locale/codecvt/char32_t.cc: Likewise.
|
|
|
|
|
|
2015-02-17 15:25:48 +01:00
|
|
|
|
2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/22_locale/codecvt/char32_t.cc: New.
|
|
|
|
|
|
2015-02-17 13:44:26 +01:00
|
|
|
|
2015-02-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/65085
|
|
|
|
|
* include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
|
|
|
|
|
empty string gets null-terminated.
|
|
|
|
|
* testsuite/21_strings/basic_string/cons/char/65085.cc: New.
|
|
|
|
|
|
2015-02-13 14:42:06 +01:00
|
|
|
|
2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/28_regex/traits/char/isctype.cc (test01): Fix
|
|
|
|
|
mixed line-endings introduced in last change.
|
|
|
|
|
|
2015-02-12 15:55:23 +01:00
|
|
|
|
2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
|
|
|
|
|
for __NEWLIB__ macro with a dejagnu set macro.
|
|
|
|
|
* testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
|
|
|
|
|
|
2015-02-04 10:24:56 +01:00
|
|
|
|
2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
2015-03-09 13:47:51 +01:00
|
|
|
|
PR libstdc++/64467
|
2015-02-04 10:24:56 +01:00
|
|
|
|
* testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
|
|
|
|
|
special case for '\n'.
|
|
|
|
|
* testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
|
|
|
|
|
|
2015-02-01 16:11:23 +01:00
|
|
|
|
2015-02-01 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/c++11/futex.cc: Do not define for gthr-single.h targets.
|
|
|
|
|
|
2015-02-01 16:11:08 +01:00
|
|
|
|
2015-02-01 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64883
|
|
|
|
|
* include/c_global/cstdio (gets): Use __deprecated__ attribute instead
|
|
|
|
|
of deprecated.
|
|
|
|
|
* include/c_std/cstdio (gets): Likewise.
|
|
|
|
|
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
|
|
|
|
|
with attributes used in darwin headers.
|
|
|
|
|
|
2015-01-29 19:36:03 +01:00
|
|
|
|
2015-01-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
|
|
|
|
|
$vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2015-01-29 19:21:33 +01:00
|
|
|
|
2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
|
|
|
|
|
after vtv_cygmin is set.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2015-01-29 19:12:29 +01:00
|
|
|
|
2015-01-29 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
|
|
|
|
|
unconditionally.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2015-01-29 17:47:25 +01:00
|
|
|
|
2015-01-29 Caroline Tice <cmtice@google.com>
|
|
|
|
|
|
|
|
|
|
Committing VTV Cywin/Ming patch for Patrick Wollgast
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* libsupc++/Makefile.in: Regenerate.
|
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
|
2015-01-29 13:47:20 +01:00
|
|
|
|
2015-01-29 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/atomic_base.h: Use __always_inline__ instead of
|
|
|
|
|
always_inline.
|
|
|
|
|
* include/bits/atomic_futex.h: Likewise.
|
|
|
|
|
* include/bits/c++config: Use __abi_tag__ instead of abi_tag.
|
|
|
|
|
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
|
|
|
|
|
__packed__ instead of packed.
|
|
|
|
|
* include/std/shared_mutex: Use __unused__ instead of unused.
|
|
|
|
|
* testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
|
|
|
|
|
* testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
|
|
|
|
|
* testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
|
|
|
|
|
|
2015-01-29 17:47:25 +01:00
|
|
|
|
2015-01-28 Caroline Tice <cmtice@google.com>
|
Committing VTV Cygwin patch for Patrick Wollgast
* gcc/config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
if -fvtable-verify=preinit/std is used.
* gcc/config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
* gcc/config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
* gcc/config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
if -fvtable-verify=preinit/std is used.
* gcc/config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
* gcc/config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
if -fvtable-verify=preinit/std is used.
* gcc/config/i386/mingw-w64.h (LIB_SPEC): Likewise.
* gcc/config/i386/mingw32.h (LIB_SPEC): Likewise.
* gcc/cp/vtable-class-hierarchy.c (vtv_generate_init_routine): Add
check for not TARGET_PECOFF at the VTV_PREINIT_PRIORITY checks.
* gcc/varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section in case the
target is PE or COFF.
* libgcc/Makefile.in: Move rules to build vtv_*.o out of the check
for CUSTOM_CRTSTUFF.
* libgcc/config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*, i[34567]86-*-mingw*)
(x86_64-*-mingw*): Only add vtv_*.o to extra_parts if enable_vtable_verify.
* libstdc++-v3/acinclude.m4: Define VTV_CYGMIN.
* libstdc++-v3/configure: Regenerate.
* libstdc++-v3/libsupc++/Makefile.am: Add vtv_sources only to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES if VTV_CYGMIN is
not set.
* libstdc++-v3/libsupc++/Makefile.in: Regenerated.
* libstdc++-v3/libsupc++/vtv_stubs.cc: Add none weak declaration of every
function for Cygwin and MinGW.
* libstdc++-v3/src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES,
if VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
* libstdc++-v3/src/Makefile.in: Regenerate.
* libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if VTV_CYGMIN
is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS, libvtv_stubs_la_LDFLAGS
and libvtv_stubs_la_SOURCES if VTV_CYGMIN is set. Add obstac.c to
libvtv_la_SOURCES if VTV_CYGMIN is set.
* libvtv/Makefile.in : Regenerate.
* libvtv/aclocal.m4 : Regenerate.
* libvtv/configure : Regenerate.
* libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
* libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*, x86_64-*-mingw*)
(i?86-*-mingw*): Add to supported targets.
* libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
(log_error_message): Skip calls to backtrace and backtrace_symbols_fd on Cygwin
and MinGW.
* libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h inclusion on
Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
(obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc on Cygwin
and MinGW.
(__vtv_malloc_init): Exchange call to sysconf with call to port of sysconf on
Cygwin and MinGW.
* libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and PROT_WRITE on
Cygwin and MinGW.
* libvtv/map.h : Include stdint.h on MinGW.
* libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip include of
execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.
Add port of __fortify_fail on Cygwin and MinGW.
Change ElfW (Addr) to uintptr_t on Cygwin and MinGW.
(read_section_offset_and_length): Add port for Cygwin and MinGW
(iterate_modules): New function.
(vtv_unprotect_vtable_vars): Use iterate_modules instead of dl_iterate_phdr on
Cygwin and MinGW.
(vtv_protect_vtable_vars): Likewise.
(count_all_pages): Likewise.
(dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
* libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
Cygwin and MinGW.
(__vtv_open_log): Exchange call to getuid and getpid with GetCurrentProcessId and
adjust call to snprintf accordingly on Cygwin and MinGW.
Adjust calls to mkdir on MinGW.
Adjust call to open on Cygwin and MinGW.
(__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
(__vtv_log_verification_failure): Don't generate a backtrace on Cygwin and MinGW.
From-SVN: r220232
2015-01-29 09:03:56 +01:00
|
|
|
|
|
|
|
|
|
Committing VTV Cywin/Ming patch for Patrick Wollgast
|
|
|
|
|
* acinclude.m4: Define VTV_CYGMIN.
|
|
|
|
|
* libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
|
|
|
|
|
and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
|
|
|
|
|
* libsupc++/vtv_stubs.cc: Add none weak declaration of every function
|
|
|
|
|
for Cygwin and MinGW.
|
|
|
|
|
* src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
|
|
|
|
|
VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
|
|
|
|
|
libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
|
|
|
|
|
|
2015-01-28 16:02:28 +01:00
|
|
|
|
2015-01-28 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64828
|
|
|
|
|
* libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
|
|
|
|
|
* libsupc++/Makefile.in: Regenerate.
|
|
|
|
|
* src/c++11/Makefile.in: Regenerate.
|
|
|
|
|
|
2015-01-28 14:53:45 +01:00
|
|
|
|
2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp (v3_target_compile): Remove
|
|
|
|
|
check for unsupported.
|
|
|
|
|
(v3_target_compile_as_c): Likewise.
|
|
|
|
|
|
2015-01-28 10:53:39 +01:00
|
|
|
|
2015-01-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64798
|
|
|
|
|
* libsupc++/eh_alloc.cc (struct allocated_entry): Align
|
|
|
|
|
data member.
|
|
|
|
|
(pool::allocate): Adjust allocation size and alignment to
|
|
|
|
|
that change.
|
|
|
|
|
(pool::free): Adjust pointer offsetting.
|
|
|
|
|
|
2015-01-27 12:12:04 +01:00
|
|
|
|
2015-01-27 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64368
|
|
|
|
|
* include/std/shared_mutex (shared_timed_mutex::try_lock_for,
|
|
|
|
|
shared_timed_mutex::try_lock_until): Only define when POSIX thread
|
|
|
|
|
timeouts option is supported.
|
|
|
|
|
(shared_timed_mutex::try_shared_lock_for,
|
|
|
|
|
shared_timed_mutex::try_shared_lock_until): Likewise.
|
|
|
|
|
|
2015-01-27 00:42:39 +01:00
|
|
|
|
2015-01-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64368
|
|
|
|
|
* config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
|
|
|
|
|
numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
|
|
|
|
|
* src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
|
|
|
|
|
and use cache's _M_grouping field.
|
|
|
|
|
(__numpunct_fill_cache): Likewise.
|
|
|
|
|
(__moneypunct_fill_cache): Improve comments.
|
|
|
|
|
|
2015-01-26 12:18:14 +01:00
|
|
|
|
2015-01-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/23_containers/set/operations/2.cc: Add test for
|
|
|
|
|
non-transparent comparison function.
|
|
|
|
|
|
2015-01-25 17:54:33 +01:00
|
|
|
|
2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/29366
|
|
|
|
|
* config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
|
|
|
|
|
Remove SH4A inline asm and lock based implementations and use the
|
|
|
|
|
defaults from ext/atomicity.h.
|
|
|
|
|
|
2015-01-23 16:23:20 +01:00
|
|
|
|
2015-01-23 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
|
|
|
|
|
new std::string constructors for byname facets.
|
|
|
|
|
|
2015-01-22 10:21:48 +01:00
|
|
|
|
2015-01-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64535
|
|
|
|
|
* libsupc++/eh_alloc.cc: Include new.
|
|
|
|
|
(bitmask_type): Remove.
|
|
|
|
|
(one_buffer): Likewise.
|
|
|
|
|
(emergency_buffer): Likewise.
|
|
|
|
|
(emergency_used): Likewise.
|
|
|
|
|
(dependents_buffer): Likewise.
|
|
|
|
|
(dependents_used): Likewise.
|
|
|
|
|
(class pool): New custom fixed-size arena, variable size object
|
|
|
|
|
allocator.
|
|
|
|
|
(emergency_pool): New global.
|
|
|
|
|
(__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
|
|
|
|
|
(__cxxabiv1::__cxa_free_exception): Likewise.
|
|
|
|
|
(__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
|
|
|
|
|
(__cxxabiv1::__cxa_free_dependent_exception): Likewise.
|
|
|
|
|
|
2015-01-22 06:07:03 +01:00
|
|
|
|
2015-01-22 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64680
|
|
|
|
|
* include/bits/regex.h (basic_regex<>::basic_regex,
|
|
|
|
|
basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
|
|
|
|
|
standard interface.
|
|
|
|
|
* testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
|
|
|
|
|
|
2015-01-22 06:02:38 +01:00
|
|
|
|
2015-01-22 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64649
|
|
|
|
|
* include/bits/regex.tcc (regex_traits<>::lookup_collatename,
|
|
|
|
|
regex_traits<>::lookup_classname): Correctly narrow input chars.
|
|
|
|
|
* testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
|
|
|
|
|
|
2015-01-21 17:17:31 +01:00
|
|
|
|
2015-01-21 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
|
|
|
|
|
|
2015-01-21 17:17:17 +01:00
|
|
|
|
2015-01-21 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/29_atomics/atomic/64658.cc: Test stored value.
|
|
|
|
|
|
2015-01-20 13:31:22 +01:00
|
|
|
|
2015-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
|
|
|
|
|
* doc/xml/manual/status_cxx2014.xml: Update status.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-01-20 12:51:03 +01:00
|
|
|
|
2015-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64650
|
|
|
|
|
* include/experimental/optional (bad_optional_access): Add default
|
|
|
|
|
constructor.
|
|
|
|
|
* testsuite/experimental/optional/requirements.cc: Test for default
|
|
|
|
|
constructor.
|
|
|
|
|
|
Implement N3657: heterogeneous lookup in associative containers.
* include/bits/stl_map.h (map::find<>, map::count<>,
map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
member function templates to perform heterogeneous lookup.
* include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
multimap::lower_bound<>, multimap::upper_bound<>,
multimap::equal_range<>): Likewise.
* include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
multiset::lower_bound<>, multiset::upper_bound<>,
multiset::equal_range<>): Likewise.
* include/bits/stl_set.h (set::find<>, set::count<>,
set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
* include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
_Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
_Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
_Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
* testsuite/23_containers/map/operations/2.cc: New.
* testsuite/23_containers/multimap/operations/2.cc: New.
* testsuite/23_containers/multiset/operations/2.cc: New.
* testsuite/23_containers/set/operations/2.cc: New.
From-SVN: r219888
2015-01-20 12:50:58 +01:00
|
|
|
|
2015-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_map.h (map::find<>, map::count<>,
|
|
|
|
|
map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
|
|
|
|
|
member function templates to perform heterogeneous lookup.
|
|
|
|
|
* include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
|
|
|
|
|
multimap::lower_bound<>, multimap::upper_bound<>,
|
|
|
|
|
multimap::equal_range<>): Likewise.
|
|
|
|
|
* include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
|
|
|
|
|
multiset::lower_bound<>, multiset::upper_bound<>,
|
|
|
|
|
multiset::equal_range<>): Likewise.
|
|
|
|
|
* include/bits/stl_set.h (set::find<>, set::count<>,
|
|
|
|
|
set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
|
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
|
|
|
|
|
_Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
|
|
|
|
|
_Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
|
|
|
|
|
_Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
|
|
|
|
|
* testsuite/23_containers/map/operations/2.cc: New.
|
|
|
|
|
* testsuite/23_containers/multimap/operations/2.cc: New.
|
|
|
|
|
* testsuite/23_containers/multiset/operations/2.cc: New.
|
|
|
|
|
* testsuite/23_containers/set/operations/2.cc: New.
|
|
|
|
|
|
2015-01-20 12:50:51 +01:00
|
|
|
|
2015-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/pre/gnu.ver: Export new constructors.
|
|
|
|
|
* include/bits/codecvt.h (codecvt_byname): Add string constructor.
|
|
|
|
|
(codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
|
|
|
|
|
specializations and declare explicit instantiations.
|
|
|
|
|
* include/bits/locale_classes.h (locale, collate_byname): Add string
|
|
|
|
|
constructors.
|
|
|
|
|
* include/bits/locale_facets.h (ctype_byname, numpunct_byname):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/bits/locale_facets_nonio.h (time_get_byname,
|
|
|
|
|
time_put_byname, moneypunct_byname, messages_byname): Likewise.
|
|
|
|
|
* src/c++11/codecvt.cc (codecvt_byname<char16_t>,
|
|
|
|
|
codecvt_byname<char32_t>): Define explicit instantiations.
|
|
|
|
|
* src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
|
|
|
|
|
Instantiate string constructors.
|
|
|
|
|
(ctype_byname): Define string constructor.
|
|
|
|
|
* testsuite/22_locale/codecvt_byname/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/collate_byname/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/ctype_byname/2.cc: New.
|
|
|
|
|
* testsuite/22_locale/messages_byname/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/moneypunct_byname/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/numpunct_byname/1.cc: New.
|
|
|
|
|
|
2015-01-20 12:50:43 +01:00
|
|
|
|
2015-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64658
|
|
|
|
|
* include/std/atomic (atomic_init): Define.
|
|
|
|
|
* testsuite/29_atomics/atomic/64658.cc: New.
|
|
|
|
|
|
2015-01-20 00:00:13 +01:00
|
|
|
|
2015-01-19 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64649
|
|
|
|
|
* include/bits/regex.tcc (regex_traits<>::lookup_collatename,
|
|
|
|
|
regex_traits<>::lookup_classname): Support forward iterators.
|
|
|
|
|
* testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
|
|
|
|
|
* testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
|
|
|
|
|
|
2015-01-19 23:56:04 +01:00
|
|
|
|
2015-01-19 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64584
|
|
|
|
|
PR libstdc++/64585
|
|
|
|
|
* include/bits/regex.h (basic_regex<>::basic_regex,
|
|
|
|
|
basic_regex<>::assign, basic_regex<>::imbue,
|
|
|
|
|
basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
|
|
|
|
|
imbuing basic_regex; Make assign() transactional against exception.
|
|
|
|
|
* include/bits/regex_compiler.h (__compile_nfa<>): Add back
|
|
|
|
|
__compile_nfa SFINAE.
|
|
|
|
|
* include/std/regex: Adjust include order to avoid __compile_nfa
|
|
|
|
|
forward declaration.
|
|
|
|
|
* testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
|
|
|
|
|
* testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
|
|
|
|
|
|
2015-01-19 15:37:03 +01:00
|
|
|
|
2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
|
|
|
|
|
on overloads for arrays.
|
|
|
|
|
(cbegin, cend, rbegin, rend, crbegin, crend): New.
|
|
|
|
|
* testsuite/24_iterators/range_access_cpp14.cc: New.
|
|
|
|
|
|
2015-01-18 17:31:06 +01:00
|
|
|
|
2015-01-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64646
|
|
|
|
|
* include/bits/stl_algo.h (__is_permutation): Also test for reaching
|
|
|
|
|
end of the second range.
|
|
|
|
|
* testsuite/25_algorithms/is_permutation/64646.cc: New.
|
|
|
|
|
|
2015-01-18 16:47:18 +01:00
|
|
|
|
2015-01-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
|
|
|
|
|
* doc/html/manual/status.html: Regenerate.
|
|
|
|
|
|
2015-01-18 15:25:22 +01:00
|
|
|
|
2015-01-18 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/atomic_futex.h: Use mutex and condition_variable when
|
|
|
|
|
atomic int is not lock-free. Make member variables private.
|
|
|
|
|
* src/c++11/futex.cc: Likewise.
|
|
|
|
|
|
2015-01-18 15:38:53 +01:00
|
|
|
|
* src/c++11/futex.cc: Fix order of includes and preprocessor condition.
|
|
|
|
|
|
2015-01-17 14:48:48 +01:00
|
|
|
|
2015-01-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64638
|
|
|
|
|
* include/bits/atomic_futex.h: Use appropriate config macros for
|
|
|
|
|
availability of std::mutex, std::condition and std::chrono.
|
|
|
|
|
|
2015-01-17 04:23:52 +01:00
|
|
|
|
2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/status_cxx2011.xml: Update C++11 status.
|
|
|
|
|
* doc/html/*: Regenerate.
|
|
|
|
|
|
2015-01-17 04:15:52 +01:00
|
|
|
|
2015-01-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
DR 488
|
|
|
|
|
PR libstdc++/58357
|
|
|
|
|
* include/bits/algorithmfwd.h (rotate): Return an iterator.
|
|
|
|
|
* include/bits/stl_algo.h (rotate, __rotate): Likewise.
|
|
|
|
|
* testsuite/25_algorithms/rotate/dr488.cc: New.
|
|
|
|
|
* testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
|
|
|
|
|
* testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
|
|
|
|
|
2.cc: Likewise.
|
|
|
|
|
* testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
|
|
|
|
|
pod.cc: Likewise.
|
|
|
|
|
|
2015-01-17 02:23:28 +01:00
|
|
|
|
2015-01-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/60940
|
|
|
|
|
* include/bits/atomic_base.h: Remove atomic integral typedefs as
|
|
|
|
|
synonyms for __atomic_base<int> etc.
|
|
|
|
|
* include/std/atomic: Make atomic_int a synonym for atomic<int> and
|
|
|
|
|
likewise for all atomic integral types.
|
|
|
|
|
* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
|
|
|
|
|
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
|
|
|
|
|
|
2015-01-17 01:21:41 +01:00
|
|
|
|
2015-01-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/56785
|
|
|
|
|
* include/std/tuple (_Tuple_impl): Remove zero-element specialization
|
|
|
|
|
and define one-element specialization.
|
|
|
|
|
* testsuite/20_util/tuple/56785.cc: New.
|
|
|
|
|
|
2015-01-17 01:12:50 +01:00
|
|
|
|
2015-01-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
|
|
|
|
|
Remove unused header.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2015-01-17 00:38:48 +01:00
|
|
|
|
2015-01-16 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
|
|
|
|
|
* include/std/locale: Include new header.
|
|
|
|
|
* include/Makefile.am: Add it.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
|
|
|
|
|
* testsuite/22_locale/conversions/string/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/conversions/string/2.cc: New.
|
|
|
|
|
* testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
|
|
|
|
|
* testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
|
|
|
|
|
New.
|
|
|
|
|
|
2015-01-17 00:38:35 +01:00
|
|
|
|
2015-01-16 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/pre/gnu.ver: Export new symbols.
|
|
|
|
|
* include/Makefile.am: Add codecvt.
|
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
* include/std/codecvt: New header.
|
|
|
|
|
* src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
|
|
|
|
|
__codecvt_utf8_utf16_base): Define specializations.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
|
|
|
|
|
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
|
|
|
|
|
New.
|
|
|
|
|
|
2015-01-16 20:50:43 +01:00
|
|
|
|
2015-01-16 Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* src/c++11/futex.cc: New file.
|
|
|
|
|
* include/bits/atomic_futex.h: New file.
|
|
|
|
|
* include/std/future (__future_base::_State_baseV2): Use
|
|
|
|
|
atomic_futex_unsigned instead of mutex+condvar.
|
|
|
|
|
* src/c++11/futex.cc: Likewise.
|
|
|
|
|
* include/Makefile.am: Add atomic_futex.h.
|
|
|
|
|
* include/Makefile.in: Likewise.
|
|
|
|
|
* src/c++11/Makefile.am: Add futex.cc.
|
|
|
|
|
* src/c++11/Makefile.in: Likewise.
|
|
|
|
|
|
2015-01-16 16:02:35 +01:00
|
|
|
|
2015-01-16 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4: Fix typo in comment.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
|
|
|
|
|
codecvt<char16_t, char, mbstate_t>): Declare specializations.
|
|
|
|
|
* include/bits/locale_facets.h: Reserve space for new specializations.
|
|
|
|
|
* src/c++11/Makefile.am: Add codecvt.cc.
|
|
|
|
|
* src/c++11/Makefile.in: Regenerate.
|
|
|
|
|
* src/c++11/codecvt.cc: New.
|
|
|
|
|
* src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
|
|
|
|
|
with -std=gnu++11.
|
|
|
|
|
* src/c++98/Makefile.in: Regenerate.
|
|
|
|
|
* src/c++98/locale_init.cc: Initialize new codecvt specializations.
|
|
|
|
|
* src/c++98/localename.cc: Likewise.
|
|
|
|
|
* config/abi/pre/gnu.ver: Exports for new codecvt specializations.
|
|
|
|
|
* testsuite/22_locale/codecvt/utf8.cc: New.
|
|
|
|
|
* testsuite/22_locale/locale/cons/unicode.cc: Check that new
|
|
|
|
|
specializations are installed in locale objects.
|
|
|
|
|
|
2015-01-16 14:22:00 +01:00
|
|
|
|
2015-01-16 Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
|
|
|
|
|
implementation.
|
|
|
|
|
|
2015-01-13 15:56:50 +01:00
|
|
|
|
2015-01-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64571
|
|
|
|
|
* config/abi/pre/gnu.ver: Export fstream functions using new string.
|
|
|
|
|
|
2015-01-12 22:45:44 +01:00
|
|
|
|
2015-01-12 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64560
|
|
|
|
|
* src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
|
|
|
|
|
for RTTI support.
|
|
|
|
|
|
2015-01-12 22:45:50 +01:00
|
|
|
|
PR libstdc++/64553
|
|
|
|
|
* src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
|
|
|
|
|
|
2015-01-10 20:10:37 +01:00
|
|
|
|
2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/manual/parallel_mode.xml: Update for libgomp being
|
|
|
|
|
renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
|
|
|
|
|
Multi Processing Runtime Library".
|
|
|
|
|
|
2015-01-09 19:02:47 +01:00
|
|
|
|
2015-01-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64476
|
|
|
|
|
* include/bits/stl_uninitialized.h (uninitialized_copy): Fix
|
|
|
|
|
is_assignable arguments.
|
|
|
|
|
* testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
|
|
|
|
|
New.
|
|
|
|
|
|
2015-01-09 15:22:19 +01:00
|
|
|
|
2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* libsupc++/unwind-cxx.h: Revert previous commit.
|
|
|
|
|
|
2015-01-09 15:06:02 +01:00
|
|
|
|
2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
|
|
|
|
|
|
2015-01-09 04:58:59 +01:00
|
|
|
|
2015-01-09 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64239
|
|
|
|
|
* include/bits/regex.h (match_results<>::swap): Use std::swap
|
|
|
|
|
instead of swap.
|
|
|
|
|
* include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/28_regex/match_results/swap.cc: New testcase.
|
|
|
|
|
|
2015-01-08 17:24:55 +01:00
|
|
|
|
2015-01-08 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/60132
|
|
|
|
|
* include/std/type_traits (has_trivial_default_constructor,
|
|
|
|
|
has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
|
|
|
|
|
attribute.
|
|
|
|
|
* testsuite/20_util/has_trivial_copy_assign/requirements/
|
|
|
|
|
explicit_instantiation.cc: Use -Wno-deprecated.
|
|
|
|
|
* testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_copy_constructor/requirements/
|
|
|
|
|
explicit_instantiation.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_copy_constructor/requirements/
|
|
|
|
|
typedefs.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_default_constructor/requirements/
|
|
|
|
|
explicit_instantiation.c: Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_default_constructor/requirements/
|
|
|
|
|
typedefs.cc: Likewise.
|
|
|
|
|
* testsuite/20_util/has_trivial_default_constructor/value.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
|
|
|
|
|
trait.
|
|
|
|
|
* testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
|
|
|
|
|
* testsuite/util/testsuite_common_types.h: Likewise.
|
|
|
|
|
|
2015-01-08 14:27:30 +01:00
|
|
|
|
2015-01-08 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/hashtable_policy.h: Use __bool_constant.
|
|
|
|
|
|
2015-01-07 18:08:11 +01:00
|
|
|
|
2015-01-07 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libsupc++/Makefile.am: Compile del_ops.cc as C++14.
|
|
|
|
|
* libsupc++/Makefile.in: Regenerate.
|
|
|
|
|
|
2015-01-06 14:13:36 +01:00
|
|
|
|
2015-01-06 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
|
|
|
|
|
|
2015-01-05 13:33:28 +01:00
|
|
|
|
2015-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2015-01-04 15:03:11 +01:00
|
|
|
|
2015-01-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64483
|
|
|
|
|
* testsuite/18_support/exception_ptr/64241.cc: Use
|
|
|
|
|
dg-require-atomic-builtins.
|
|
|
|
|
|
2015-01-02 23:46:22 +01:00
|
|
|
|
2015-01-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
|
|
|
|
|
date.
|
|
|
|
|
|
2015-01-02 23:33:04 +01:00
|
|
|
|
2015-01-02 Tim Shen <timshen@google.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64475
|
|
|
|
|
* include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
|
|
|
|
|
iterator, since the original one shouldn't be mutated.
|
|
|
|
|
|
2015-01-02 22:12:54 +01:00
|
|
|
|
2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64422
|
|
|
|
|
* src/c++98/misc-inst.cc (string::erase): Add missing overloads.
|
|
|
|
|
(string::insert): Likewise.
|
|
|
|
|
(string::replace): Likewise.
|
|
|
|
|
(wstring::erase): Likewise.
|
|
|
|
|
(wstring::insert): Likewise.
|
|
|
|
|
(wstring::replace): Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
|
|
|
|
|
|
2015-01-02 17:50:51 +01:00
|
|
|
|
2015-01-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64468
|
|
|
|
|
* doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
|
|
|
|
|
|
2015-01-02 17:50:45 +01:00
|
|
|
|
2015-01-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/64438
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
|
|
|
|
|
Revert removal of dg-require-string-conversions.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/
|
|
|
|
|
stoull.cc: Likewise.
|
|
|
|
|
* testsuite/21_strings/basic_string/numeric_conversions/char/
|
|
|
|
|
to_string.cc: Likewise.
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2015 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|