gcc/libstdc++-v3/testsuite/23_containers/unordered_multimap
François Dumont 2514d7f1ff re PR libstdc++/54075 ([4.7.1] unordered_map insert still slower than 4.6.2)
2012-07-25  François Dumont  <fdumont@gcc.gnu.org>

	PR libstdc++/54075
	* include/bits/hashtable.h
	(_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
	size_type, ...): Remove std::max usage to guarantee that hashtable
	state is consistent with hash policy state.
	(_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
	the hashtable to be shrinking on next insertion.
	* testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
	* testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
	* testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
	* testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.

From-SVN: r189863
2012-07-25 19:32:48 +00:00
..
cons hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Remove noexcept, the move constructor allocates memory... 2011-09-01 15:45:20 +00:00
debug formatter.h (enum _Debug_msg_id): Add __msg_self_move_assign. 2012-03-09 10:37:34 +00:00
erase 9780-2.cc: Avoid -Wall warnings. 2012-05-21 23:40:55 +00:00
hash_policy dr1189.cc: Move to... 2010-08-13 13:08:09 +00:00
insert 9780-2.cc: Avoid -Wall warnings. 2012-05-21 23:40:55 +00:00
modifiers re PR libstdc++/54075 ([4.7.1] unordered_map insert still slower than 4.6.2) 2012-07-25 19:32:48 +00:00
operations count.cc: New. 2011-10-28 11:54:04 +00:00
operators [multiple changes] 2010-03-26 02:19:10 +00:00
requirements re PR libstdc++/53339 (unordered_map::iterator requires Value to be complete type) 2012-05-15 10:00:19 +00:00
final_hash.cc re PR libstdc++/51608 ([C++11] Unordered containers end(size_type) isn't constant time) 2011-12-29 17:58:51 +00:00
init-list.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
observers.cc 9780-2.cc: Avoid -Wall warnings. 2012-05-21 23:40:55 +00:00
range_access.cc [multiple changes] 2010-07-27 17:27:06 +00:00