This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r133221 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 14 Mar 2008 16:34:11 -0000
- Subject: r133221 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: rguenth
Date: Fri Mar 14 16:34:11 2008
New Revision: 133221
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133221
Log:
2008-03-14 Richard Guenther <rguenther@suse.de>
Backport from mainline:
2008-02-19 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34989
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
* Re-structure.
Allow propagation to INDIRECT_REF if we can simplify only.
* gcc.dg/pr34989-1.c: New testcase.
* gcc.dg/pr34989-2.c: Likewise.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr34989-1.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr34989-2.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/tree-ssa-forwprop.c