diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-09 05:28:04 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-09 05:28:04 +0000 |
commit | bb0814cef5850f4f07dfb63bfccb3a78fca4f657 (patch) | |
tree | c335d57a3364a46b42410708d6b043579c47269a /gcc/common.opt | |
parent | fbd8e6fcc5a0d5b91b07a6d86ffdec02f251216e (diff) | |
download | gcc-bb0814cef5850f4f07dfb63bfccb3a78fca4f657.tar.gz |
* toplev.c (warn_dummy, W_options): Die.
(display_help): Don't print W_options.
* common.opt: Add W_options help from toplev.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69125 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index e1228c0672c..44d8381a1ee 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -49,21 +49,27 @@ Optimize for space rather than speed W Common RejectNegative +This switch is deprecated; use -Wextra instead Waggregate-return Common +Warn about returning structures, unions or arrays Wcast-align Common +Warn about pointer casts which increase alignment Wdeprecated-declarations Common +Warn about uses of __attribute__((deprecated)) declarations Wdisabled-optimization Common +Warn when an optimization pass is disabled Werror Common +Treat all warnings as errors Wextra Common @@ -71,6 +77,7 @@ Print extra (possibly unwanted) warnings Winline Common +Warn when an inlined function cannot be inlined Wlarger-than- Common RejectNegative Joined UInteger @@ -78,36 +85,47 @@ Common RejectNegative Joined UInteger Wmissing-noreturn Common +Warn about functions which might be candidates for __attribute__((noreturn)) Wpacked Common +Warn when the packed attribute has no effect on struct layout Wpadded Common +Warn when padding is required to align structure members Wshadow Common +Warn when one local variable shadows another Wstrict-aliasing Common +Warn about code which might break strict aliasing rules Wswitch Common +Warn about enumerated switches, with no default, missing a case Wswitch-default Common +Warn about enumerated switches missing a \"default:\" statement Wswitch-enum Common +Warn about all enumerated switches missing a specific case Wsystem-headers Common +Suppress warnings from system headers Wuninitialized Common +Warn about uninitialized automatic variables Wunreachable-code Common +Warn about code that will never be executed Wunused Common @@ -115,18 +133,23 @@ Enable all -Wunused- warnings Wunused-function Common +Warn when a function is unused Wunused-label Common +Warn when a label is unused Wunused-parameter Common +Warn when a function parameter is unused Wunused-value Common +Warn when an expression value is unused Wunused-variable Common +Warn when a variable is unused aux-info Common Separate |