diff options
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 1eb407d52b5..51e1fa2af4b 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -1150,7 +1150,7 @@ warn_uninit (tree t, const char *gmsgid, void *data) 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 |