On Fri, Nov 22, 2013 at 12:34 PM, Jakub Jelinek <ja...@redhat.com> wrote: > On Fri, Nov 22, 2013 at 12:21:32PM +0100, Richard Biener wrote: >> On Thu, Nov 21, 2013 at 11:46 PM, Andrew MacLeod <amacl...@redhat.com> wrote: >> > Its adds a target hook which can be used to override the default alignment >> > of an atomic type when used with C11's _Atomic qualifier. There are a >> > couple >> > of ports which have stricter alignment requirements for an atomic operation >> > than the natural alignment of the integral type. Today they are just >> > broken with no real facility to repair it. > > How do i?86 _Atomic long long and _Atomic long double work btw? > At least when they are inside of structures, they have 4 byte alignment.
On powerpc similar funny things happen (for double for example). Richard. > Jakub