gcc/libstdc++-v3/testsuite
Paolo Carlini 0cb855b7a6 re PR libstdc++/25288 (std::list insert members should have no effects if an exception is thrown)
2005-12-09  Paolo Carlini  <pcarlini@suse.de>
	    Howard Hinnant  <hhinnant@apple.com>

	PR libstdc++/25288
	* include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
	Remove.
	(_M_initialize_dispatch, _M_fill_initialize): Add.
	(list(size_type, const value_type&, const allocator_type&),
	list(const list&), list(_InputIterator, _InputIterator,
	const allocator_type&): Use the latter.
	(insert(iterator, size_type, const value_type&), insert(iterator,
	_InputIterator, _InputIterator)): Use construction & splice.
	* testsuite/23_containers/list/modifiers/insert/25288.cc: New.
	* testsuite/testsuite_allocator.h (class throw_allocator): Add.

	* include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.

Co-Authored-By: Howard Hinnant <hhinnant@apple.com>

From-SVN: r108313
2005-12-09 18:24:53 +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++/23953 (using stringstreams causes crashes with some locales) 2005-09-30 08:39:52 +00:00
23_containers 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
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
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 [multiple changes] 2005-11-13 12:14:15 +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