re PR libstdc++/54075 ([4.7.1] unordered_map insert still slower than 4.6.2)
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 8 Nov 2012 20:16:04 +0000 (20:16 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 8 Nov 2012 20:16:04 +0000 (20:16 +0000)
commitecf07a67d0e8cc33b780783d9996a0e91a6239a2
tree1a19c993748ad806a6a8754863138e86283b4eca
parent68a559809331d754474191b2272cc7e4a960b65c
re PR libstdc++/54075 ([4.7.1] unordered_map insert still slower than 4.6.2)

2012-11-08  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/54075
* include/bits/hashtable.h (_Hashtable<>::rehash): Reset hash
policy state if no rehash.
* testsuite/23_containers/unordered_set/modifiers/reserve.cc
(test02): New.

From-SVN: r193339
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/reserve.cc