This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52395] [4.7 Regression] Too conservative alignment info from SRA
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Feb 2012 09:18:38 +0000
- Subject: [Bug tree-optimization/52395] [4.7 Regression] Too conservative alignment info from SRA
- Auto-submitted: auto-generated
- References: <bug-52395-4@http.gcc.gnu.org/bugzilla/>
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 <rguenther@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