diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-20 15:19:13 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-20 15:19:13 +0000 |
commit | 560965e9b33deb5fa67c848c8b14ea7bbb42e8a2 (patch) | |
tree | 3d9f363d5896a1d0a51137f9c3ed05a97004b9b1 /gcc/tree-ssanames.c | |
parent | 2510e5cdea076d69efdd9963618bc29c7b64aa00 (diff) | |
download | gcc-560965e9b33deb5fa67c848c8b14ea7bbb42e8a2.tar.gz |
2013-02-20 Richard Biener <rguenther@suse.de>
* tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
* tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise.
* tree-ssa-dce.c (perform_tree_ssa_dce): Likewise.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do
not return anything.
(rename_ssa_copies): Do not remove unused locals.
* tree-ssa-ccp.c (do_ssa_ccp): Likewise.
* tree-ssanames.c (pass_release_ssa_names): Remove unused
locals first.
* passes.c (execute_function_todo): Do not schedule unused locals
removal if cleanup_tree_cfg did something.
* tree-ssa-live.c (remove_unused_locals): Dump statistics
about the number of removed locals.
* gcc.dg/tree-ssa/forwprop-8.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssanames.c')
-rw-r--r-- | gcc/tree-ssanames.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index be078ce96ce..0a405ce2a30 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -455,7 +455,7 @@ struct gimple_opt_pass pass_release_ssa_names = PROP_ssa, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ - 0, /* todo_flags_start */ - 0 /* todo_flags_finish */ + TODO_remove_unused_locals, /* todo_flags_start */ + 0 /* todo_flags_finish */ } }; |