Ian, It seems clobber memory would be the best solution to my problem. Thank you, -- View this message in context: http://www.nabble.com/Question-about-flushing-registers-to-memory-in-locks-tp25613161p25614880.html Sent from the gcc - Help mailing list archive at Nabble.com.