gcc/libgfortran
Jerry DeLisle 7aee7828de backport: re PR fortran/83191 (Writing a namelist with repeated complex numbers)
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
2017-12-03 20:43:59 +00:00
..
caf check.c (positive_check): Add new function checking constant for being greater then zero. 2017-03-05 12:35:47 +01:00
config
generated backport: re PR fortran/80975 (matmul for zero-length arrays) 2017-06-06 22:23:07 +00:00
ieee
intrinsics backport: re PR libfortran/82233 (execute_command_line causes program to stop when command fails (or does not exist)) 2017-10-19 17:49:24 +00:00
io backport: re PR fortran/83191 (Writing a namelist with repeated complex numbers) 2017-12-03 20:43:59 +00:00
m4 backport: re PR fortran/80975 (matmul for zero-length arrays) 2017-06-06 22:23:07 +00:00
runtime Don't assume __secure_getenv is available 2017-05-19 16:25:21 +03:00
acinclude.m4
aclocal.m4
c99_protos.h re PR fortran/79305 (real128 - undefined reference to cexpl) 2017-01-31 18:50:31 +00:00
ChangeLog backport: re PR fortran/83191 (Writing a namelist with repeated complex numbers) 2017-12-03 20:43:59 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
config.h.in
configure
configure.ac
configure.host
gfortran.map
kinds-override.h
libgfortran.h Don't assume __secure_getenv is available 2017-05-19 16:25:21 +03:00
libgfortran.spec.in
libtool-version
Makefile.am
Makefile.in backport: re PR fortran/80975 (matmul for zero-length arrays) 2017-06-06 22:23:07 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh