[Bug c++/69560] x86_64: alignof(uint64_t) produces incorrect results with -m32
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 29 21:08:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69560
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
This is where C distinguishes C11 _Alignof (the minimum alignment the type
is guaranteed to have in all contexts, so 4, see min_align_of_type) from
GNU C __alignof (the normal alignment of the type, so 8). I don't know if
a similar distinction is needed for C++; that depends on how the standard
C++ alignof is specified.
More information about the Gcc-bugs
mailing list