https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- See also https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/29e406ed.c6291.1541803dcf9.Coremail.lh_mouse%40126.com/ . Mingw thread support is always lacking behind because there are not enough developers doing development there so ....