[PATCH 1/5] std::latch: reduce internal implementation from ptrdiff_t to int
Hans-Peter Nilsson
hp@bitrange.com
Wed Mar 3 15:37:11 GMT 2021
On Wed, 3 Mar 2021, Jonathan Wakely wrote:
> For int, there shouldn't be any need to force the alignment. I don't
> think any ABI supported by GCC allows int members to be aligned to
> less than __alignof__(int).
(sizeof(int) last)
The CRIS ABI does as in default packed, and ISTR there was some
other gcc port too, but I don't recall whether that (too) had no
(current) Linux port.
brgds, H-P
More information about the Libstdc++
mailing list