This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23467] New: alignment of member doesn't always carry over to alignment of struct.
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2005 17:47:54 -0000
- Subject: [Bug middle-end/23467] New: alignment of member doesn't always carry over to alignment of struct.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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