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]

RFC: Fix gfortran.dg/do_3.F90


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



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