RFC: Fix gfortran.dg/do_3.F90

FX Coudert fxcoudert@gmail.com
Tue Oct 9 21:55:00 GMT 2007


Hi all,

It's about time to fix gfortran.dg/do_3.F90. I don't know why I  
haven't thought about it earlier: the testcase relies on wrapping, so  
we should simply give it -fwrapv. Anyone objects or has another idea?

FX


Index: gcc/testsuite/gfortran.dg/do_3.F90
===================================================================
--- gcc/testsuite/gfortran.dg/do_3.F90  (revision 129032)
+++ gcc/testsuite/gfortran.dg/do_3.F90  (working copy)
@@ -1,5 +1,5 @@
! { dg-do run }
-! { dg-options "-std=legacy -ffree-line-length-none -fno-range-check" }
+! { dg-options "-std=legacy -ffree-line-length-none -fno-range-check  
-fwrapv" }
program test
    integer :: count
    integer :: i



More information about the Fortran mailing list