Re: C PATCH for c/71853 (ICE with uninitialized memory on invalid)

2016-07-29 Thread Jeff Law
On 07/27/2016 03:50 PM, Marek Polacek wrote: This testcase was breaking because we were using uninitialized memory coming from c_expr in c_parser_switch_statement. There, in case we hadn't seen '(' after switch, we called c_finish_case with uninitialized CE. Fixed thus. Bootstrapped/regtested o

Re: C PATCH for c/71853 (ICE with uninitialized memory on invalid)

2016-07-28 Thread Marek Polacek
On Wed, Jul 27, 2016 at 11:50:56PM +0200, Marek Polacek wrote: > This testcase was breaking because we were using uninitialized memory > coming from c_expr in c_parser_switch_statement. There, in case we hadn't > seen '(' after switch, we called c_finish_case with uninitialized CE. > Fixed thus. >

C PATCH for c/71853 (ICE with uninitialized memory on invalid)

2016-07-27 Thread Marek Polacek
This testcase was breaking because we were using uninitialized memory coming from c_expr in c_parser_switch_statement. There, in case we hadn't seen '(' after switch, we called c_finish_case with uninitialized CE. Fixed thus. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2016-07-27 Mare