aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-20 22:56:36 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-20 22:56:36 +0000
commite01cc6dc6217e93c3ac55c346a5e5e6c91c3ca8d (patch)
tree0acc390403d38fbc9323dc9427575fc786cec53e /gcc/common.opt
parentbdb0f0f5d2c6e51de3b8df71b6b3abd5d5f928a0 (diff)
downloadgcc-e01cc6dc6217e93c3ac55c346a5e5e6c91c3ca8d.zip
gcc-e01cc6dc6217e93c3ac55c346a5e5e6c91c3ca8d.tar.gz
gcc-e01cc6dc6217e93c3ac55c346a5e5e6c91c3ca8d.tar.bz2
c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
* c-decl.c (store_parm_decls): Make saved_warn_shadow boolean. * common.opt: Add remaining -W options and -g. * diagnostic.c (warnings_are_errors): Remove. * flags.h: Make most warning flags boolean. * opts.c (common_handle_option): Handle remaining -W options, and -g. Move many warning flags from toplev.c, making them boolean. * toplev.c: Remove many warning flags. (decode_W_option): Remove. (decode_g_option): Make extern. Error on unknown switch. (lang_independent_W_options): Use warn_dummy. (independent_decode_option): Just handle -f switches now. * toplev.h (decode_g_option): New. From-SVN: r68287
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt72
1 files changed, 72 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 91fb0c7..7ce20bb 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -46,12 +46,81 @@ Common
W
Common RejectNegative
+Waggregate-return
+Common
+
+Wcast-align
+Common
+
+Wdeprecated-declarations
+Common
+
+Wdisabled-optimization
+Common
+
+Werror
+Common
+
Wextra
Common
+Winline
+Common
+
+Wlarger-than-
+Common RejectNegative Joined UInteger
+
+Wmissing-noreturn
+Common
+
+Wpacked
+Common
+
+Wpadded
+Common
+
+Wshadow
+Common
+
+Wstrict-aliasing
+Common
+
+Wswitch
+Common
+
+Wswitch-default
+Common
+
+Wswitch-enum
+Common
+
+Wsystem-headers
+Common
+
+Wuninitialized
+Common
+
+Wunreachable-code
+Common
+
Wunused
Common
+Wunused-function
+Common
+
+Wunused-label
+Common
+
+Wunused-parameter
+Common
+
+Wunused-value
+Common
+
+Wunused-variable
+Common
+
aux-info
Common Separate
@@ -70,6 +139,9 @@ Common Joined
dumpbase
Common Separate
+g
+Common JoinedOrMissing
+
m
Common Joined