diff options
author | Zdenek Dvorak <ook@ucw.cz> | 2007-08-01 13:39:31 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2007-08-01 11:39:31 +0000 |
commit | 592c303da820745055bf6fd1521e2b2bf1318652 (patch) | |
tree | 589e7c2e94dc0f61c32b953370ab9b08162f79ad /gcc/tree-ssa-threadupdate.c | |
parent | 46cb04410da4ba4fa10070a0eec7a037ff6152a7 (diff) | |
download | gcc-592c303da820745055bf6fd1521e2b2bf1318652.tar.gz |
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
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index dfe1829a110..a626cdd7648 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -1076,6 +1076,9 @@ thread_through_all_blocks (bool may_peel_loop_headers) VEC_free (edge, heap, threaded_edges); threaded_edges = NULL; + if (retval) + current_loops->state |= LOOPS_NEED_FIXUP; + return retval; } |