This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13238] [gfortran] read(X,*) segfault on unformatted input unit
- From: "melvin dot hadasht at free dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2003 04:46:30 -0000
- Subject: [Bug fortran/13238] [gfortran] read(X,*) segfault on unformatted input unit
- References: <20031130043749.13238.melvin.hadasht@free.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From melvin dot hadasht at free dot fr 2003-11-30 04:46 -------
Created an attachment (id=5240)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5240&action=view)
patch to fix the incomplete read/write operation type checking
It looks like libgfortran/io/transfer.c has an incomplete checking in
data_transfer_init(). The patch should fix it, but please bear in mind that I'm
not familiar with gcc code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13238