[Bug sanitizer/78158] Strange data race detection with thread sanitizer

dvyukov at google dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 20 15:47:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158

--- Comment #5 from Dmitry Vyukov <dvyukov at google dot com> ---
I may be missing something, but can't we just always emit calls into tsan
runtime under tsan? They accept the memory order value and can work with
constants and  runtime values.


More information about the Gcc-bugs mailing list