[patch] Fix PR c++/27821

Mark Mitchell mark@codesourcery.com
Wed Jun 21 20:04:00 GMT 2006


Lee Millward wrote:
> On 6/21/06, Mark Mitchell <mark@codesourcery.com> wrote:
>> Lee Millward wrote:
>>
>> > 2006-06-18  Lee Millward  <lee.millward@gmail.com>
>> >
>> >     PR c++/27821
>> >     * decl.c (grokdeclarator): Return error_mark_node
>> >     on invalid uses of the scope resolution operator.
>> >
>> > testsuite/
>> >
>> > 2006-06-18  Lee Millward  <lee.millward@gmail.com>
>> >
>> >     PR c++/27821
>> >     * g++.dg/template/error22.C: New test.
>>
>> OK, thanks.
> 
> Is this also ok for the 4.1/4.0 branches after a successful
> bootstrap/regression test there since this is a regression from 3.4.0?

Yes.

> I believe the policy is to allow the patch to be on mainline for a few
> days/one week before applying on a release branch to be sure there is
> no fallout?

That's a conservative approach; with small, safe patches it's
conventional to apply to both places at once.  In this case, I'd say you
could apply to the branches at the same time.  However, if you want to
be extra-careful, you can wait.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list