On 12/08/2015 04:43 PM, David Malcolm wrote:
This fixes various uninitialized src_range of c_expr, this time
in the various builtins that are parsed via c_parser_get_builtin_args.
Bootstrapped®rtested on x86_64-pc-linux-gnu.
OK for trunk?
I think both of these patches are OK. Some questions though.
" a constant");
constant_expression_warning (c);
expr = integer_zerop (c) ? *e3_p : *e2_p;
+ set_c_expr_source_range (&expr, loc, close_paren_loc);
If that had an uninitialized range, it implies that the *eN_p
expressions also have uninitialized parts. Correct? If so, I think we
should fix that.
Also, what happened to the idea of a constructor for c_expr_t?
Bernd