------- Comment #1 from kargl at gcc dot gnu dot org 2009-07-21 00:01 ------- What's the output to 'gfortran -v'?
Since you said it's a 2 GB file size problem, I modified your program to nrp = huge(nrp) / 60 open(1, file = 'tst.dat') do i = 1, nrp+1 write(1, '(6i10)') (i, k=1,6) end do close(1) end gfc4x -o z -O big.f90 ./z produces -rw-r--r-- 1 sgk sgk - 2183275095 Jul 20 16:55 tst.dat The last 10 lines are troutmask:sgk[223] tail tst.dat 35791386 35791386 35791386 35791386 35791386 35791386 35791387 35791387 35791387 35791387 35791387 35791387 35791388 35791388 35791388 35791388 35791388 35791388 35791389 35791389 35791389 35791389 35791389 35791389 35791390 35791390 35791390 35791390 35791390 35791390 35791391 35791391 35791391 35791391 35791391 35791391 35791392 35791392 35791392 35791392 35791392 35791392 35791393 35791393 35791393 35791393 35791393 35791393 35791394 35791394 35791394 35791394 35791394 35791394 35791395 35791395 35791395 35791395 35791395 35791395 This is on x86_64-*-freebsd. Looks like it might be a MingW or Cywin issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40812