On Fri, Aug 12, 2016 at 1:01 PM, Thorsten Glaser <t...@mirbsd.de> wrote:
> Dixi quod…
>
>>Alexander Monakov dixit:
>>
>>>First of all, I think option -malign-data=abi (new in GCC 5) addresses your
>>>need: it can be used to reduce the default (excessive) alignment to just the
>>>psABI-dictated value (you can play with this at https://gcc.godbolt.org even 
>>>if
>>
>>Ah, nice!
>
> … except -malign-data=abi is, apparently, cris-only.
>

'-malign-data=TYPE'
     Control how GCC aligns variables.  Supported values for TYPE are
     'compat' uses increased alignment value compatible uses GCC 4.8 and
     earlier, 'abi' uses alignment value as specified by the psABI, and
     'cacheline' uses increased alignment value to match the cache line
     size.  'compat' is the default.

is supported by x86.

-- 
H.J.

Reply via email to