This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Fix libstdc++/40518
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 28 Aug 2012 11:05:12 -0700
- Subject: Re: [v3] Fix libstdc++/40518
- References: <4A40CC9B.4010609@oracle.com>
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.