To support legacy codes, GNU Fortran allows width to be omitted from format specifications if and only if -fdec-format-defaults is given on the command line. Default widths will be used. This is considered non-conforming code and is discouraged.
REAL :: value1 INTEGER :: value2 WRITE(*,10) value1, value1, value2 10 FORMAT ('F, G, I')
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/Default-widths-for-F_002c-G-and-I-format-descriptors.html