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: Optimisation prevents overflow?


$ gfortran -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --disable-werror --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 20070712 (prerelease) (Debian 4.2-20070712-1)
$ uname -a
Linux fisso 2.6.21-bootsplash #1 Sun Jun 3 11:15:39 CEST 2007 i686 GNU/Linux


...and yes, -ffloat-store fixes it. What does it do? I could not find documentation about it.

Davide

Brooks Moses ha scritto:
On Thu, Jul 19, 2007 at 11:05:06PM +0200, Davide Mancusi wrote:
Can anyone enlighten me on this one? Have a look at the following:

What version of GFortran are you using? What platform?


For one of many possible guesses: Does the problem still occur if you
use the -ffloat-store option?

- Brooks




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