This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Fix ICE on invalid Cilk+ code (PR c/69798) (take 3)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Joseph Myers <joseph at codesourcery dot com>
- Date: Fri, 4 Mar 2016 14:17:26 +0100
- Subject: Re: [C PATCH] Fix ICE on invalid Cilk+ code (PR c/69798) (take 3)
- Authentication-results: sourceware.org; auth=none
- References: <20160303141541 dot GD10006 at redhat dot com> <20160303142801 dot GH3017 at tucnak dot redhat dot com> <20160303161535 dot GE10006 at redhat dot com> <56D92BAC dot 4050002 at redhat dot com> <20160304064110 dot GQ3017 at tucnak dot redhat dot com> <20160304131233 dot GK10006 at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Mar 04, 2016 at 02:12:33PM +0100, Marek Polacek wrote:
> Okay, so the following is the latest version. I extended the tests and I also
> changed the case for consecutive _Cilk_spawn keywords. And some whitespace
> fixes while at it.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
Ok, thanks
> 2016-03-04 Marek Polacek <polacek@redhat.com>
>
> PR c/69798
> * c-parser.c (c_parser_postfix_expression): Call
> c_parser_cast_expression rather than c_parser_postfix_expression.
>
> * gcc.dg/cilk-plus/pr69798-1.c: New test.
> * gcc.dg/cilk-plus/pr69798-2.c: New test.
Jakub