This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]