gcc/libstdc++-v3/testsuite
François Dumont afe96d415d debug.cc: Introduce a mutex pool in get_safe_base_mutex.
2010-11-25  François Dumont  <francois.cppdevs@free.fr>

	* src/debug.cc: Introduce a mutex pool in get_safe_base_mutex.
	Move code used to manipulate sequence safe iterators from safe
	iterator methods to safe sequence ones. Remove usage of safe iterator
	mutex, keep _Safe_iterator_base::_M_get_mutex for library backward
	binary compatibility.
	* src/Makefile.am: Build debug.cc in gnu++0x mode for _Hash_impl usage.
	* src/Makefile.in: Regenerate
	* include/debug/safe_base.h: Add _Safe_iterator_base _M_invalidate
	and _M_reset. Add _Safe_sequence_base _M_attach, _M_attach_single,
	_M_detach and _M_detach_single.
	* include/debug.safe_iterator.h, safe_iterator.tcc: Remove
	_Safe_iterator _M_invalidate and _M_invalidate_single. Implement all
	methods in terms of normal iterators rather than safe ones.
	* include/debug/safe_sequence.h: Replace _Safe_sequence
	_M_transfe_iter with _M_transfer_from_if taking the source sequence
	and a predicate signaling when a safe iterator shall be transfered.
	Add _Equal_to predicate.
	* include/debug/safe_sequence.tcc: New.
	* include/Makefile.am: Adjust.
	* include/Makefile.in: Regenerate.
	* include/debug/forward_list: Swap safe iterators in move constructor.
	Do not invalidate before begin in _M_invalidate_all method.
	Reimplement safe methods using normal iterators rather than safe ones.
	* include/debug/set.h, unordered_map, multiset.h, vector,
	unordered_set, deque, map.h, list, multimap.h: Reimplement safe method
	using normal iterators rather than safe ones.
	* testsuite/23_containers/forward_list/debug/clear.cc, swap.cc,
	move_constructor.cc, splice_after.cc, splice_after1.cc,
	splice_after2.cc, splice_after3.cc, splice_after4.cc: New.
	* testsuite/23_containers/vector/debug/multithreaded_swap.cc: New.

From-SVN: r167152
2010-11-25 20:53:39 +00:00
..
17_intro libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
18_support tuple (tuple): Make default constructors constexpr. 2010-11-04 05:53:05 +00:00
19_diagnostics
20_util tuple: Mark more constructors constexpr. 2010-11-24 16:33:14 +00:00
21_strings syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
22_locale wrapped_locale.cc: Require additional locale name. 2010-11-23 15:23:13 +01:00
23_containers debug.cc: Introduce a mutex pool in get_safe_base_mutex. 2010-11-25 20:53:39 +00:00
24_iterators libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
25_algorithms
26_numerics chrono: Constexpr markup for is_monotonic. 2010-11-23 23:47:44 +00:00
27_io PR libstdc++/26211 + N3168 2010-11-18 17:21:35 +00:00
28_regex syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
29_atomics user.cfg.in: Add typeindex. 2010-11-06 03:35:46 +00:00
30_threads constexpr.cc: Add dg-require* directives. 2010-11-24 10:08:49 +00:00
abi Update expected demangler output. 2010-11-18 05:24:00 -08:00
backward
config
data
decimal
ext * testsuite/ext/profile/mh.cc: Add xfail for uclibc. 2010-11-15 11:01:20 +00:00
lib chrono: Constexpr markup for is_monotonic. 2010-11-23 23:47:44 +00:00
libstdc++-abi
libstdc++-dg conformance.exp: Apply check_v3_target_fileio as a gate for tests in subdirectories matching the... 2010-10-07 21:44:36 +00:00
performance
tr1 user.cfg.in: Remove tr1_impl headers. 2010-11-05 22:30:54 +00:00
util chrono: Constexpr markup for is_monotonic. 2010-11-23 23:47:44 +00:00
Makefile.am
Makefile.in