diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-14 15:19:04 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-14 15:19:04 +0000 |
commit | 33fd90fa62bd7d7274cfacf531feac0bffe87477 (patch) | |
tree | 2b10d5795fae249a32a7b7b093a1cd54da5bdfdb /gcc/tree-ssa-copy.c | |
parent | ca12fde261980f654b5ab9f130fd492810ea2462 (diff) | |
download | gcc-33fd90fa62bd7d7274cfacf531feac0bffe87477.tar.gz |
PR tree-optimization/44508
* tree-ssa-propagate.h (substitute_and_fold): Add DO_DCE
argument.
* tree-ssa-propagate.c (substitute_and_fold): If !DO_DCE,
don't eliminate trivially dead stmts.
* tree-vrp.c (vrp_finalize): Pass false as last argument
to substitute_and_fold.
* tree-ssa-copy.c (fini_copy_prop): Pass true as last argument
to substitute_and_fold.
* tree-ssa-ccp.c (ccp_finalize): Likewise.
* gcc.dg/tree-ssa/pr21086.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160749 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 7a4c0995514..87d896842f9 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -854,7 +854,7 @@ fini_copy_prop (void) duplicate_ssa_name_ptr_info (tmp[i].value, SSA_NAME_PTR_INFO (var)); } - substitute_and_fold (tmp, NULL); + substitute_and_fold (tmp, NULL, true); free (cached_last_copy_of); free (copy_of); |