This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40714] New: Fortran runtime error: Invalid argument
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2009 20:47:36 -0000
- Subject: [Bug fortran/40714] New: Fortran runtime error: Invalid argument
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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