http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60128
Bug ID: 60128
Summary: Wrong ouput using en edit descriptor
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: walt.brainerd at gmail dot com
I think the output should be -444.44E-03
$ cat x.f90
write(*,"(en15.2)") -.44444
end
Walt@HP_Laptop /cygdrive/c/walt/Testing
$ gfortran -Wall x.f90
Walt@HP_Laptop /cygdrive/c/walt/Testing
$ ./a
-444.40E-03
Walt@HP_Laptop /cygdrive/c/walt/Testing
$ gfortran --version
GNU Fortran (rev5, Built by MinGW-W64 project) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.