debug abi breaking change patch

François Dumont frs.dumont@gmail.com
Mon Feb 13 21:47:00 GMT 2012


Here is the patch I finally applied. Indeed, keeping _M_get_mutex made 
is lighter.

2012-02-13  François Dumont <fdumont@gcc.gnu.org>

         * include/debug/safe_base.h
         (_Safe_iterator_base::_M_get_mutex): Remove.
         (_Safe_sequence_base::_M_mutex): Add, use it...
         (_Safe_sequence_base::_M_get_mutex): ...here.
         * src/c++11/debug.cc:
         (anonymous::get_safe_base_mutex): Remove.

I have also introduced the ChangeLog.libstdcxx_so_7-2-branch file to 
track changes in this branch.

François

On 02/09/2012 10:39 PM, Jonathan Wakely wrote:
> On 9 February 2012 21:36, François Dumont wrote:
>> About keeping _M_get_mutex, I can implement it inline or do you think that I
>> should keep in the debug.cc ? I guess gcc should be able to inline it where
>> ever it relies, no ?
> I think I would make it inline.
>

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


More information about the Libstdc++ mailing list