Re: PR libstdc++/87872 Avoids iterator transfer on self splice

2018-11-06 Thread Jonathan Wakely
On 06/11/18 10:49 +0100, François Dumont wrote: Here is the patch submitted by John and now fully tested.     PR libstdc++/87872     * include/debug/safe_sequence.tcc     (_Safe_sequence<>::_M_transfer_from_if): Skip transfer to self. Is it fine to commit it now ? OK, thanks. François

PR libstdc++/87872 Avoids iterator transfer on self splice

2018-11-06 Thread François Dumont
Here is the patch submitted by John and now fully tested.     PR libstdc++/87872     * include/debug/safe_sequence.tcc     (_Safe_sequence<>::_M_transfer_from_if): Skip transfer to self. Is it fine to commit it now ? François diff --git a/libstdc++-v3/include/debug/safe_sequence.tcc b/libstdc+