http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52395
--- Comment #13 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-28 09:18:38 UTC --- Author: rguenth Date: Tue Feb 28 09:18:35 2012 New Revision: 184620 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184620 Log: 2012-02-28 Richard Guenther <rguent...@suse.de> PR tree-optimization/52395 * tree-sra.c (build_ref_for_offset): Also look at the base TYPE_ALIGN when figuring out the alignment of the replacement. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-sra.c