This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/60956] error reading (and writing) large text files in gfortran
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 May 2014 01:07:15 +0000
- Subject: [Bug fortran/60956] error reading (and writing) large text files in gfortran
- Auto-submitted: auto-generated
- References: <bug-60956-4 at http dot gcc dot gnu dot org/bugzilla/>
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.