This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Fix libstdc++/40518


On Tue, Jun 23, 2009 at 5:37 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> tested x86_64-linux, committed to mainline.
>
> Paolo.
>
> ///////////////////////////
>
> 2009-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
>
>         PR libstdc++/40518
>         * include/bits/basic_string.h (basic_string<>::_Rep::
>         _M_set_length_and_sharable): Do not write the empty rep.
>         (basic_string<>::erase(iterator, iterator)): Likewise,
>         move out of line...
>         * include/bits/basic_string.tcc: ... here.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54392

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]