------- Comment #3 from segher at kernel dot crashing dot org 2007-08-18 00:12 ------- (In reply to comment #1) > volatile != atomic.
And that is relevant why? Paul is perfectly aware of this, btw. There might be other reasons why GCC doesn't want to do this optimisation, but this isn't one of them. Please reopen, bugzilla won't allow me to do that myself. Segher -- segher at kernel dot crashing dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at kernel dot | |crashing dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33102