[v3] PR libstdc++/50529

François Dumont frs.dumont@gmail.com
Thu Sep 29 20:52:00 GMT 2011


Hi

     I would like to complete this patch with the attached one. As soon 
as vector or deque iterators have been validated thanks to the 
__glibcxx_check_* macros it is safe and more efficient to operate on 
normal iterators.

2011-09-29  François Dumont <fdumont@gcc.gnu.org>

         * include/debug/vector (vector<>::erase(iterator, iterator): Check
         iterators equality using normal iterators.
         * include/debug/deque (deque<>::erase(iterator, iterator): 
Likewise.

Ok to commit ?

François


On 09/27/2011 04:41 AM, Paolo Carlini wrote:
> Hi,
>
> pretty straightforward, tested x86_64-linux, committed to mainline.
>
> Thanks,
> Paolo.
>
> ///////////////////


-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.patch
Type: text/x-patch
Size: 963 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110929/55b5cd46/attachment.bin>


More information about the Libstdc++ mailing list