[Bug fortran/94411] New: E0.d not supported

longb at cray dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 30 19:49:43 GMT 2020


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

            Bug ID: 94411
           Summary: E0.d not supported
           Product: gcc
           Version: 9.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: longb at cray dot com
  Target Milestone: ---

We have a customer who complained that the Fortran 2018 feature for
allowing w=0 in E-like format descriptors is not working with
gfortran version 9.2.  I pointed them to the table at
https://gcc.gnu.org/wiki/Fortran2018Status and that the entry for
"d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors" was
marked "No" They pointed out that the other two compilers they
commonly use (Cray and Intel) both support this feature.  So, I'm
submitting their "bug", but changing it to a RFE. With the hope that
their input might help influence the priority given for this feature.

Example test program:



      program test
              real(8) :: r
              r = atan(1.0)
              r = r * 65536
              write (*,'(e0.6)') r
      end program test


More information about the Gcc-bugs mailing list