cray_pointers_2.f90: Avoid cycling through optimization options.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 24 Jan 2011 09:35:13 +0000 (09:35 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 24 Jan 2011 09:35:13 +0000 (09:35 +0000)
* gfortran.dg/cray_pointers_2.f90: Avoid cycling through
optimization options.

From-SVN: r169155

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/cray_pointers_2.f90

index e21f02bf641431c44784ce8ccc0ed56d9ee97360..dee1ef73e90968409969650087c6c65fccae20af 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gfortran.dg/cray_pointers_2.f90: Avoid cycling through
+       optimization options.
+
 2011-01-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * gfortran.dg/array_constructor_33.f90: Use dg-timeout-factor 4.
index bbbfda27a0e711567496655f8f41bb8fbd2a18c0..82ce2915982209adaef5b8a5e077546ba547e1c2 100644 (file)
@@ -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