PR 53115

François Dumont frs.dumont@gmail.com
Sun Apr 29 10:21:00 GMT 2012


Hi

     Here is the patch for this PR. We were using buckets before 
updating them after having inserted equivalents elements one after the 
another.

2012-04-29  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.

     Tested undex linux x86_64 in the 4.7 branch, normal and debug mode.

     Ok to commit ?

François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 53115.patch
Type: text/x-patch
Size: 7027 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120429/90505ac6/attachment.bin>


More information about the Libstdc++ mailing list