[Bug libstdc++/125659] [16/17 Regression] ThreadSanitizer reports a false-positive data race for code synchronized with std::atomic::wait

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 15 12:21:22 GMT 2026


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There is some quite old documentation about needing to build the library
internals with race detectors enabled here:
https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html#debug.races


More information about the Gcc-bugs mailing list