]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/52395 (Too conservative alignment info from SRA)
authorRichard Guenther <rguenther@suse.de>
Tue, 28 Feb 2012 09:18:35 +0000 (09:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Feb 2012 09:18:35 +0000 (09:18 +0000)
commit85998a930587e8b03cf19bae41bb198cf82328b8
treea9d21a45612ee50fadb48bf21238faf85aacf741
parent3a5a825aaecd124c57d3b08ba349631ac8e89123
re PR tree-optimization/52395 (Too conservative alignment info from SRA)

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.

From-SVN: r184620
gcc/ChangeLog
gcc/tree-sra.c