[multiple changes]
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 19 May 2017 15:48:35 +0000 (15:48 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 19 May 2017 15:48:35 +0000 (15:48 +0000)
commit51cd6b78eedaefec65059f7a8cbca1f2b9bf4878
tree908bf66366979aea047bb5cdb52160fd2e75d187
parent33f8c0a14da482bc7884e5f663615a3d7fd08cff
[multiple changes]

2017-05-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80333
* trans-io.c (nml_get_addr_expr): If we are dealing with class
type data set tmp tree to get that address.
(transfer_namelist_element): Set the array spec to point to the
the class data.

2017-05-19  Paul Thomas  <pault@gcc.gnu.org>
    Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/80333
* list_read.c (nml_read_obj): Compute pointer into class/type
arrays from the nl->dim information. Update it for each iteration
of the loop for the given object.

2017-05-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/80333
* gfortran.dg/dtio_30.f03: New test.

From-SVN: r248293
gcc/fortran/ChangeLog
gcc/fortran/trans-io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_30.f03 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/list_read.c