From: Rainer Orth Date: Mon, 24 Jan 2011 09:35:13 +0000 (+0000) Subject: cray_pointers_2.f90: Avoid cycling through optimization options. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=467b72a8ddd89fa02b8030e9d9e209068f57eb5e;p=gcc.git cray_pointers_2.f90: Avoid cycling through optimization options. * gfortran.dg/cray_pointers_2.f90: Avoid cycling through optimization options. From-SVN: r169155 --- 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