http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938

Marc Glisse <marc.glisse at normalesup dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.glisse at normalesup
                   |                            |dot org

--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-06 
15:47:21 UTC ---
This breaks a -O3 bootstrap (-Werror turns the warning into an error). The code
looks like:
  VEC(tree,gc) *origtypes;
  ...
  if(...)
    exprlist = NULL;
  else
    exprlist = c_parser_expr_list (parser, true, false, &origtypes);
  ...
  expr.value = build_function_call_vec (op_loc, expr.value, exprlist,
origtypes);

So g++ is right to warn (even if origtypes is probably unused in that case).

Reply via email to