http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50976
--- Comment #12 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2011-11-03 21:05:37 UTC --- It could well be a mingw-w64 problem (there are two separate projects mingw and mingw-w64 - http://mingw-w64.sourceforge.net/ you want the latter). I remember sometimes having trouble compiling minw-w64 on a 32-bit system. I've had bad code issues not compile issues though. You might check on that site if they have a bug tracker and/or a list that could help. I use mingw-w64 through cygwin and I know they are not that close to the bleeding edge on gcc. I think they're on gcc-4.5.1 or so. Finally, http://www.equation.com/servlet/equation.cmd?fa=fortran could be using mingw-w64 but building gcc on their own. Check these guys too.