summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-20 14:17:08 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-20 14:17:08 +0000
commitfa816b0bfdbefc7ef44b3a6ae6f7d611700c078f (patch)
treec0cc84d9ea7c7ca3b8febc047eeae70bb2aa18ac /gcc/opts.c
parentf860c9946ceca79f1fcd2e898b03216ebb1e99ad (diff)
downloadgcc-fa816b0bfdbefc7ef44b3a6ae6f7d611700c078f.tar.gz
2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/53063 PR c/40989 c-family/ * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit, Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess, Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point, Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused, Wvolatile-register-var): Add LangEnabledBy or EnabledBy. * c-opts.c (c_common_handle_option): Remove explicit handling from here. (c_common_post_options): Likewise. gcc/ * opts.c (finish_options): Remove explicit handling from here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192635 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 98bbd302c8e..a1cf2d5bae6 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -829,10 +829,6 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set,
maybe_set_param_value (PARAM_MAX_STORES_TO_SINK, 0,
opts->x_param_values, opts_set->x_param_values);
- /* This replaces set_Wunused. */
- /* Wunused-local-typedefs is enabled by -Wunused or -Wall. */
- if (opts->x_warn_unused_local_typedefs == -1)
- opts->x_warn_unused_local_typedefs = opts->x_warn_unused;
}
#define LEFT_COLUMN 27