On Tue, May 1, 2012 at 1:23 PM, François Dumont <frs.dum...@gmail.com> wrote: > unordered_multilmap test added, attached patch applied to 4.7 branch and > trunk. > > This bug was not so difficult to fix. It would even have been quite easy to > detect with a good test coverage tool showing that not all possible path had > been tested in this method. I hope to be able to make some progress on this > subject in the future. However I will have a try with Valgrind. > > I can only add comment in bugzilla so I let you set this issue as resolved. > > François > > > I will have a run with Valgrind > > 2012-05-01 François Dumont <fdum...@gcc.gnu.org> > > PR libstdc++/53115 > * include/bits/hashtable.h > (_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets > after insertion of several equivalent elements. > * testsuite/23_containers/unordered_multiset/insert/53115.cc: New. > * testsuite/23_containers/unordered_multimap/insert/53115.cc: New.
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53193 It may need other fixes from trunk. -- H.J.