diff options
author | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-26 16:06:09 +0000 |
---|---|---|
committer | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-26 16:06:09 +0000 |
commit | 8c3e8d6881fea782e6381dc2621e6da05f84ccd4 (patch) | |
tree | b94bed7986e2724eb7508e1ebf3f157968133e57 /gcc/common.opt | |
parent | 129f9079a12d24650cb2ecf42e4e4cc75d05bbc3 (diff) | |
download | gcc-8c3e8d6881fea782e6381dc2621e6da05f84ccd4.tar.gz |
Implement -Wno-maybe-uninitialized
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 83a61fc3312..ebc2ba7dbf8 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -631,6 +631,10 @@ Wuninitialized Common Var(warn_uninitialized) Init(-1) Warning Warn about uninitialized automatic variables +Wmaybe-uninitialized +Common Var(warn_maybe_uninitialized) Warning +Warn about maybe uninitialized automatic variables + Wunreachable-code Common Ignore Does nothing. Preserved for backward compatibility. |