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: Implement C11 _Atomic


On Thu, 21 Nov 2013, Andrew MacLeod wrote:

> > I'm trying to avoid ABI breakage of course.  I'd rather not have
> > to ask people not to use _Atomic with 4.9 for CRIS ports using
> > official releases or have ABI breakage with the next release.
> > Maybe there's one other port in the same situation...
> 
> None I am aware of, but that doesn't mean much :-)

It has been suggested that hppa may have interesting issues for atomics - 
but I'd think atomics support for it in GCC would mainly be for GNU/Linux, 
where you have kernel helpers that may avoid the issues with the 
underlying architecture.

Note that if you want libstdc++ atomics to be ABI compatible with C 
atomics then there may be more work to do on that side (again, there are 
pieces on the branch).

-- 
Joseph S. Myers
joseph@codesourcery.com


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