tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
commitc0e50f7246effd184a626f401784df686767d389
authorRichard Biener <rguenther@suse.de>
Wed, 20 Feb 2013 15:19:13 +0000 (20 15:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Feb 2013 15:19:13 +0000 (20 15:19 +0000)
tree3d9f363d5896a1d0a51137f9c3ed05a97004b9b1
parenta52ca7390e068e0905ddc3ac5e376fad4ba5664c
tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.

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.

From-SVN: r196174
gcc/ChangeLog
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/forwprop-8.c
gcc/tree-call-cdce.c
gcc/tree-ssa-ccp.c
gcc/tree-ssa-copyrename.c
gcc/tree-ssa-dce.c
gcc/tree-ssa-forwprop.c
gcc/tree-ssa-live.c
gcc/tree-ssanames.c