https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883
--- Comment #43 from nightstrike <nightstrike at gmail dot com> --- Jon, I was referring to your Comment 9: The failing test is only intended to check that libstdc++ is consistent about using the uglified attributes. Anything outside libstdc++ can do whatever it wants. Apparently I misunderstood that. In any event, the mingw headers use __declspec, defined for instance here: https://msdn.microsoft.com/en-us/library/dabb5z75.aspx There is no __noreturn__ version there. I'll poke (the other) Jon about it, though. Maybe there's a way to make it work.