Re: [PATCH] PR c/30552 gcc crashes when compiling examples with GNU statement expressions in VLAs

2018-05-02 Thread Jeff Law
On 03/13/2018 03:56 PM, dave.pa...@oracle.com wrote: > This patch fixes ICE when statement expression used in old-style > function declaration parameter list. See > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 > > In c_parser_postfix_expression (), after seeing a left paren followed by >

Re: [PATCH] PR c/30552 gcc crashes when compiling examples with GNU statement expressions in VLAs

2018-03-13 Thread Jeff Law
On 03/13/2018 03:56 PM, dave.pa...@oracle.com wrote: > This patch fixes ICE when statement expression used in old-style > function declaration parameter list. See > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 > > In c_parser_postfix_expression (), after seeing a left paren followed by >

[PATCH] PR c/30552 gcc crashes when compiling examples with GNU statement expressions in VLAs

2018-03-13 Thread dave . pagan
This patch fixes ICE when statement expression used in old-style function declaration parameter list. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30552 In c_parser_postfix_expression (), after seeing a left paren followed by a left curly brace, in addition to checking for existing