http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569
--- Comment #14 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-12-12 18:24:34 UTC --- Author: ebotcazou Date: Mon Dec 12 18:24:31 2011 New Revision: 182253 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182253 Log: PR tree-optimization/50569 * tree-sra.c (build_ref_for_model): Replicate a chain of COMPONENT_REFs in the expression of MODEL instead of just the last one. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/execute/20111212-1.c - copied unchanged from r182252, trunk/gcc/testsuite/gcc.c-torture/execute/20111212-1.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-sra.c