This is the mail archive of the
mailing list for the GCC project.
Re: Optimization of conditional access to globals: thread-unsafe?
On 26 Oct 2007 15:20:01 -0700, Ian Lance Taylor <firstname.lastname@example.org> wrote:
> It appears that the draft C++0x memory model prohibits speculative
> Therefore I now think we should aim toward prohibiting them
> unconditionally. That memory model is just a draft. But I think we
> should implement it unconditionally when it exists.
In case anyone who's interested hasn't seen it, the draft memory model
is accompanied by N2338, "Concurrency memory model compiler