libstdc++/51866 too, sorry

François Dumont frs.dumont@gmail.com
Wed Jan 18 20:28:00 GMT 2012


Attached patch applied.

2012-01-18  François Dumont <fdumont@gcc.gnu.org>
             Roman Kononov <roman@binarylife.net>

         PR libstdc++/51866
         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, 
false_type)):
         Do not keep a reference to a potentially moved instance.
         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.

François

On 01/18/2012 12:35 AM, Paolo Carlini wrote:
> On 01/17/2012 11:31 PM, Jonathan Wakely wrote:
>> On 17 January 2012 21:14, François Dumont wrote:
>>> Ok to commit ?
>> OK, thanks.
> Great. Please also double check with the submitters of libstdc++/51845 
> (ask on the audit trail?) that it's actually fixed by the same patch, 
> and in case resolve it as duplicate.
>
> Thanks again,
> Paolo.
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 51866.patch
Type: text/x-patch
Size: 7376 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120118/784acb9a/attachment.bin>


More information about the Libstdc++ mailing list