7aee7828de
2017-12-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> Dominique d'Humieres <dominiq@lps.ens.fr> Backport from trunk PR libgfortran/83191 * io/transfer.c (list_formatted_read_scalar): Do not set namelist_mode bit here. (namelist_read): Likewise. (data_transfer_init): Clear the mode bit here. (finalize_transfer): Do set the mode bit just before any calls to namelist_read or namelist_write. It can now be referred to in complex_write. * io/write.c (write_complex): Suppress the leading blanks when namelist_mode bit is not set to 1. * gfortran.dg/namelist_95.f90: New test. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r255368 |
||
---|---|---|
.. | ||
close.c | ||
fbuf.c | ||
fbuf.h | ||
file_pos.c | ||
format.c | ||
format.h | ||
inquire.c | ||
intrinsics.c | ||
io.h | ||
list_read.c | ||
lock.c | ||
open.c | ||
read.c | ||
size_from_kind.c | ||
transfer128.c | ||
transfer.c | ||
unit.c | ||
unix.c | ||
unix.h | ||
write_float.def | ||
write.c |