------- Comment #3 from jakub at gcc dot gnu dot org 2010-06-14 15:24 ------- Subject: Bug 44508
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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44508