This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45129] I/O edit descriptors: Warn if the format field is too small for the E and F edit descriptor


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]