------- Comment #8 from jvdelisle at gcc dot gnu dot org 2009-04-23 01:51 ------- Getting back to this. We have a problem of choices here. In format statements such as: WRITE (*,'(1PD24.15E4)') 1.0d0
Currently gfortran allows an extension of an optional comma separating format specifiers. This results in the format string above being seen as: '(1PD24.15,E4)' The error message given in the original post is from the missing period after the E4. We could choose to allow the optional comma only with -std=legacy and then these misleading situations would not occur. I am leaning in favour of this more restrictive approach. Any opinions? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38439