debug mode patch

François Dumont francois.cppdevs@free.fr
Sat Feb 19 10:26:00 GMT 2011


Hi

     Here is a proposition of a patch to a minor issue in debug string 
and to remove a useless debug check on heap. Ok ?

2011-02-19  François Dumont <francois.cppdevs@free.fr>

         * include/debug/string (basic_string::insert): Add iterator 
check and
         pass normal iterator to normal insert.
         * include/debug/macros.h (__glibcxx_check_heap,
         __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
         already done.

Regards

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


More information about the Libstdc++ mailing list