gcc/libstdc++-v3/testsuite
Paolo Carlini d2cc7f9266 stl_vector.h (vector(const vector&)): Use _M_get_Tp_allocator.
2005-12-17  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_vector.h (vector(const vector&)): Use
	_M_get_Tp_allocator.
	* include/bits/stl_deque.h (deque(const deque&)): Likewise.
	(_M_destroy_data): Adjust.

2005-12-17  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_deque.h (deque<>::_M_erase_at_end,
	_M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
	_M_destroy_data_aux): New, optimize erase at begin() / end() and
	consistently use the "segmented iterator" optimization.
	(deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
	Use the above.
	* include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
	(erase(iterator, iterator)): Likewise, clean-up.
	(erase(iterator)): Tweak, don't call copy unnecessarily. 
	(_M_destroy_data_aux): Define.
	* testsuite/23_containers/deque/modifiers/erase/1.cc: New.
	* testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.

From-SVN: r108727
2005-12-17 23:42:58 +00:00
..
17_intro
18_support re PR libstdc++/22203 (std::numeric_limits<int>::traps is wrong on PPC) 2005-11-10 02:05:13 +00:00
19_diagnostics re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
20_util
21_strings basic_string.h (insert(iterator, _CharT), [...]): Avoid troubles with ADL, user defined operators and __normal_iterator. 2005-12-06 17:19:30 +00:00
22_locale re PR libstdc++/25421 (catching exception from codecvt_byname() segfaults) 2005-12-15 10:11:03 +00:00
23_containers stl_vector.h (vector(const vector&)): Use _M_get_Tp_allocator. 2005-12-17 23:42:58 +00:00
24_iterators PR libstdc++/11729 (DR 280, [Ready]) 2005-10-05 15:49:39 +00:00
25_algorithms
26_numerics c99_classification_macros_c.cc: XFAIL on *-*-linux*, not *-*-linux-gnu. 2005-09-10 17:12:53 +01:00
27_io re PR libstdc++/24198 (Remove from the testsuite gnu_char_type (or fix it)) 2005-10-05 19:11:18 +00:00
backward
config
data re PR libstdc++/23462 (27_io/basic_filebuf/sgetn/char/[12]-i[no].cc execution tests fail) 2005-08-23 23:05:38 +00:00
demangle
ext re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
lib re PR testsuite/25193 (libstdc++ testsuite fails on cygwin) 2005-12-01 23:57:28 +00:00
libstdc++-abi
libstdc++-dg re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
performance
thread
tr1 is_empty.cc: Fix class NonEmptyClassTwo. 2005-12-16 21:33:32 +00:00
Makefile.am
Makefile.in re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
testsuite_abi_check.cc
testsuite_abi.cc re PR libstdc++/13583 (__use_cache not threadsafe) 2005-10-11 06:19:13 +00:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h re PR libstdc++/25288 (std::list insert members should have no effects if an exception is thrown) 2005-12-09 18:24:53 +00:00
testsuite_character.cc
testsuite_character.h re PR c++/13140 (declaration in global namespace, definition inside named or anon namespace) 2005-09-15 16:03:32 +00:00
testsuite_common_types.h
testsuite_hooks.cc
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h
testsuite_performance.h
testsuite_shared.cc re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
testsuite_tr1.h re PR libstdc++/24808 (is_object fails to compile with incomplete types) 2005-11-12 00:19:24 +00:00
testsuite_visualization.h