On Fri, Jan 4, 2013 at 9:41 AM, Xinliang David Li <davidxl@google.com> wrote: > ok. ...
12 years, 2 months ago
(2013-01-04 23:04:07 UTC)
#3
On Fri, Jan 4, 2013 at 9:41 AM, Xinliang David Li <davidxl@google.com> wrote:
> ok.
The patch as sent caused some breakage, I had to adjust test cases a bit.
Submitting attached patch.
Thanks,
--
Paul Pluzhnikov
I saw only one test case fix patch from Paolo in trunk. Does this patch ...
12 years, 2 months ago
(2013-01-04 23:27:01 UTC)
#4
I saw only one test case fix patch from Paolo in trunk. Does this
patch include more local fixes?
David
On Fri, Jan 4, 2013 at 3:03 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> On Fri, Jan 4, 2013 at 9:41 AM, Xinliang David Li <davidxl@google.com> wrote:
>> ok.
>
> The patch as sent caused some breakage, I had to adjust test cases a bit.
>
> Submitting attached patch.
>
> Thanks,
> --
> Paul Pluzhnikov
On Fri, Jan 4, 2013 at 3:27 PM, Xinliang David Li <davidxl@google.com> wrote: > I ...
12 years, 2 months ago
(2013-01-04 23:39:22 UTC)
#5
On Fri, Jan 4, 2013 at 3:27 PM, Xinliang David Li <davidxl@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.carlini@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.carlini@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
ok. thanks, David On Fri, Jan 4, 2013 at 3:38 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote: ...
12 years, 2 months ago
(2013-01-04 23:56:45 UTC)
#6
ok.
thanks,
David
On Fri, Jan 4, 2013 at 3:38 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> On Fri, Jan 4, 2013 at 3:27 PM, Xinliang David Li <davidxl@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.carlini@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.carlini@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
Issue 7028052: [google 4_7] Backport r194909 (<:: is incorrectly treated as digraph ...) to google/gcc-4_7 branch
Created 12 years, 2 months ago by ppluzhnikov
Modified 10 years, 3 months ago
Reviewers: jdennet_google.com, davidxl
Base URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7/
Comments: 0