This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52419] New: Wrong expansion of misaligned vector store
- From: "jamborm 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 17:07:13 +0000
- Subject: [Bug middle-end/52419] New: Wrong expansion of misaligned vector store
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52419
Bug #: 52419
Summary: Wrong expansion of misaligned vector store
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jamborm@gcc.gnu.org
CC: rguenth@gcc.gnu.org
Host: x86_64linux-gnu
Target: x86_64linux-gnu
Created attachment 26773
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26773
Testcase
When I compile the attached testcase, even at -O0, the resulting
binary aborts because the vector value is {5,3} instead of expected
{3,5}. When I remove the aligned and packed attributes, the testcase
works as expected.