summaryrefslogtreecommitdiffstats
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index a6dd9f0a5c8..5061a58e9f1 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -412,6 +412,10 @@ c_common_handle_option (size_t scode, const char *arg, int value)
warn_ctor_dtor_privacy = value;
break;
+ case OPT_Wdeclaration_after_statement:
+ warn_declaration_after_statement = value;
+ break;
+
case OPT_Wdeprecated:
warn_deprecated = value;
cpp_opts->warn_deprecated = value;
OpenPOWER on IntegriCloud