[v3] fix libstdc++/52476

François Dumont frs.dumont@gmail.com
Mon Apr 9 19:26:00 GMT 2012


Attached patch applied to 4_7-branch.

2012-04-09  François Dumont <fdumont@gcc.gnu.org>

         PR libstdc++/52476
         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
         (_Hashtable<>::_M_rehash): Use the latter.
         * testsuite/23_containers/unordered_multimap/insert/52476.cc: New.
         * testsuite/23_containers/unordered_multiset/insert/52476.cc: New.

Tested under linux x86_64.

I don't think I have the necessary rights to close the PR on bugzilla, I 
haven't been able to do so.

François

On 04/02/2012 12:12 AM, Paolo Carlini wrote:
> Hi,
>> Attached patch applied.
>>
>> 2012-03-16  François Dumont <fdumont@gcc.gnu.org>
>>
>>         PR libstdc++/52476
>>         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
>>         (_Hashtable<>::_M_rehash): Use the latter.
>>         * testsuite/23_containers/unordered_multimap/insert/52476.cc: 
>> New.
>>         * testsuite/23_containers/unordered_multiset/insert/52476.cc: 
>> New.
> Francois, at your ease, I think it's time to apply the fix to 
> 4_7-branch too and resolve the PR. By the way, Daniel confirmed in 
> private email that mainline works just fine now.
>
> Thanks,
> Paolo.
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hashtable.patch
Type: text/x-patch
Size: 10791 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120409/8e2b234d/attachment.bin>


More information about the Gcc-patches mailing list