This patch should fix the __sync_synchronize() issue, by making sure GCC does not optimise away the call to the libgcc function which implements this: http://gcc.gnu.org/ml/gcc-patches/2009-08/msg00600.html
These should now be fixed on the GCC trunk and await backporting to the upstream 4.4 branch.
I've referenced the relevant GCC bugzilla entry from this bug.
This patch should fix the __sync_ synchronize( ) issue, by making sure GCC does not optimise away the call to the libgcc function which implements this: gcc.gnu. org/ml/ gcc-patches/ 2009-08/ msg00600. html
http://
These should now be fixed on the GCC trunk and await backporting to the upstream 4.4 branch.
I've referenced the relevant GCC bugzilla entry from this bug.