diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-18 14:56:33 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-18 14:56:33 +0000 |
commit | 6fa78c7b5c8339560e02cf1270e974214ca75496 (patch) | |
tree | 370ef0af6f0c9483e8a124a460b11617ada2ca1b /gcc/tree-cfg.c | |
parent | 64d0b9960a866b1de5520d3e55fce12bcfbd6bf6 (diff) | |
download | gcc-6fa78c7b5c8339560e02cf1270e974214ca75496.tar.gz |
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index e4971384438..e9111d93fac 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -237,7 +237,7 @@ struct tree_opt_pass pass_build_cfg = PROP_cfg, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_verify_stmts, /* todo_flags_finish */ + TODO_verify_stmts | TODO_cleanup_cfg, /* todo_flags_finish */ 0 /* letter */ }; @@ -579,9 +579,6 @@ make_edges (void) /* Fold COND_EXPR_COND of each COND_EXPR. */ fold_cond_expr_cond (); - - /* Clean up the graph and warn for unreachable code. */ - cleanup_tree_cfg (); } |