------- Comment #6 from rguenth at gcc dot gnu dot org 2009-01-30 22:14 ------- Subject: Bug 39041
Author: rguenth Date: Fri Jan 30 22:14:39 2009 New Revision: 143809 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143809 Log: 2009-01-30 Richard Guenther <rguent...@suse.de> PR tree-optimization/39041 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Propagate variable indices only if the types match for this stmt. * gcc.c-torture/compile/pr39041.c: New testcase. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr39041.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=39041