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/13919] [gfortran] Runtime 'internal error' in IO on i686-pc-linux-gnu only


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


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