[Bug middle-end/23467] New: alignment of member doesn't always carry over to alignment of struct.

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 18 17:52:00 GMT 2005


For STRICT_ALIGNMENT targets, the alignment of the mode of a struct
can override a larger alignment requirement from an aligned member.

-- 
           Summary: alignment of member doesn't always carry over to
                    alignment of struct.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: any with STRICT_ALIGNMENT, e.g. sh-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23467



More information about the Gcc-bugs mailing list