summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
authormueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-25 18:45:39 +0000
committermueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-25 18:45:39 +0000
commite489762e2ca8210e1fd45153becccbfd6a8365c1 (patch)
tree9df1b14d41673f2bfe2d5fd9b223f59c9176151a /gcc/tree-ssa.c
parentd6f138d60908115e50fa10e0b570ec8edc11b4f1 (diff)
downloadgcc-e489762e2ca8210e1fd45153becccbfd6a8365c1.tar.gz
* tree-ssa.c ((warn_uninit): Annotate warning with
-Wuninitialized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r--gcc/tree-ssa.c2
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