[PATCH] remove obsolete code for Wuninitialized
Joseph S. Myers
joseph@codesourcery.com
Sun May 3 18:45:00 GMT 2009
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
More information about the Gcc-patches
mailing list