PR 53115

François Dumont frs.dumont@gmail.com
Wed May 2 19:09:00 GMT 2012


On 05/02/2012 06:23 PM, H.J. Lu wrote:
> 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.
>
I run tests before updating FSF copyright year.

Sorry



More information about the Libstdc++ mailing list