diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-06-14 17:19:04 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-06-14 17:19:04 +0200 |
commit | 8ab7d796d82889397ac6b74477be99fc5ee76831 (patch) | |
tree | 2b10d5795fae249a32a7b7b093a1cd54da5bdfdb /gcc/tree-ssa-copy.c | |
parent | 7cec010e49d84d5aad737fc040dc693615f81e78 (diff) | |
download | gcc-8ab7d796d82889397ac6b74477be99fc5ee76831.tar.gz |
re PR tree-optimization/44508 (libgomp.fortran/vla1.f90 ICE on s390)
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.
From-SVN: r160749
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); |