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 libfortran/20930] [4.0 Regression] gfortran.dg/backspace.f execution test


------- 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


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