-Wuninitialized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124161
138bc75d-0d04-0410-961f-
82ee72b054a4
* c-typeck.c (build_compound_expr): Annotate warning()
call with OPT_Wunused_value.
+ * tree-ssa.c ((warn_uninit): Annotate warning with
+ -Wuninitialized.
2007-04-25 Thiemo Seufer <ths@mips.com>
locus = (context != NULL && EXPR_HAS_LOCATION (context)
? EXPR_LOCUS (context)
: &DECL_SOURCE_LOCATION (var));
- warning (0, gmsgid, locus, var);
+ warning (OPT_Wuninitialized, gmsgid, locus, var);
xloc = expand_location (*locus);
floc = expand_location (DECL_SOURCE_LOCATION (cfun->decl));
if (xloc.file != floc.file