I/O library and testing
FX Coudert
Francois-Xavier.Coudert@lcp.u-psud.fr
Sun Feb 27 15:21:00 GMT 2005
Hi all,
I can read the following in libgfortran/io/write.c (around line 405):
switch (ft)
{
[...]
case FMT_E:
case FMT_D:
[...]
if (ft = FMT_E)
expchar = 'E';
else
expchar = 'D';
break;
I can only assume that "if (ft = FMT_E)" should really be "if (ft ==
FMT_E)", but that raises two questions: why doesn't it issue a warning
when building the libgfortran, and what is the extent of the testing for
the I/O library (I'm having a close look at it these latter days, to fix
a few PR).
While the first question is somewhat anecdotical, the answer to the
second I'd r
Thanks,
FX
More information about the Fortran
mailing list