[Bug libfortran/33863] New: backspace error on i386-pc-mingw32

dir at lanl dot gov gcc-bugzilla@gcc.gnu.org
Mon Oct 22 18:59:00 GMT 2007


When I compile and run this program under MSYS, I get a read error. The program
reads and prints the input file and then backspaces the file to read it again.
This program fails on MSYS. Works on the Macintosh and everywhere else that I
have tried it.


$ gfortran -o main main.f

rantad@XP-RANTAD ~/junk
$ main <t33 >out1
At line 20 of file main.f (unit = 5, file = 'stdin')
Fortran runtime error: Bad value during integer read

rantad@XP-RANTAD ~/junk
$ gfortran --v
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran --with-gmp=/home/FX/local --with-ld=/mingw/bin/ld
--with-as=/mingw/bin/as --disable-werror --enable-bootstrap --enable-threads
--disable-nls --build=i386-pc-mingw32 --enable-libgomp --disable-shared
Thread model: win32
gcc version 4.3.0 20070905 (experimental) [trunk revision 128128] (GCC) 

rantad@XP-RANTAD ~/junk


-- 
           Summary: backspace error on i386-pc-mingw32
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dir at lanl dot gov
  GCC host triplet: i386-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33863



More information about the Gcc-bugs mailing list