------- Comment #8 from aph at gcc dot gnu dot org 2006-06-13 12:52 ------- Note that this patch has some problems. In particular, it doesn't work with BC-compiled code. Also, on x86 it doesn't insert memory barrier instructions, but this is arguably a bug in __sync_synchronize() rather than a problem with this patch.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1305