tree-ssa-threadupdate.c (thread_through_all_blocks): Record that the loop structures...
authorZdenek Dvorak <ook@ucw.cz>
Wed, 1 Aug 2007 11:39:31 +0000 (13:39 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Wed, 1 Aug 2007 11:39:31 +0000 (11:39 +0000)
commit592c303da820745055bf6fd1521e2b2bf1318652
tree589e7c2e94dc0f61c32b953370ab9b08162f79ad
parent46cb04410da4ba4fa10070a0eec7a037ff6152a7
tree-ssa-threadupdate.c (thread_through_all_blocks): Record that the loop structures may need fixing.

* tree-ssa-threadupdate.c (thread_through_all_blocks): Record that
the loop structures may need fixing.
* tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures):
New functions.
(cleanup_tree_cfg_loop): Removed.
(cleanup_tree_cfg): If loops need fixing, call repair_loop_structures.
* tree-predcom.c (tree_predictive_commoning): Return TODO_cleanup_cfg
instead of running cleanup_tree_cfg_loop.
* cfgloop.h (LOOPS_NEED_FIXUP): New constant.
* tree-flow.h (cleanup_tree_cfg_loop): Declaration removed.
(tree_predictive_commoning): Declaration changed.
* passes.c (execute_function_todo): Do not use cleanup_tree_cfg_loop.

From-SVN: r127118
gcc/ChangeLog
gcc/cfgloop.h
gcc/passes.c
gcc/tree-cfgcleanup.c
gcc/tree-flow.h
gcc/tree-predcom.c
gcc/tree-ssa-threadupdate.c