public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20257] New: Fortran runtime error: End of record occurs when writing large arrays
@ 2005-03-01  2:50 kamaraju at gmail dot com
  2005-03-01 13:59 ` [Bug libfortran/20257] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: kamaraju at gmail dot com @ 2005-03-01  2:50 UTC (permalink / raw)
  To: gcc-bugs

Consider the following test program (fortran 90)

program explore
 implicit none

 integer, parameter :: NX = 32, NR = 16, NPHI=2

 real :: input(0:NX-1, 0:NR-1, 0:NPHI-1)

 write(*,*) size(input)

 call random_number(input)
 write(*,*) input
end program explore


This program compiles fine. It executes fine. But when the output is redirected
to a file, it produces the following error.

$gfortran explore.f90
$./a.out > temp
At line 11 of file explore.f90
Fortran runtime error: End of record




system & build information:

$gfortran -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada--prefix=/usr/lib/gcc-snapshot
--enable-shared --with-system-zlib --enable-nls --enable-threads=posix
--without-included-gettext --disable-werror --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo --enable-checking=release
i486-linux-gnu
Thread model: posix
gcc version 4.1.0 20050227 (experimental)

$gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada
--prefix=/usr/lib/gcc-snapshot --enable-shared --with-system-zlib --enable-nls
--enable-threads=posix --without-included-gettext --disable-werror
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.0 20050227 (experimental)

$uname -a
Linux kusumanchi 2.6.9-1-686 #1 Thu Nov 25 03:48:29 EST 2004 i686 GNU/Linux

Other information:
  System is Debian unstable (sid).

-- 
           Summary: Fortran runtime error: End of record occurs when writing
                    large arrays
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kamaraju at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-04-29  5:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20257-10182@http.gcc.gnu.org/bugzilla/>
2006-01-25  7:30 ` [Bug libfortran/20257] Fortran runtime error: End of record occurs when writing large arrays jvdelisle at gcc dot gnu dot org
2006-01-25  9:32 ` fxcoudert at gcc dot gnu dot org
2006-04-15  7:15 ` jvdelisle at gcc dot gnu dot org
2006-04-20 23:20 ` patchapp at dberlin dot org
2006-04-23  2:05 ` jvdelisle at gcc dot gnu dot org
2006-04-29  4:27 ` jvdelisle at gcc dot gnu dot org
2006-04-29  5:47 ` jvdelisle at gcc dot gnu dot org
2005-03-01  2:50 [Bug fortran/20257] New: " kamaraju at gmail dot com
2005-03-01 13:59 ` [Bug libfortran/20257] " pinskia at gcc dot gnu dot org
2005-03-02  9:35 ` coudert at clipper dot ens dot fr
2005-03-03 10:34 ` coudert at clipper dot ens dot fr
2005-03-03 13:08 ` coudert at clipper dot ens dot fr
2005-03-18  7:11 ` fxcoudert at gcc dot gnu dot org
2005-09-25 20:29 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).