diff options
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index a96158237dd..f001e026fc9 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -192,6 +192,10 @@ Wsuggest-attribute=pure Common Var(warn_suggest_attribute_pure) Warning Warn about functions which might be candidates for __attribute__((pure)) +Wsuggest-attribute=noreturn +Common Var(warn_suggest_attribute_noreturn) Warning +Warn about functions which might be candidates for __attribute__((noreturn)) + Wswitch Common Var(warn_switch) Warning Warn about enumerated switches, with no default, missing a case |