https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037
niXman <i.nixman at autistici dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i.nixman at autistici dot org --- Comment #4 from niXman <i.nixman at autistici dot org> --- I don't think it is mingw/windows related. can't the example be checked using thread sanitizer?