This bug occurs on Sparc Linux and HP-PA Linux, but not i686 or x86_64. I believe it is generic to big endian processors.
When I compile and run the program listed below I get the message: At line 5 of file z.f90 (unit = 32, file = 'fort.32') Fortran runtime error: Invalid argument PROGRAM test OPEN(UNIT=32,FILE="fort.32",STATUS="NEW",ACCESS="SEQUENTIAL",FORM="UNFORMATTED") READ(32,END=100) 100 CONTINUE WRITE (32) END PROGRAM test -- Summary: Fortran runtime error: Invalid argument Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michael dot a dot richmond at nasa dot gov GCC build triplet: sparc-unknown-linux-gnu GCC host triplet: sparc-unknown-linux-gnu GCC target triplet: sparc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40714