https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69560

--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jason Merrill from comment #16)
> (In reply to Andreas Schwab from comment #15)
> > Because the ABI says so.
> 
> Which ABI?  In https://www.uclibc.org/docs/psABI-i386.pdf I see
> 
> long long: sizeof 8, alignment 4.
> 
> That GCC chooses to give stronger alignment to long long variables isn't
> part of the ABI, and shouldn't affect the value of alignof.

FYI, x86 psABIs are at

https://github.com/hjl-tools/x86-psABI/wiki/X86-psABI

Reply via email to