This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79024] alignas / alignof report wrong alignment for 64bit integer types for 32bit target
- From: "gnu-9fbaow at upsuper dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 08 Jan 2017 00:42:44 +0000
- Subject: [Bug c++/79024] alignas / alignof report wrong alignment for 64bit integer types for 32bit target
- Auto-submitted: auto-generated
- References: <bug-79024-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79024
--- Comment #2 from Xidorn Quan <gnu-9fbaow at upsuper dot org> ---
ABI requires a different alignment than in struct? That's interesting. But I
think developers (I mean, users of compilers) are generally more interested on
alignment requirement in struct rather than that for ABI, and most description
of the concept "alignment" refers to that in struct, so it is probably better
make alignof / alignas report that value.