diff options
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 682cb41..fccd4b5 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -707,6 +707,11 @@ Wsuggest-final-methods Common Var(warn_suggest_final_methods) Warning Warn about C++ virtual methods where adding final keyword would improve code quality. +Wswitch-unreachable +Common Var(warn_switch_unreachable) Warning Init(1) +Warn about statements between switch's controlling expression and the first +case. + Wsystem-headers Common Var(warn_system_headers) Warning Do not suppress warnings from system headers. |