diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-20 22:56:36 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-20 22:56:36 +0000 |
commit | 6f2f567f1b858a1f56e54d9af3f97e8c7c31f409 (patch) | |
tree | 0acc390403d38fbc9323dc9427575fc786cec53e /gcc/common.opt | |
parent | 90297d23280e2609b5404a4f57704e503df14549 (diff) | |
download | gcc-6f2f567f1b858a1f56e54d9af3f97e8c7c31f409.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 91fb0c71aac..7ce20bb8ee5 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 |