------- Additional Comments From Thomas dot Koenig at online dot de 2005-01-04
22:20 -------
Even shorter testcase:
$ cat fio.f
open(7)
write (7,'(F12.5)') 1.0, 2.0, 3.0
rewind(7)
read(7,'(F15.5)') a,b
print *,a,b
if (abs(a-1.0) .gt. 1e-5) call abort
if (abs(b-2.0) .gt. 1e-5) call abort
end
$ gfortran fio.f && ./a.out
1.000000 3.000000
$ gfortran -dumpmachine
i686-pc-linux-gnu
Aborted
$ gfortran -v
Using built-in specs.
Configured with: ../gcc/configure --prefix=/home/ig25
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050103 (experimental)
Here's what should happen:
$ g77 fio.f && ./a.out
1. 2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18398