This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52402] IPA-SRA creates aligned loads from unaligned memory
- 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:15:54 +0000
- Subject: [Bug tree-optimization/52402] IPA-SRA creates aligned loads from unaligned memory
- Auto-submitted: auto-generated
- References: <bug-52402-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52402
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-28 09:15:54 UTC ---
Author: rguenth
Date: Tue Feb 28 09:15:49 2012
New Revision: 184619
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184619
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr52402.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-prop.c
trunk/gcc/testsuite/ChangeLog