Red Hat Bugzilla – Bug 176843
'End of record' error with gfortran
Last modified: 2007-11-30 17:11:20 EST
The following testcase produces an "end of record" error at runtime.
It is extracted from a long program which was used with the Digital compiler
under Tru64 Unix without any problems. For the test below gfortran version
4.0.2-8 was used.
$ cat ugm.f
ANSWER='mc run 1'
$ gfortran ugm.f -o ugm
At line 12 of file ugm.f
Fortran runtime error: End of record
As workaround it is possible to insert the following line at line 11:
This works just fine in rawhide gcc-gfortran-4.1.0-0.12.