ok.

thanks,

David

On Fri, Jan 4, 2013 at 3:38 PM, Paul Pluzhnikov <ppluzhni...@google.com> wrote:
> On Fri, Jan 4, 2013 at 3:27 PM, Xinliang David Li <davi...@google.com> wrote:
>> I saw only one test case fix patch from Paolo in trunk. Does this
>> patch include more local fixes?
>
> There was an earlier patch which touched g++.dg/parse/error1{1,2}.C:
>
> r191712 | paolo | 2012-09-25 07:44:52 -0700 (Tue, 25 Sep 2012) | 15 lines
>
> /cp
> 2012-09-25  Paolo Carlini  <paolo.carl...@oracle.com>
>
>         PR c++/54526
>         * parser.c (cp_parser_template_id): In C++11 mode simply accept
>         X<::A>.
>
> /testsuite
> 2012-09-25  Paolo Carlini  <paolo.carl...@oracle.com>
>
>         PR c++/54526
>         * g++.dg/cpp0x/parse2.C: New.
>         * g++.dg/parse/error11.C: Adjust.
>         * g++.dg/parse/error12.C: Likewise.
>
> The r194909 reverted parser.c change, but didn't revert error1{1,2}.C changes.
>
> Current state of trunk vs. google/gcc-4_7 branch:
>
>  diff -u ${trunk}/gcc/testsuite/g++.dg/parse/error11.C
> ${gcc-4_7}/gcc/testsuite/g++.dg/parse/error11.C
> @@ -68,4 +68,4 @@
>
>  // On the first error message, an additional note about the use of
>  //  -fpermissive should be present
> -// { dg-message "17:\\(if you use '-fpermissive' or '-std=c\\+\\+11',
> or '-std=gnu\\+\\+11' G\\+\\+ will accept your code\\)" "-fpermissive"
> { target c++98 } 19 }
> +// { dg-message "17:\\(if you use '-fpermissive' G\\+\\+ will accept
> your code\\)" "-fpermissive" { target c++98 } 19 }
>
>
> (Minor adjustment to the expected error message).
>
> error12.C is identical on trunk and google/gcc-4_7.
>
> Thanks,
> --
> Paul Pluzhnikov

Reply via email to