libgfortran/io/io.h defines the "struct st_parameter_open" with GFC_INTEGER_4 recl_in;
However, the Fortran 95/2003/2008 standard allows any kind of integer expression and not only the default type. As http://gcc.gnu.org/ml/fortran/2010-05/msg00302.html shows, gfortran currently fails if the RECL= is larger than 2 GB. Expected: The size is increased to GFC_INTEGER_8 to allow large-record access. See also http://gcc.gnu.org/wiki/LibgfortranAbiCleanup -- Summary: [libgfortran ABI breakage] Increase internal size of RECL= of the OPEN statement Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44292