This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/52419] New: Wrong expansion of misaligned vector store


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]