http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #35 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-10 11:37:08 UTC --- For config/posix it is not that easy, because you can't assume that atomics are available. You'd need to guard it with #ifdef HAVE_SYNC_BUILTINS and do something else (nothing?) otherwise. Those targets don't support tsan anyway...