On Wed, 12 Oct 2016, Joseph Myers wrote: > On Wed, 12 Oct 2016, Thomas Preudhomme wrote: > > > This patch is a follow up of [1] which aims to have all memory model related > > declarations in memmodel.h. To achieve that, this patch moves memory model > > related declaration from coretypes.h into memmodel.h. Note that since > > memmodel.h is now included from libgcc it needs to have a runtime library > > exception. > > I think libgcc should be using the __ATOMIC_* predefines instead of the > MEMMODEL_* host-side constants. (In general, we should be moving away > from including host-side headers in target-side code.)
Ah, if we have those then I agree. Richard.