[Bug libstdc++/63456] unordered_map incorrectly frees _M_single_bucket. Patch Included

François Dumont frs.dumont@gmail.com
Sun Oct 5 18:51:00 GMT 2014


Hi

     I just committed this trivial bug fix.

     Shall I go ahead and apply it to 4.9 branch too ?

2014-10-05  François Dumont  <fdumont@gcc.gnu.org>

     PR libstdc++/63456
     * include/bits/hashtable.h (_M_uses_single_bucket(__bucket_type*)): 
Test
     the parameter.
     * testsuite/23_containers/unordered_set/63456.cc: New.

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


More information about the Libstdc++ mailing list