This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/13919] [gfortran] Runtime 'internal error' in IO on i686-pc-linux-gnu only
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 16:04:11 -0000
- Subject: [Bug libfortran/13919] [gfortran] Runtime 'internal error' in IO on i686-pc-linux-gnu only
- References: <20040129111728.13919.Mart.Rentmeester@sci.kun.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-02-03 16:04 -------
Confirmed on i686-pc-linux-gnu.
Here's a slightly reduced version with hardcoded input filename.
Runs fine with g77, but crashes with gfortran.
If the input file is empty one gets a segfault instead of the error message.
======================================
program foo
integer i
open(78,file='data.txt')
1 continue
read(78,*,end=2) i
write(6,*) i
goto 1
2 continue
close(78)
end
======================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-02-03 16:04:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13919