https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022
--- Comment #32 from nightstrike <nightstrike at gmail dot com> --- (In reply to anlauf from comment #31) > (In reply to nightstrike from comment #30) > > (In reply to GCC Commits from comment #29) > > > * gfortran.dg/pr111022.f90: New test. > > > > This new test fails of x64 mingw. > > Can you be more specific? Sure, it exits with STOP 2, which is the following: write(buffer,"(EN0.3E0)") 6.660_4 if (buffer.ne."6.660E+0") stop 2 I modified that as: write(buffer,"(EN0.3E0)") 6.660_4 if (buffer.ne."6.660E+0") then print *, buffer stop 2 end if And now it prints: 6.660 STOP 2 So I guess it's losing the E+0 from the string?