[Bug libfortran/90374] Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors for output

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 16 02:36:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374

--- Comment #20 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
While working on this I found another issue:

program test
  implicit none
  real(8) :: rn
  character(32) :: afmt, aresult
  rn = 0.000000000000000314e8_8
  write (*,fmt="(E0.8e0, a3)") rn, "<<<"
end

$ gfc c10.f90 
$ ./a.out 
At line 6 of file c10.f90 (unit = 6, file = 'stdout')
Fortran runtime error: Expected REAL for item 2 in formatted transfer, got
CHARACTER
(E0.8e0, a3)

This is a more serious error since I am parsing wrong here.
     ^


More information about the Gcc-bugs mailing list