[Bug c++/79024] alignas / alignof report wrong alignment for 64bit integer types for 32bit target

gnu-9fbaow at upsuper dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 8 00:42:00 GMT 2017


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.


More information about the Gcc-bugs mailing list