https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89249
--- Comment #6 from Liviu Ionescu <ilg at livius dot net> --- I upgraded my mingw to 5.0.4 and I can no longer reproduce the problem, so I suggest we close this ticket for now and reopen if necessary.