This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] remove obsolete code for Wuninitialized
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 3 May 2009 18:45:05 +0000 (UTC)
- Subject: Re: [PATCH] remove obsolete code for Wuninitialized
- References: <6c33472e0905031006u51017f9fhee8c57264bc7f210@mail.gmail.com>
On Sun, 3 May 2009, Manuel López-Ibáñez wrote:
> 2009-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
>
> * flags.h (extra_warnings): Delete.
> * toplev.c (process_options): Handle Wuninitialized here.
> * opts.c (extra_warnings): Delete.
> (set_Wextra): Delete.
> (common_handle_option): -Wextra can be handled automatically.
> * c-opts.c (c_common_handle_option): Delete obsolete code.
> (c_common_post_options): Simplify comment.
> * common.opt (W): Add Var.
> (Wextra): Add Var.
> (Wuninitialized): Initialize to -1.
The C changes are OK.
--
Joseph S. Myers
joseph@codesourcery.com