https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127
--- Comment #13 from Rainer Emrich <rai...@emrich-ebersheim.de> --- The proposed patch indeed fixes the issue on x86_64-w64-mingw32, libgfortran builds again. The results of a complete testsuite run can be found here: https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg01881.html Comparing the fortran results to an earlier run yields: 1704,1707c1727,1729 < # of expected passes 43782 < # of unexpected failures 266 < # of expected failures 89 < # of unresolved testcases 1 --- > # of expected passes 44069 > # of unexpected failures 267 > # of expected failures 92 IMHO that's fine.