On 03/28/2018 08:48 PM, Tomasz Torcz 👁️ wrote:
> Note that while GCC produces broken code, this is actually an ABI
bug, and
> we cannot change struct layout rules for long long retroactively. Maybe we
> could for _Atomic long long, but that would need a lengthy investigation,
> and I strongly believe that everyone is better off if the time is spent on
> improving 64-bit architectures.
Does it mean that the bug was here for the last 23 years? And now this
became a problem?
I'm not sure how you came up with the duration. The bug is most
certainly much younger than that, probably introduced along with the new
atomic intrinsics in a late GCC 4.8.x release. Arguably, it is a real
bug only for _Atomic long long members.
Thanks,
Florian