On 06/03/2014 12:53 PM, Yao Qi wrote: > On 05/30/2014 11:57 PM, Pedro Alves wrote: >> +int >> +main (void) >> +{ >> + /* Assume writes to integers compile to a single instruction. */ > > This assumption is wrong on arm at least. Ah, thanks. We need to replace then with asm("nop") then. -- Pedro Alves