compilation fail on intentional overflow

Tobias Burnus burnus@net-b.de
Fri Nov 10 18:15:00 GMT 2006


Mike Zingale schrieb:
> Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1)
>
> As I mentioned before, I believe that this code is relying on this
> overflow to initialize the seeds.
> Is this a gfortran issue or is this a violation of the F90 standard?
It is invalid Fortran 95/2005 (cf. PR29147,fixed).
But you can disable the check for overflow by using: -fno-range-check

Tobias



More information about the Fortran mailing list