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 fortran/13238] New: [gfortran] read(X,*) segfault on unformatted input unit


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


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