Re: [PATCH] PR c/71171: Fix uninitialized source_range in c_parser_postfix_expression

2016-05-19 Thread Jeff Law
On 05/18/2016 07:08 PM, David Malcolm wrote: PR c/71171 reports yet another instance of the src_range of a c_expr being used without initialization. Investigation shows that this was due to error-handling, where the "value" field of a c_expr is set to error_mark_node without touching the src_ran

[PATCH] PR c/71171: Fix uninitialized source_range in c_parser_postfix_expression

2016-05-18 Thread David Malcolm
PR c/71171 reports yet another instance of the src_range of a c_expr being used without initialization. Investigation shows that this was due to error-handling, where the "value" field of a c_expr is set to error_mark_node without touching the src_range, leading to complaints from valgrind. This