https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121496
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > The change wich caused the differnce is r14-905-g3b7cb33033fbe6 . That change can be reverted now, because https://github.com/llvm/llvm-project/pull/75713 added tsan interceptors for pthread_mutex_clocklock. We should still fix the inconsistent #if / #ifdef though.