This patch should fix the issue with __sync_lock_release(): http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00198.html
The __sync_synchronize() is not fixed by this— another patch should follow soon.
This patch should fix the issue with __sync_ lock_release( ): http:// gcc.gnu. org/ml/ gcc-patches/ 2009-12/ msg00198. html
The __sync_ synchronize( ) is not fixed by this— another patch should follow soon.