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 RFA: Speed up warnings about jumps over declarations


On Tue, 25 Jan 2011, Ian Lance Taylor wrote:

> 2011-01-25  Ian Lance Taylor  <iant@google.com>
> 
> 	PR tree-optimization/26854
> 	* c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
> 	(decl_jump_unsafe): Move higher in file, with no other change.
> 	(bind): Set has_jump_unsafe_decl if appropriate.
> 	(update_label_decls): Test has_jump_unsafe_decl to avoid loop.
> 	(check_earlier_gotos): Likewise.
> 	(c_check_switch_jump_warnings): Likewise.

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]