[Bug c++/69560] x86_64: alignof(uint64_t) produces incorrect results with -m32
mh+gcc at glandium dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 20 07:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69560
--- Comment #14 from Mike Hommey <mh+gcc at glandium dot org> ---
(In reply to Andreas Schwab from comment #13)
> alignof(long long) "type of a complete object"
> alignof(foo) "type of a subobject"
But that doesn't tell why the alignment of a long long is 8 as a complete
object, but 4 as a subobject (the offset of l in foo is 4, not 8).
More information about the Gcc-bugs
mailing list