tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h
commite7e7f402d587d70a5cfaf378c60d27a6eb5cef98
authorJeff Law <law@redhat.com>
Fri, 22 Nov 2013 07:48:21 +0000 (22 00:48 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 22 Nov 2013 07:48:21 +0000 (22 00:48 -0700)
tree0ee43ec475a0ff9b689d9f55913fdc476de9a30d
parente44a45c610269bab661aa4ebce9ccd25262d6802
tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h

* tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h
(thread_block_1): Do not cancel jump threads which go from
inside a loop, through the header, then back inside the loop.
(bb_ends_with_multiway_branch): New function.
(thread_through_all_blocks): Handle threading cases which start
in a loop through the loop header to a point in the loop.

From-SVN: r205246
gcc/ChangeLog
gcc/tree-ssa-threadupdate.c