]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/51386 (23_containers/unordered_set/hash_policy/load_factor.cc executi...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 7 Dec 2011 19:47:03 +0000 (19:47 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 7 Dec 2011 19:47:03 +0000 (19:47 +0000)
commit95c0a8a714efb1be55f3bb2af190db003d6455dc
treec55917c60479c8571ba34ecd6313ba38a6d70232
parent3c411f3f2c4ed6dbc3a2c0996533dcb9d0365a8d
re PR libstdc++/51386 (23_containers/unordered_set/hash_policy/load_factor.cc execution timeout)

2011-12-07  François Dumont <fdumont@gcc.gnu.org>

PR libstdc++/51386
* include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt):
Fix computation of _M_prev_resize so that hashtable do not keep on
being rehashed when _M_max_load_factor is lower than 1.

From-SVN: r182085
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable_policy.h