[Bug fortran/13238] New: [gfortran] read(X,*) segfault on unformatted input unit

melvin dot hadasht at free dot fr gcc-bugzilla@gcc.gnu.org
Sun Nov 30 04:37:00 GMT 2003


read(X, *) on a unit opened with form='unformatted' will trigger a segfault.
Expected behaviour is an error message at compile or at runtime. 

A write(X, *) succeeds. Expected behaviour is also an error message at compile
or at runtime.

Attached is a test case for the segfault at reading.

-- 
           Summary: [gfortran] read(X,*) segfault on unformatted input unit
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: melvin dot hadasht at free dot fr
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13238



More information about the Gcc-bugs mailing list