https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883
--- Comment #44 from Jonathan Wakely <redi at gcc dot gnu.org> --- Or my view on what our tests should do have "evolved" (i.e. completely contradicted my old view!) If mingw says that isn't a valid program or simply can't support it for valid reasons, then the right thing to do is mark the test xfail or patch it to not define noreturn on mingw. Which is what we did for darwin. Presumably you are able to run the testsuite on mingw (something I never managed to do) so if you can test a patch and propose it that would be great.