http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51624
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-04 21:37:15 UTC --- Author: ebotcazou Date: Wed Jan 4 21:37:11 2012 New Revision: 182890 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182890 Log: PR tree-optimization/51624 * tree-sra.c (build_ref_for_model): When replicating a chain of COMPONENT_REFs, stop as soon as the offset would become negative. Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/tree-sra.c