This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3, 3.2 and 3.1] Fix replace regression wrt 2.95.x and 3.0.x
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>, "bkoz at redhat dot com" <bkoz at redhat dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 26 Apr 2002 11:00:41 -0700
- Subject: Re: [v3, 3.2 and 3.1] Fix replace regression wrt 2.95.x and 3.0.x
- References: <3CC93017.505@unitus.it><20020426093414.52a45d17.bkoz@redhat.com> <3CC99529.3070605@unitus.it>
--On Friday, April 26, 2002 07:58:01 PM +0200 Paolo Carlini
<pcarlini@unitus.it> wrote:
> Benjamin Kosnik wrote:
>
>>> as I did already anticipate yesterday, the fix for
>>> __throw_length_error in basic_string::replace turns out to be quite
>>> critical, since not only tightens the check but avoid throwing in the
>>> /wrong/ situations. I have added therefore a testcase which represents
>>> a regression wrt 2.95.x and 3.0.x.
>>>
>>>
>> This is fine for mainline Paolo. For the branch, you'll probably have to
>> wait for 3.1.1, unless Mark approves. Right now, I think he's only
>> approving fixes to previously reported, GNATS bugs.
Well, I wish everything were in GNATS. But, I'm still approving patches
that fix *regressions*. So, this is OK.
Thanks to both.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com