OK. I don't really understand why you are seeing code like that generated. I think it's worthy of investigation. In particular, I'd expect C1 to be using explicit fence instructions and C2 to be using ldar and stlr. Andrew.