This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/59259] [x32] Incorrect packing and/or alignment when using a 64 bit type as array of zero length in a structure
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Nov 2013 07:44:19 +0000
- Subject: [Bug c/59259] [x32] Incorrect packing and/or alignment when using a 64 bit type as array of zero length in a structure
- Auto-submitted: auto-generated
- References: <bug-59259-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59259
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The alignment of ipt_get_entries for x32 is 64bit so the size is correct. This
is different from x86 where the alignment of long long in struct is 32bits.