RFC: Fix gfortran.dg/do_3.F90

Dominique Dhumieres dominiq@lps.ens.fr
Wed Oct 10 06:29:00 GMT 2007


> so we should simply give it -fwrapv.

The other choice is -fno-strict-overflow, both options allow the
test to pass.  I am not sure to fully understand the difference
between the two (even after having RTFM!-), but I buy 

> the testcase relies on wrapping,

so -fwrapv seems to make the appropriate link.

Dominique



More information about the Fortran mailing list