From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22560 invoked by alias); 25 Jan 2006 09:32:23 -0000 Received: (qmail 22546 invoked by uid 48); 25 Jan 2006 09:32:19 -0000 Date: Wed, 25 Jan 2006 09:32:00 -0000 Message-ID: <20060125093219.22545.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/20257] Fortran runtime error: End of record occurs when writing large arrays In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg02712.txt.bz2 List-Id: ------- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-01-25 09:32 ------- (In reply to comment #6) > I don't see this problem any more. Was this fixed? Is the default record > length an issue any more? Can we close this PR? I wonder if the fix to P25835 > fixed this? If so I propose we close this unless it is related to the new PR > Janne is working on, large records with little writes, 25949. As I said in comment #5, the limit was just pushed higher, but big writes on preconnected units still fail: $ gfortran a.f90 && ./a.out > bigfile At line 3 of file a.f90 Fortran runtime error: End of record $ cat a.f90 real :: array(100000000) array(:) = 0 write(*,*) array end $ ll bigfile -rw-r--r-- 1 coudert users 1.0G Jan 25 10:28 bigfile $ gfortran -v Using built-in specs. Target: i386-linux Configured with: ../gcc/configure --prefix=/tmp/gfortran-20060124/irun --enable-languages=c,fortran --host=i386-linux --with-gmp=/tmp/gfortran-20060124/gfortran_libs Thread model: posix gcc version 4.2.0 20060124 (experimental) You can look at the patch cited in comment #5 for where the problem lies. And this is not really related to Janne's PR, I guess. It's specific to preconnected units. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20257