This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r160750 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 14 Jun 2010 15:23:32 -0000
- Subject: r160750 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: jakub
Date: Mon Jun 14 15:23:31 2010
New Revision: 160750
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160750
Log:
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.
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr21086.c
branches/gcc-4_5-branch/gcc/tree-ssa-ccp.c
branches/gcc-4_5-branch/gcc/tree-ssa-copy.c
branches/gcc-4_5-branch/gcc/tree-ssa-propagate.c
branches/gcc-4_5-branch/gcc/tree-ssa-propagate.h
branches/gcc-4_5-branch/gcc/tree-vrp.c