This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C PATCH] Fix ICE on invalid Cilk+ code (PR c/69798) (take 3)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]