This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/20930] [4.0 Regression] gfortran.dg/backspace.f execution test
- From: "dje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Apr 2005 19:10:34 -0000
- Subject: [Bug libfortran/20930] [4.0 Regression] gfortran.dg/backspace.f execution test
- References: <20050410163247.20930.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dje at gcc dot gnu dot org 2005-04-25 19:10 -------
The problem (on AIX) appears to be related to reaching the end of file.
Specifically,
nr=0
20 continue
read (3,end=30,err=90) n, (x(n),n=1,10)
nr=nr+1
goto 30
30 continue
counts the number of records. When EOF is encountered, succeeding reads do
not operate correctly. I suspect something is not being reset correctly in
the I/O subsystem.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|hppa*-*-hpux* |hppa*-*-hpux*. powerpc-ibm-
| |aix*
GCC host triplet|hppa*-*-hpux* |hppa*-*-hpux*, powerpc-ibm-
| |aix*
GCC target triplet|hppa*-*-hpux* |hppa*-*-hpux*, powerpc-ibm-
| |aix*
Last reconfirmed|0000-00-00 00:00:00 |2005-04-25 19:10:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20930