This is the mail archive of the gcc-bugs@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]

[Bug fortran/60956] error reading (and writing) large text files in gfortran


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60956

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #1)
> The attached test executes without error when compiled with 4.3.1 (~232s),
> but fails with all the revisions I have tried starting at 4.5 (no exhaustive
> tests). From pr44292: "gfortran currently fails if the RECL= is larger than
> 2 GB", so the failure seems expected.

I recall pr44292.  I never got a reply so I could not test the patch. I would
highly suggest using unformatted IO for these large data sets. Saves space and
runs faster, clearly.

Its been a while so I don't know if I can find that old patch. Breaking ABI is
also an issue, needing some discussion with the gfortran team.


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