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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-24 
21:33:23 UTC ---
(In reply to comment #0)
> Created attachment 25070 [details]
> Patch for c-parser.c
> 
> Error message:
> 
> ../../gcc-4.7/gcc/c-parser.c: In function 'c_expr
> c_parser_postfix_expression_after_primary(c_parser*, location_t, c_expr)':
> ../../gcc-4.7/gcc/c-parser.c:6664:16: error: 'origtypes' may be used
> uninitialized in this function [-Werror=maybe-uninitialized]

This patch is correct and does prevent the warning as we are using an
uninitialized value of origtypes (though if we inline  build_function_call_vec
and then convert_arguments, the only time it is used unitialized is when
exprlist is non NULL but that requires a lot of optimizations to happen really
and it might only be seen by the human eye rather the compiler).

Reply via email to