This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
I/O library and testing
- From: FX Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- To: GCC Fortran mailing list <fortran at gcc dot gnu dot org>
- Date: Sun, 27 Feb 2005 16:20:56 +0100
- Subject: I/O library and testing
- Organization: Laboratoire de Chimie Physique
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