[Bug fortran/45129] I/O edit descriptors: Warn if the format field is too small for the E and F edit descriptor
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 15 08:55:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45129
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-15 08:55:00 UTC ---
(In reply to comment #4)
> The question is whether the warning should be only printed if the problem
> definitely occurs or only if it likely
[...]
> In this case, ifort prints with "-stand f03":
> The field width is too small for the number of fractional digits.
ifort 12.0 changed the warning to a remark (printed by default):
remark #8291: Recommended relationship between field width 'W' and the number
of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
1000 FORMAT(e10.4)
remark #8290: Recommended relationship between field width 'W' and the number
of fractional digits 'D' in this edit descriptor is 'W>=D+3'.
22 Format (F2.2)
More information about the Gcc-bugs
mailing list