http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215

--- Comment #5 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
> > But only if you re-compile stdlibc++ with tsan, 
> 
> It's libstdc++ not stdlibc++, I don't know why everyone gets that wrong :-)

Sorry (I usually get it right) :) 

> 
> Anyway, this is already documented:
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html#debug.races

I know that's confusing, but this has nothing to do with ThreadSanitizer v2,
which is being discussed in this bug. 
Those annotations are for ThreadSanitizer v1 which used binary translation
and did not understand atomics natively. (also for helgrind, etc).

Reply via email to