https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
--- Comment #7 from Roland Schulz <roland at rschulz dot eu> --- For me the problem isn't fixed with gcc 4.9.1. I tried two build a) http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download and b) http://nuwen.net/mingw.html. Did you use a special distribution or special flags if you compiled gcc yourself?