gcc/libstdc++-v3/include/bits
Jonathan Wakely 375f837be1 re PR libstdc++/49561 ([C++0x] std::list::size complexity)
PR libstdc++/49561
	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_CXX11_ABI): Define.
	* configure.ac: Use GLIBCXX_ENABLE_LIBSTDCXX_CXX11_ABI.
	* configure: Regenerate.
	* include/Makefile.am (stamp-cxx11-abi): New target.
	(c++config.h): Set _GLIBCXX_USE_CXX11_ABI macro.
	* include/Makefile.in: Regenerate.
	* include/bits/c++config: Add _GLIBCXX_USE_CXX11_ABI placeholder and
	define _GLIBCXX_DEFAULT_ABI_TAG.
	* include/bits/list.tcc (list::emplace(const_iterator, _Args&...)):
	Increment size.
	(list::emplace(const_iterator, const value_type&)): Likewise.
	(list::merge(list&), list::merge(list&, _StrictWeakOrdering)): Adjust
	list sizes.
	* include/bits/stl_list.h (_List_base, list): Add ABI tag macro.
	(_List_base::_M_size): New data member in cxx11 ABI mode.
	(_List_base::_S_distance(_List_node_base*, _List_node_base*)): New
	function.
	(_List_base::_M_get_size(), _List_base::_M_set_size(size_t),
	_List_base::_M_inc_size(size_t), _List_base::_M_dec_size(size_t),
	_List_base::_M_distance, _List_base::_M_node_count): New functions for
	accessing list size correctly for the ABI mode.
	(_List_base::_List_base(_List_base&&)): Copy size and reset source.
	(_List_base::_M_init()): Initialize size member.
	(list::size()): Use _List_base::_M_node_count.
	(list::swap(list&)): Swap sizes.
	(list::splice(iterator, list&)): Update sizes.
	(list::splice(iterator, list&, iterator)): Likewise.
	(list::insert(iterator, const value_type&)): Update size.
	(list::insert(iterator, _Args&&...)): Likewise.
	(list::_M_erase(iterator)): Likewise.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Adjust.
	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
	Adjust.
	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
	Adjust.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
	Adjust.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust.

From-SVN: r216094
2014-10-10 16:33:57 +01:00
..
algorithmfwd.h
alloc_traits.h alloc_traits.h (__alloc_rebind): Define alias template. 2014-06-25 21:54:34 +01:00
allocated_ptr.h allocated_ptr.h (__allocated_ptr::operator=): Add missing return. 2014-07-08 14:22:14 +01:00
allocator.h api.xml: Link to more recent API docs. 2014-06-14 21:22:10 +01:00
atomic_base.h atomic_base.h (__atomic_base<_PTp*>::_M_type_size): Add const to constexpr member functions. 2014-04-15 19:28:41 +01:00
basic_ios.h re PR libstdc++/56193 (ios_base should replace operator void* with explicit operator bool in C++11 onwards.) 2014-09-24 23:13:35 +01:00
basic_ios.tcc
basic_string.h Implement SD-6: SG10 Feature Test Recommendations 2014-10-01 11:49:23 +00:00
basic_string.tcc
boost_concept_check.h
c++0x_warning.h
c++14_warning.h
c++config re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
char_traits.h api.xml: Link to more recent API docs. 2014-06-14 21:22:10 +01:00
codecvt.h
concept_check.h
cpp_type_traits.h
deque.tcc Make std::deque meet C++11 allocator requirements. 2014-09-09 18:29:32 +01:00
enable_special_members.h
forward_list.h alloc_traits.h (__alloc_rebind): Define alias template. 2014-06-25 21:54:34 +01:00
forward_list.tcc
fstream.tcc Make streams movable and swappable. 2014-09-22 14:34:09 +01:00
functexcept.h functexcept.h (__throw_out_of_range_fmt): Change attribute to __gnu_printf__ archetype to prevent warnings for "%zu". 2014-06-24 16:44:17 +01:00
functional_hash.h
gslice_array.h
gslice.h
hashtable_policy.h hashtable_policy.h (_Prime_rehash_policy): Constructor noexcept qualified. 2014-09-06 07:38:48 +00:00
hashtable.h re PR libstdc++/63456 (unordered_map incorrectly frees _M_single_bucket. Patch Included) 2014-10-05 18:44:46 +00:00
indirect_array.h
ios_base.h re PR libstdc++/59987 ([C++11]: Missing ios_base::hexfloat format specifier) 2014-10-06 16:55:53 +01:00
istream.tcc
list.tcc re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
locale_classes.h
locale_classes.tcc
locale_facets_nonio.h
locale_facets_nonio.tcc functexcept.h (__throw_out_of_range_fmt): Change attribute to __gnu_printf__ archetype to prevent warnings for "%zu". 2014-06-24 16:44:17 +01:00
locale_facets.h
locale_facets.tcc locale_facets.tcc (num_put::_M_insert_float): Do not pass precision when using hexfloat format. 2014-10-08 14:25:30 +01:00
localefwd.h
mask_array.h
memoryfwd.h
move.h Make streams movable and swappable. 2014-09-22 14:34:09 +01:00
ostream_insert.h
ostream.tcc
parse_numbers.h parse_numbers.h (_Number_help): Fix divide-by-zero. 2014-06-23 12:30:32 +01:00
postypes.h
predefined_ops.h
ptr_traits.h
random.h PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...> 2014-07-29 14:56:45 +00:00
random.tcc PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...> 2014-07-29 14:56:45 +00:00
range_access.h
regex_automaton.h re PR libstdc++/63199 (Inserting std::wregex to std::vector loses some std::wregex values) 2014-09-25 04:43:19 +00:00
regex_automaton.tcc re PR testsuite/61061 (FAIL: g++.dg/inherit/covariant7.C) 2014-07-01 03:05:45 +00:00
regex_compiler.h re PR libstdc++/63199 (Inserting std::wregex to std::vector loses some std::wregex values) 2014-09-25 04:43:19 +00:00
regex_compiler.tcc re PR libstdc++/63199 (Inserting std::wregex to std::vector loses some std::wregex values) 2014-09-25 04:43:19 +00:00
regex_constants.h
regex_error.h
regex_executor.h re PR libstdc++/63199 (Inserting std::wregex to std::vector loses some std::wregex values) 2014-09-25 04:43:19 +00:00
regex_executor.tcc re PR libstdc++/63199 (Inserting std::wregex to std::vector loses some std::wregex values) 2014-09-25 04:43:19 +00:00
regex_scanner.h re PR libstdc++/61424 (std::regex matches right to left, not leftmost longest) 2014-07-01 02:10:31 +00:00
regex_scanner.tcc re PR libstdc++/63219 (Superfluous template parameter in match_result::format overload) 2014-09-11 11:01:20 +01:00
regex.h regex.h (regex_token_iterator::_M_end_of_seq): Add const qualifier. 2014-10-08 09:49:22 +01:00
regex.tcc re PR libstdc++/61424 (std::regex matches right to left, not leftmost longest) 2014-07-01 02:10:31 +00:00
shared_ptr_base.h shared_ptr_base.h (__shared_ptr::_Deleter): Fix parameter type. 2014-06-26 13:43:59 +01:00
shared_ptr.h user.cfg.in (INPUT): Add C++14 headers. 2014-06-14 17:33:53 +01:00
slice_array.h
sstream.tcc
stl_algo.h re PR libstdc++/59603 (std::random_shuffle tries to swap element with itself) 2014-09-12 14:30:35 +01:00
stl_algobase.h Implement SD-6: SG10 Feature Test Recommendations 2014-10-01 11:49:23 +00:00
stl_bvector.h
stl_construct.h
stl_deque.h Make std::deque meet C++11 allocator requirements. 2014-09-09 18:29:32 +01:00
stl_function.h stl_function.h: Generic associative lookup feature is not supported. 2014-10-02 12:38:41 +00:00
stl_heap.h
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h re PR libstdc++/61086 (ubsan detects undefined behaviour in the standard library) 2014-05-07 15:43:22 +01:00
stl_list.h re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2014-10-10 16:33:57 +01:00
stl_map.h re PR libstdc++/29988 (More stl_tree.h enhancements: improving operator=) 2014-09-24 19:55:35 +00:00
stl_multimap.h re PR libstdc++/29988 (More stl_tree.h enhancements: improving operator=) 2014-09-24 19:55:35 +00:00
stl_multiset.h re PR libstdc++/29988 (More stl_tree.h enhancements: improving operator=) 2014-09-24 19:55:35 +00:00
stl_numeric.h
stl_pair.h
stl_queue.h Include <bits/uses_allocator.h> in <stack> and <queue>. 2014-09-22 17:01:53 +01:00
stl_raw_storage_iter.h
stl_relops.h
stl_set.h re PR libstdc++/29988 (More stl_tree.h enhancements: improving operator=) 2014-09-24 19:55:35 +00:00
stl_stack.h Include <bits/uses_allocator.h> in <stack> and <queue>. 2014-09-22 17:01:53 +01:00
stl_tempbuf.h
stl_tree.h re PR libstdc++/29988 (More stl_tree.h enhancements: improving operator=) 2014-09-24 19:55:35 +00:00
stl_uninitialized.h DR 1339 2014-09-25 16:27:18 +01:00
stl_vector.h DR 1339 2014-09-25 16:27:18 +01:00
stream_iterator.h
streambuf_iterator.h
streambuf.tcc
stringfwd.h
unique_ptr.h Implement SD-6: SG10 Feature Test Recommendations 2014-10-01 11:49:23 +00:00
unordered_map.h hashtable_policy.h (_Prime_rehash_policy): Constructor noexcept qualified. 2014-09-06 07:38:48 +00:00
unordered_set.h hashtable_policy.h (_Prime_rehash_policy): Constructor noexcept qualified. 2014-09-06 07:38:48 +00:00
uses_allocator.h uses_allocator.h (__uses_allocator_helper): Simplify. 2014-06-01 23:35:42 +01:00
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc DR 1339 2014-09-25 16:27:18 +01:00