https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037
--- Comment #5 from niXman <i.nixman at autistici dot org> --- (In reply to niXman from comment #4) > I don't think it is mingw/windows related. > can't the example be checked using thread sanitizer? ... on Linux.