------- Comment #11 from rguenth at gcc dot gnu dot org 2010-04-08 11:47 ------- Subject: Bug 42956
Author: rguenth Date: Thu Apr 8 11:47:13 2010 New Revision: 158123 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158123 Log: 2010-04-08 Richard Guenther <rguent...@suse.de> PR middle-end/42956 * gimplify.c (gimple_fold_indirect_ref): Avoid generating new ARRAY_REFs on variable size element or minimal index arrays. * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use gimple_fold_indirect_ref. * gcc.c-torture/compile/pr42956.c: New testcase. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42956.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/gimplify.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/tree-ssa-loop-ivopts.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42956