diff options
author | Richard Biener <rguenther@suse.de> | 2013-02-20 15:19:13 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-02-20 15:19:13 +0000 |
commit | c0e50f7246effd184a626f401784df686767d389 (patch) | |
tree | 3d9f363d5896a1d0a51137f9c3ed05a97004b9b1 /gcc/tree-call-cdce.c | |
parent | a52ca7390e068e0905ddc3ac5e376fad4ba5664c (diff) | |
download | gcc-c0e50f7246effd184a626f401784df686767d389.zip gcc-c0e50f7246effd184a626f401784df686767d389.tar.gz gcc-c0e50f7246effd184a626f401784df686767d389.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-call-cdce.c')
-rw-r--r-- | gcc/tree-call-cdce.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index bc7e23f..9b6186e 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c @@ -898,11 +898,10 @@ tree_call_cdce (void) /* As we introduced new control-flow we need to insert PHI-nodes for the call-clobbers of the remaining call. */ mark_virtual_operands_for_renaming (cfun); - return (TODO_update_ssa | TODO_cleanup_cfg | TODO_ggc_collect - | TODO_remove_unused_locals); + return TODO_update_ssa; } - else - return 0; + + return 0; } static bool |