From f3ee6ca644ada2577b1895c7edd6d87daea528fe Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 24 Jan 2011 12:22:46 +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: r169159 --- 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 4962b5538ea7..f67a8f3e8968 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-21 Rainer Orth * g++.dg/other/anon5.C: Skip on mips-sgi-irix*. diff --git a/gcc/testsuite/gfortran.dg/cray_pointers_2.f90 b/gcc/testsuite/gfortran.dg/cray_pointers_2.f90 index cbebad6addfd..049b08c02f05 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" } +! 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" } ! { dg-timeout-factor 4 } ! Series of routines for testing a Cray pointer implementation program craytest -- 2.47.2