This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/29936] New: Missed constraint on RECL=specifier in unformatted sequential WRITE
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2006 06:12:09 -0000
- Subject: [Bug libfortran/29936] New: Missed constraint on RECL=specifier in unformatted sequential WRITE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following example should give an EOR error.
program record
integer, parameter :: reclength = 10
real, dimension(reclength) :: array
integer :: x = 0
open(unit=10, file="testfile", form="unformatted", access="sequential",
recl=10)
array = 2.0
write(10) array, 1
close(10)
end program record
--
Summary: Missed constraint on RECL=specifier in unformatted
sequential WRITE
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: jvdelisle at gcc dot gnu dot org
ReportedBy: jvdelisle at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29936