This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Optimisation prevents overflow?
Brooks Moses ha scritto:
It should be documented in the main GCC manual. (The GFortran manual only
documents the options specific to the Fortran front end, and this is a
global GCC option.)
Silly me. I'm a bit tired tonight
What version of GFortran are you using, and what platform, again? This
does seem like a bug of some sort.
I thought "gfortran -v" was enough, sorry. I am using the Debian binary
package version 4.2-20070712-1.
Also: What optimization options are you using? You copied the wrong
command line in your original post, and didn't include those. :)
$ gfortran -O2 fk.f -o fk
Told you I'm tired tonight :-)
Davide