]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/52402 (IPA-SRA creates aligned loads from unaligned memory)
authorRichard Guenther <rguenther@suse.de>
Tue, 28 Feb 2012 09:15:49 +0000 (09:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Feb 2012 09:15:49 +0000 (09:15 +0000)
commit3a5a825aaecd124c57d3b08ba349631ac8e89123
tree9331bf1775c4098ffb8b748e6a4aa7b0856f164d
parent95510497873486319b680dfedf017415a2bb8173
re PR tree-optimization/52402 (IPA-SRA creates aligned loads from unaligned memory)

2012-02-28  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52402
* ipa-prop.c (ipa_modify_call_arguments): Properly use
mis-aligned types when creating the accesses at the call site.

* gcc.dg/torture/pr52402.c: New testcase.

From-SVN: r184619
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52402.c [new file with mode: 0644]