From patchwork Fri Aug 20 21:33:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 62320 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 96223B70DD for ; Sat, 21 Aug 2010 07:33:50 +1000 (EST) Received: (qmail 21832 invoked by alias); 20 Aug 2010 21:33:48 -0000 Received: (qmail 21790 invoked by uid 22791); 20 Aug 2010 21:33:47 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g1t0027.austin.hp.com (HELO g1t0027.austin.hp.com) (15.216.28.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Aug 2010 21:33:07 +0000 Received: from g1t0039.austin.hp.com (g1t0039.austin.hp.com [16.236.32.45]) by g1t0027.austin.hp.com (Postfix) with ESMTP id B8D46380CF for ; Fri, 20 Aug 2010 21:33:05 +0000 (UTC) Received: from lucas.cup.hp.com (lucas.cup.hp.com [15.244.97.116]) by g1t0039.austin.hp.com (Postfix) with ESMTP id 7974F3400D for ; Fri, 20 Aug 2010 21:33:05 +0000 (UTC) Received: (from sje@localhost) by lucas.cup.hp.com (8.11.1 (PHNE_35485)/8.11.1) id o7KLX4E09618 for gcc-patches@gcc.gnu.org; Fri, 20 Aug 2010 14:33:04 -0700 (PDT) Date: Fri, 20 Aug 2010 14:33:04 -0700 (PDT) From: Steve Ellcey Message-Id: <201008202133.o7KLX4E09618@lucas.cup.hp.com> To: gcc-patches@gcc.gnu.org Subject: [patch, testsuite] Fix gfortran.dg/vect/fast-math-pr38968.f90 timeout. Reply-to: sje@cup.hp.com Mime-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On some slow (or overloaded) IA64 machines that I use this test still times out even with the increased timeout factor. Since the loops aren't vectorized on IA64 (or SPARC) I was wondering if it would make sense to just skip this test on those platforms instead of running it and then having an xfail on the vectorization check. This would avoid having to increase the dg-timeout on the test even more. If the platform isn't vectorizing it is not clear to me that the test has any value anyway. Tested on IA64 (now shows as UNSUPPORTED) and on X86 (still passes). OK for checkin? Steve Ellcey sje@cup.hp.com 2010-08-20 Steve Ellcey * gfortran.dg/vect/fast-math-pr38969.f90: Skip if not vectorizing. Index: gfortran.dg/vect/fast-math-pr38968.f90 =================================================================== --- gfortran.dg/vect/fast-math-pr38968.f90 (revision 163393) +++ gfortran.dg/vect/fast-math-pr38968.f90 (working copy) @@ -1,4 +1,5 @@ ! { dg-timeout-factor 4.0 } +! { dg-skip-if "" { ia64-*-* sparc*-*-* } { "*" } { "" } } program mymatmul implicit none integer, parameter :: kp = 4 @@ -18,5 +19,5 @@ program mymatmul end program mymatmul -! { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail { ia64-*-* sparc*-*-* } } } } +! { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } ! { dg-final { cleanup-tree-dump "vect" } }