Steve,
I confirmed that the patch...
http://gcc.gnu.org/ml/fortran/2005-11/msg00678.html
...worked fine a couple of days ago...
http://gcc.gnu.org/ml/fortran/2005-11/msg00702.html
The patch exposed the breakage in ftell and fgetc which
Jakub has since fixed.
Jack