This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

RE: gfortran bugs


> Date: Mon, 7 Jan 2008 18:30:27 -0800
> From: jvdelisle@verizon.net
> ....
> ....
> You have indeed found a bug. It only occurs with the mingw32 binary. I
> confirmed this: Using built-in specs.
> Target: i686-pc-mingw32
> Configured with: ../gcc43/configure --prefix=/mingw --enable-languages=c,fortran
> --disable-nls --with-ld=/mingw/bin/ld --with-as=/mingw/bin/as --disable-werror
> --enable-bootstrap --build=i386-pc-mingw32 --disable-shared --build=i686-pc-mingw32
> Thread model: win32
> gcc version 4.3.0 20070813 (experimental)
>
> It works fine with the Cygwin build I have which is: gcc version 4.3.0 20071222
> (experimental) [trunk revision 127783] (GCC)
>>
>>

It works fine with mingw32 build, too. I tried the binaries, 32-bit and 64-bit. I have (snapshot 20080104). gfortran correctly output 7. (when x=7.0) and 1. (when x=1.0). I dump the screen text as follows:

[32-bit]
C:\TEMP\fortran>emacs bug.f90

C:\TEMP\fortran>gfortran -O2 bug.f90

C:\TEMP\fortran>a
  7.

C:\TEMP\fortran>emacs bug.f90

C:\TEMP\fortran>gfortran -O2 bug.f90

C:\TEMP\fortran>a
  1.

C:\TEMP\fortran>gfortran -v
Built by Equation Solution (http://www.Equation.com).
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../gcc-4.3-20080104-mingw/configure --host=i386-pc-mingw32 --build=x86_64-unknown-linux-gnu --target=i386-pc-mingw32 --prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gcc/4.3-20080104 --with-gcc --with-gnu-ld --with-gnu-as --disable-shared --disable-nls --disable-tls --with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gmp --with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/mpfr --enable-languages=c,c++,fortran --with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_32/gcc/4.3-20080104 --enable-threads=win32 --enable-libgomp --disable-win32-registry
Thread model: win32
gcc version 4.3.0 20080104 (experimental) (GCC)

C:\TEMP\fortran>



[64-bit]
C:\temp\fortran>emacs bug.f90

C:\temp\fortran>gfortran bug.f90

C:\temp\fortran>a
  7.

C:\temp\fortran>emacs bug.f90

C:\temp\fortran>gfortran bug.f90

C:\temp\fortran>a
  1.

C:\temp\fortran>gfortran -v
Built by Equation Solution (http://www.Equation.com).
Using built-in specs.
Target: x86_64-pc-mingw32
Configured with: ../gcc-4.3-20080104-mingw/configure --host=x86_64-pc-mingw32 --build=x86_64-unknown-linux-gnu --target=x86_64-pc-mingw32 --prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gcc/4.3-20080104 --with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gmp --with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/mpfr --with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_64/gcc/4.3-20080104 --with-gcc --with-gnu-ld --with-gnu-as --disable-shared --disable-nls --disable-tls --enable-languages=c,fortran --enable-libgomp --enable-threads=win32 --disable-win32-registry
Thread model: win32
gcc version 4.3.0 20080104 (experimental) (GCC)

C:\temp\fortran>





_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008


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