PR tree-optimization/26854
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jan 2011 01:26:48 +0000 (01:26 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jan 2011 01:26:48 +0000 (01:26 +0000)
commitf583ffd49d7d602e4d77bd3b4c2d31a100e7c27e
tree40f04bab603217a17801c186064a864353aa2c57
parent8d6ec972d85a0a0fcd84bec29168ffbc9ed0ff6e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169267 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c