https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62103

            Bug ID: 62103
           Summary: Incorrect folding of bitfield in a union on big endian
                    targets
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thopre01 at gcc dot gnu.org

Folding of bitfield in a union is incorrect on big endian targets. Consider the
testcase given in attachment, u.b would be folded to 0x45678 instead of
0x12345.

Reply via email to