This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] remove obsolete code for Wuninitialized


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]