Re: [patch, fortran] PR80333 Namelist dtio write of array of class does not traverse the array

2017-05-19 Thread Jerry DeLisle
On 05/18/2017 07:06 PM, Steve Kargl wrote: On Thu, May 18, 2017 at 05:16:45PM -0700, Jerry DeLisle wrote: 2017-05-18 Paul Thomas 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. (trans

Re: [patch, fortran] PR80333 Namelist dtio write of array of class does not traverse the array

2017-05-18 Thread Steve Kargl
On Thu, May 18, 2017 at 05:16:45PM -0700, Jerry DeLisle wrote: > > 2017-05-18 Paul Thomas > > 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 spe

[patch, fortran] PR80333 Namelist dtio write of array of class does not traverse the array

2017-05-18 Thread Jerry DeLisle
Hello, With some important help from Paul regarding how to access the class data and array specs, we have the attached patch. This fixes both READ and WRITE of arrays of class/type objects. The namelist routines are updated to set the array specifications correctly in the frontend so that t