This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, libgfortran] PR36895 Namelist writing to internal files


Jerry DeLisle wrote:
gfortran does not currently address character arrays in namelist I/O. At the time we were doing internal units, we did not think it was worth the effort. I would like to leave that as a future exercise. The place to do it is in this new function now and it requires porting the next record code over from next_record in io/transfer.c.
Exists there a PR for this? If not, could you fill one?

Regression tested on x86-64. OK for trunk. It is mostly obvious. I will include a simple test case.
OK. Thanks for the patch.

Tobias

2008-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>

    PR libfortran/36895
    * io/write.c (namelist_write_newline): New function to correctly mark
    next records in both external and internal units.
    (nml_write_obj): Use new function.
    (namelist_write: Use new function.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]