This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/29936] New: Missed constraint on RECL=specifier in unformatted sequential WRITE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]