> But shouldn't we formally define "define" first? :) Note that I wrote "more or less formally". The definition of "volatile" in the ISO C standard falls into this category and I'd personally trust it more than whatever -fno-speculative-store option.
See gcc/gthr-posix.h for a proper use of "volatile" for a shared access. -- Eric Botcazou