[PATCH 1/5] std::latch: reduce internal implementation from ptrdiff_t to int

Andreas Schwab schwab@linux-m68k.org
Wed Mar 3 15:02:02 GMT 2021


On Mär 03 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).

There is no requirement that __alignof__(int) is big enough.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libstdc++ mailing list