This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
RFC: Fix gfortran.dg/do_3.F90
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Date: Tue, 9 Oct 2007 22:55:17 +0100
- Subject: RFC: Fix gfortran.dg/do_3.F90
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; bh=Dji3VcERTdJhBMdWeMDAgtupgk+REKCnccw61d7YuAI=; b=brwb0kJ/qJLUo2HZaUDdKQY5jv5vF/vLmsHuPHBSM04Y+f7Lb1jIFrjE/waDXXD24Sqf0A/L+GoKDxFJm+N7RYrA/3iz8XIZtXrZzE0fbzZC6xmjzsxzK5Oqtj9p9C0l7MxlnNXHvpWqn6V8IWLqpaEN0eRNpffHyMk3IT0FSvg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=BZHkcwbTf48r6C2qCd+13rzYDck1bQ0UgaAeGIcNv9ySIGnQScPebERqAP5QF+pbV8d+hjU0msXYUSXToCLZhAA6XfCZ6g5tG9Rxm4NOfoLX2dwmLInNtpzFfzOp7MG0UlZtHJ0Pp9SvjSwkFxITqAZ/d5lWHK1r1A2FM/gHZQA=
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