RE: amusing SLUB compaction bug when CC_OPTIMIZE_FOR_SIZE

From: Hugh Dickins
Date: Fri Sep 30 2022 - 12:22:03 EST


On Fri, 30 Sep 2022, David Laight wrote:
> > > > Regarding "conflicting" alignment requests: yes, I agree with you,
> > > > it would have to be a toolchain bug if when asked to align 2 and to
> > > > align 4, it chose not to align 4.
>
> See https://godbolt.org/z/3nGsTaf5e
> the align() directive takes precedence.
>
> Here you only want to ensure the alignment is at least 4.

Sorry, I don't understand the point you are making,
nor how to deduce it from the link which you give:
I'll leave it to those who understand better.

Hugh