This is the mail archive of the gcc-patches@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]

Re: PR 53115


On Tue, May 1, 2012 at 1:23 PM, François Dumont <frs.dumont@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 <fdumont@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.


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