2017-05-19 Paul Thomas <pault@gcc.gnu.org>
commit0a0ee506ca0a777c804d999d96459844a17ce453
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 May 2017 15:48:35 +0000 (19 15:48 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 May 2017 15:48:35 +0000 (19 15:48 +0000)
tree908bf66366979aea047bb5cdb52160fd2e75d187
parent85e093dce4729be9dfb05a1d1e6647955c435a9e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248293 138bc75d-0d04-0410-961f-82ee72b054a4
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