diff options
author | Jan Hubicka <jh@suse.cz> | 2007-01-18 15:56:33 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2007-01-18 14:56:33 +0000 |
commit | 1994bfea41d3cea4650b1678c13a70bf88186839 (patch) | |
tree | 370ef0af6f0c9483e8a124a460b11617ada2ca1b /gcc/tree-vrp.c | |
parent | d85c755027830f7779768c633aecdaf530a47034 (diff) | |
download | gcc-1994bfea41d3cea4650b1678c13a70bf88186839.zip gcc-1994bfea41d3cea4650b1678c13a70bf88186839.tar.gz gcc-1994bfea41d3cea4650b1678c13a70bf88186839.tar.bz2 |
tree-vrp.c (finalize_jump_threads): Do not call cleanup_cfg by hand.
* tree-vrp.c (finalize_jump_threads): Do not call cleanup_cfg by hand.
* tree-tailcall (add_virtual_phis): Likewise.
(optimize_tail_call): Return TODOs.
(execute_tail_calls): Return TODOs.
* tree-ssa-ccp (execute_fold_all_builtins): Do cleanup_cfg via TODO.
* tree-cfgcleanup.c (cleanup_tree_cfg_loop): Return if something
changed.
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_value):
Cleanup cfg using TODO.
* tree-flow.h (cleanup_tree_cfg_loop): Update prototype.
* passes.c (execute_function_todo): When cleanup did something, remove
unused locals.
* tree-cfg.c (pass_build_cfg): Add cleanup_cfg TODO.
(make_edges): Don't cleanup_cfg.
From-SVN: r120900
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r-- | gcc/tree-vrp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index e4f5e63..b466edf 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -4894,13 +4894,9 @@ finalize_jump_threads (void) cfg_altered = thread_through_all_blocks (); /* If we threaded jumps, then we need to recompute the dominance - information, to safely do that we must clean up the CFG first. */ + information. */ if (cfg_altered) - { - free_dominance_info (CDI_DOMINATORS); - cleanup_tree_cfg (); - calculate_dominance_info (CDI_DOMINATORS); - } + free_dominance_info (CDI_DOMINATORS); VEC_free (tree, heap, stack); } |