From 467b72a8ddd89fa02b8030e9d9e209068f57eb5e Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 24 Jan 2011 09:35:13 +0000 Subject: [PATCH] cray_pointers_2.f90: Avoid cycling through optimization options. * gfortran.dg/cray_pointers_2.f90: Avoid cycling through optimization options. From-SVN: r169155 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gfortran.dg/cray_pointers_2.f90 | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e21f02bf641..dee1ef73e90 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-01-24 Rainer Orth + + * gfortran.dg/cray_pointers_2.f90: Avoid cycling through + optimization options. + 2011-01-24 Rainer Orth * gfortran.dg/array_constructor_33.f90: Use dg-timeout-factor 4. diff --git a/gcc/testsuite/gfortran.dg/cray_pointers_2.f90 b/gcc/testsuite/gfortran.dg/cray_pointers_2.f90 index bbbfda27a0e..82ce2915982 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 -- 2.30.2