https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68458
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- On Cygwin gfortran 4.9.3 works well for me. I ran updates on Cygwin, bumping each gcc package to 5.2 including libgfortran which is listed seprately in another category. After doing this, gfortran 5.2.0 also ran OK. My guess is your libgfortran is out of sync.