This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/51386] [4.7 Regression]: 23_containers/unordered_set/hash_policy/load_factor.cc execution timeout


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51386

--- Comment #8 from FranÃois Dumont <fdumont at gcc dot gnu.org> 2011-12-07 19:47:08 UTC ---
Author: fdumont
Date: Wed Dec  7 19:47:03 2011
New Revision: 182085

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182085
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/hashtable_policy.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]