aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-01-24 09:35:13 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-01-24 09:35:13 +0000
commit467b72a8ddd89fa02b8030e9d9e209068f57eb5e (patch)
tree9c56eedecef4f5ce869e6a65b911bdd9b36a9144
parent742f95156717939d973ef91598561b624c461e03 (diff)
downloadgcc-467b72a8ddd89fa02b8030e9d9e209068f57eb5e.zip
gcc-467b72a8ddd89fa02b8030e9d9e209068f57eb5e.tar.gz
gcc-467b72a8ddd89fa02b8030e9d9e209068f57eb5e.tar.bz2
cray_pointers_2.f90: Avoid cycling through optimization options.
* gfortran.dg/cray_pointers_2.f90: Avoid cycling through optimization options. From-SVN: r169155
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/cray_pointers_2.f906
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e21f02b..dee1ef7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
PR testsuite/45988
diff --git a/gcc/testsuite/gfortran.dg/cray_pointers_2.f90 b/gcc/testsuite/gfortran.dg/cray_pointers_2.f90
index bbbfda2..82ce291 100644
--- a/gcc/testsuite/gfortran.dg/cray_pointers_2.f90
+++ b/gcc/testsuite/gfortran.dg/cray_pointers_2.f90
@@ -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