This is target specific: program bug double precision x x=7.0 print *, x end
gfortran.exe bug.f $ ./a.exe ****************** This acts like field width is being miscalculated in output_float. It works fine with Cygwin binary. -- Summary: Formatted write of float broken (mingw32) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jvdelisle at gcc dot gnu dot org GCC host triplet: i686-pc-mingw32 GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34712