On Thu, 2008-08-21 at 23:37 +1000, Nick Piggin wrote:Right, asm volatile () means that the asm may not be discarted. Very different from the volatile type qualifier. Not sure - I think all barrier clobber the full register and memory set. So if you access a variable after a barrier it will have to issue a load. Are we talking about different things? Well, there is of course the third option, which is what Jeff claims, that gcc is broken. But in that case we should have more problems elsewhere too. --
