This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/17992] [4.0 only] reading empty line does not return 0
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Apr 2005 08:01:06 -0000
- Subject: [Bug libfortran/17992] [4.0 only] reading empty line does not return 0
- References: <20041014070923.17992.milan@cmm.ki.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-11 08:01 -------
Can you try with a later build and tell us what your exact source and output is?
$ cat psfres.dat
$ cat pr17992.f
integer n,m
open(unit=8,file='psfres.dat',status='unknown')
read(8,'(/2i2)')n,m
write(*,*)n,m
end
$ gfortran -v
Using built-in specs.
Target: i386-linux
Configured with: ../gcc/configure --prefix=/tmp/gfortran-20050411/irun
--enable-languages=c,f95 --host=i386-linux
Thread model: posix
gcc version 4.1.0 20050411 (experimental)
$ gfortran pr17992.f && ./a.out
0 0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17992