From: Rainer Orth Date: Mon, 24 Jan 2011 12:21:14 +0000 (+0000) Subject: cray_pointers_2.f90: Avoid cycling through optimization options. X-Git-Tag: releases/gcc-4.5.3~279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c0cf3604ffa9e2628195095aed6b473bf21fb2;p=thirdparty%2Fgcc.git cray_pointers_2.f90: Avoid cycling through optimization options. * gfortran.dg/cray_pointers_2.f90: Avoid cycling through optimization options. From-SVN: r169158 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f22cc246d477..4537858751c5 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 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