------- Comment #14 from rguenth at gcc dot gnu dot org 2008-03-14 16:34 ------- Subject: Bug 34989
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 <[EMAIL PROTECTED]> Backport from mainline: 2008-02-19 Richard Guenther <[EMAIL PROTECTED]> 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34989