summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-05-03 19:14:06 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-05-03 19:14:06 +0000
commit62a67c94b776e5d07acd247e8a68f60f2a824024 (patch)
tree6bbb72911fd2765093c16f58a6efa88fc9c6ed0a /gcc/common.opt
parent8c7926c4c73c20a4097710c4ffd92d30a839c0fc (diff)
downloadgcc-62a67c94b776e5d07acd247e8a68f60f2a824024.tar.gz
flags.h (extra_warnings): Delete.
2009-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org> * flags.h (extra_warnings): Delete. * toplev.c (process_options): Handle Wuninitialized here. * opts.c (extra_warnings): Delete. (set_Wextra): Delete. (common_handle_option): -Wextra can be handled automatically. * c-opts.c (c_common_handle_option): Delete obsolete code. (c_common_post_options): Simplify comment. * common.opt (W): Add Var. (Wextra): Add Var. (Wuninitialized): Initialize to -1. From-SVN: r147080
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 3e1b80a7215..2d372e7ebd4 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -70,7 +70,7 @@ Common Optimization
Optimize for space rather than speed
W
-Common RejectNegative
+Common RejectNegative Var(extra_warnings) Warning
This switch is deprecated; use -Wextra instead
Waggregate-return
@@ -106,7 +106,7 @@ Common Joined
Treat specified warning as error
Wextra
-Common Warning
+Common Var(extra_warnings) Warning
Print extra (possibly unwanted) warnings
Wfatal-errors
@@ -197,7 +197,7 @@ Common Var(warn_type_limits) Init(-1) Warning
Warn if a comparison is always true or always false due to the limited range of the data type
Wuninitialized
-Common Var(warn_uninitialized) Warning
+Common Var(warn_uninitialized) Init(-1) Warning
Warn about uninitialized automatic variables
Wunreachable-code