On Thu, 7 Feb 2013, Marek Polacek wrote:
When bootstrapping with BOOT_FLAGS='-O3 -g', I get:
/home/polacek/src/gcc/gcc/c/c-parser.c: In function ‘c_expr
c_parser_postfix_expression_after_primary(c_parser*, location_t, c_expr)’:
/home/polacek/src/gcc/gcc/c/c-parser.c:6908:16: error: ‘origtypes’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
So this patch explicitly initializes origtypes to NULL.
Regtested/bootstrapped (with BOOT_FLAGS='-O3 -g') on x86_64-linux,
ok for trunk?
2013-02-07 Marek Polacek <pola...@redhat.com>
* c-parser.c (origtypes): Initialize to NULL.
Maybe mention PR44938? (there may be a dup or two)
(I thought it was the name of the function that went inside the
parentheses in a ChangeLog entry)
--
Marc Glisse