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-flow.h | |
parent | 46cb04410da4ba4fa10070a0eec7a037ff6152a7 (diff) | |
download | gcc-592c303da820745055bf6fd1521e2b2bf1318652.zip gcc-592c303da820745055bf6fd1521e2b2bf1318652.tar.gz gcc-592c303da820745055bf6fd1521e2b2bf1318652.tar.bz2 |
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-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index e3895d1..55bec44 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -783,7 +783,6 @@ void remove_edge_and_dominated_blocks (edge); /* In tree-cfgcleanup.c */ extern bitmap cfgcleanup_altered_bbs; extern bool cleanup_tree_cfg (void); -extern bool cleanup_tree_cfg_loop (void); /* In tree-pretty-print.c. */ extern void dump_generic_bb (FILE *, basic_block, int, int); @@ -975,7 +974,7 @@ unsigned int tree_unroll_loops_completely (bool); unsigned int tree_ssa_prefetch_arrays (void); unsigned int remove_empty_loops (void); void tree_ssa_iv_optimize (void); -void tree_predictive_commoning (void); +unsigned tree_predictive_commoning (void); bool number_of_iterations_exit (struct loop *, edge, struct tree_niter_desc *niter, bool); |