lkml.org 
[lkml]   [2022]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: amusing SLUB compaction bug when CC_OPTIMIZE_FOR_SIZE
Date
> > > 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.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

\
 
 \ /
  Last update: 2022-09-30 13:19    [W:0.051 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site