Jerry DeLisle wrote:
Regression tested on x86-64.  Test case attached with patch.
OK for trunk?

Looks good to me. Thanks for the patch.

Tobias

2014-05-24  Tobias Burnus  <bur...@net-b.de>

        PR fortran/55117
        * trans-io.c (nml_full_name, transfer_namelist_element): Insert
        a '+' rather then '%' to differentiate namelist variable names
        that are based on extended derived types.
        
2014-05-24  Jerry DeLisle  <jvdeli...@gcc.gnu.org>

        PR libgfortran/55117
        * io/list_read.c (extended_look_ahead): New helper function to
        scan the namelist name and look for matches with the new '+'
        extended type parent indicator.  (str_comp_extended): New
        helper function to compare the namelist name with the varname
        namelist. (find_nml_name): Use the new helper functions to match
        the extended type varnames.

Reply via email to