diff options
author | Jan Hubicka <jh@suse.cz> | 2007-01-18 14:56:33 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2007-01-18 14:56:33 +0000 |
commit | ef94b3e254d71d3ca4ce01f418130fa51c12711f (patch) | |
tree | 370ef0af6f0c9483e8a124a460b11617ada2ca1b /gcc/tree-ssa-ccp.c | |
parent | 4c7fdd42829436be9564c3949c7d4b7a74ad25b9 (diff) |
* 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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@120900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r-- | gcc/tree-ssa-ccp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index f2f09ed0d47..b6c3599f9d9 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -2630,9 +2630,7 @@ execute_fold_all_builtins (void) } /* Delete unreachable blocks. */ - if (cfg_changed) - cleanup_tree_cfg (); - return 0; + return cfg_changed ? TODO_cleanup_cfg : 0; } |