https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61667
--- Comment #4 from François Dumont <fdumont at gcc dot gnu.org> --- Author: fdumont Date: Sat Aug 9 10:18:46 2014 New Revision: 213778 URL: https://gcc.gnu.org/viewcvs?rev=213778&root=gcc&view=rev Log: 2014-08-09 François Dumont <fdum...@gcc.gnu.org> PR libstdc++/61667 * include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Use _M_need_rehash to initialize the rehash policy and check if a rehash is needed. * testsuite/23_containers/unordered_map/modifiers/61667.cc: New. Added: branches/gcc-4_9-branch/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/61667.cc Modified: branches/gcc-4_9-branch/libstdc++-v3/ChangeLog branches/gcc-4_9-branch/libstdc++-v3/include/bits/hashtable.h