fix libstdc++/52433
Paolo Carlini
paolo.carlini@oracle.com
Thu Mar 8 10:25:00 GMT 2012
On 03/08/2012 02:06 AM, Jonathan Wakely wrote:
> On 4 March 2012 12:56, Jonathan Wakely wrote:
>> PR libstdc++/52433
>> * include/debug/safe_iterator.h (_Safe_iterator): Add move
>> constructor and move assignment operator.
>> * testsuite/23_containers/vector/debug/52433.cc: New.
>>
>> Tested 'make check check-debug' on x86_64 and committed to trunk. I
>> plan to fix this for 4.7.1 and 4.6.4 as well
> This restores the debug mode checks when moving singular iterators.
Thanks for the good work on this.
By the way, this morning it occurred to me that we should probably also
have debug-mode checks for self move-assignment (not just in
_Safe_iterator)?!?
Or I'm missing something?
Thanks,
Paolo.
More information about the Gcc-patches
mailing list