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]

Re: [testsuite, fortran] Increase gfortran.dg/cray_pointers_2.f90 timeout


Rainer Orth wrote:
I've found a way, but it isn't pretty:

Anyway, it works, tested by the appropriate runtest invocation on
i386-pc-solaris2.11.

Ok for mainline and branches?

OK. (I agree that it is ugly.)


Tobias

2011-01-14 Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>

	* gfortran.dg/cray_pointers_2.f90: Avoid cycling through
	optimization options.

diff -r 6c184227ca86 gcc/testsuite/gfortran.dg/cray_pointers_2.f90
--- a/gcc/testsuite/gfortran.dg/cray_pointers_2.f90	Fri Jan 14 10:25:46 2011 +0100
+++ b/gcc/testsuite/gfortran.dg/cray_pointers_2.f90	Fri Jan 14 18:42:56 2011 +0100
@@ -1,5 +1,7 @@
-! { dg-do run }
-! { dg-options "-fcray-pointer -fbounds-check -fno-inline" }
+! Using two spaces between dg-do and run is a hack to keep gfortran-dg-runtest
+! from cycling through optimization options for this expensive test.
+! { dg-do  run }
+! { dg-options "-O3 -fcray-pointer -fbounds-check -fno-inline" }
  ! { dg-timeout-factor 4 }
  !
  ! Series of routines for testing a Cray pointer implementation


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