https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #2 from Daniel Starke <daniel.f.starke at freenet dot de> --- True, I have rebuild GCC without --enable-tls enabled and the null pointer access is gone. So I guess there is still no TLS support for mingw-w64 (even though Windows supports it as far as I know).