gcc/libstdc++-v3/testsuite
Jonathan Wakely cc7f3d0eee 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 21:36:42 +01:00
..
17_intro [Patch Testsuite] Make all_attributes.cc in to (almost_)all_attributes.cc for ARM. 2015-03-20 17:20:12 +00:00
18_support exception (uncaught_exceptions): Add comment. 2015-04-28 13:07:40 +01:00
19_diagnostics std_c++0x_neg.cc: Add -std=c++98. 2015-05-09 00:50:30 -04:00
20_util Use atomics in guard.cc. 2015-06-12 09:49:41 +00:00
21_strings re PR libstdc++/64657 (Support iterators with overloaded operator-comma) 2015-04-29 16:22:13 +01:00
22_locale re PR libstdc++/66441 (wstring_convert not working correctly) 2015-06-08 14:03:45 +01:00
23_containers C++11 allocator support for std::list. 2015-06-17 21:36:42 +01:00
24_iterators range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR on overloads for arrays. 2015-01-19 14:37:03 +00:00
25_algorithms tuple (__is_tuple_like_impl): Disambiguate array in debug and profile modes. 2015-06-12 00:22:19 +01:00
26_numerics re PR libstdc++/65631 (seed_seq should not be copyable) 2015-04-28 13:35:30 +01:00
27_io [libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc. 2015-06-02 08:54:25 +00:00
28_regex regex.tcc: Handle regex_constants::__polynomial. 2015-04-28 04:16:48 +00:00
29_atomics [PATCH][libstc++v3]Add new dg-require-thread-fence directive. 2015-04-22 14:01:02 +00:00
30_threads shared_mutex (__shared_mutex_pthread, [...]): New helper types implementing the shared mutex requirements. 2015-06-05 17:31:05 +01:00
abi Update copyright years. 2015-01-05 13:33:28 +01:00
backward Update copyright years. 2015-01-05 13:33:28 +01:00
config Update copyright years. 2015-01-05 13:33:28 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
experimental ops.cc (stat_type): Define alias for struct stat and use throughout the file. 2015-05-15 19:37:25 +01:00
ext std_c++0x_neg.cc: Add -std=c++98. 2015-05-09 00:50:30 -04:00
lib libstdc++.exp (libstdc++_init): Unset LANGUAGE environment variable. 2015-06-01 12:57:33 +01:00
libstdc++-abi Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-dg Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-prettyprinters Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-xmethods xmethods.py (UniquePtrMethodsMatcher): Add operator-> support. 2015-05-26 23:06:55 +00:00
performance Update copyright years. 2015-01-05 13:33:28 +01:00
tr1 Use atomics in guard.cc. 2015-06-12 09:49:41 +00:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
util locale_conv.h: Fix copyright years. 2015-05-26 10:52:25 +01:00
Makefile.am Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.in libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00