------- Comment #9 from kargl at gcc dot gnu dot org 2009-04-23 02:52 ------- (In reply to comment #8) > 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? >
Conforming to the Standard is always good. I vote for -std=legacy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38439