This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]