http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51798
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-26 15:25:11 UTC --- (In reply to comment #13) > If libstdc++-v3 does not consistently use its own atomicity.h everywhere, then > it is even more broken. calm down, a few places in libstdc++ use __sync_compare_and_swap directly because there is no CAS in atomicity.h