This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/17992] [4.0 only] reading empty line does not return 0


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]