[patch, update] PR25289 Large file IO
Jerry DeLisle
jvdelisle@verizon.net
Sun Jul 23 07:19:00 GMT 2006
:REVIEWMAIL:
The attached patch is an update incorporating FX comments.
Bootstrapped and regression tested.
This patch defines a new type GFC_LARGE_IO_INT and uses that to define rec in
st_parameter_dt. off_t is preserved as is for the definition of gfc_offset.
OK for trunk?
Regards,
Jerry
2006-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/25289
* gfortran.h: Declare gfc_large_io_int_kind.
* trans-types.c (gfc_init_kinds): Set gfc_large_io_int_kind
to size 8 or 4.
* trans-io.c (enum iofield_type): Add large_io_int type.
(gfc_build_st_parameter): Same.
(gfc_build_io_library_fndecls): Same.
* ioparm_def: Use large_io_int to define rec.
2006-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25289
* libgfortran.h: Add conditional definition of GFC_LARGE_IO_INT type.
* io/io.h (st_parameter_dt): Define rec as type GFC_LARGE_IO_INT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr25289-7.diff
Type: text/x-patch
Size: 5150 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060723/deee7e6a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: direct_io_6.f90
Type: text/x-fortran
Size: 800 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060723/deee7e6a/attachment-0001.bin>
More information about the Fortran
mailing list