This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Atomic alignment override.


On Fri, Nov 22, 2013 at 12:21:32PM +0100, Richard Biener wrote:
> On Thu, Nov 21, 2013 at 11:46 PM, Andrew MacLeod <amacleod@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.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]