From patchwork Wed Aug 28 07:39:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 270379 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D1CFF2C00B7 for ; Wed, 28 Aug 2013 17:39:10 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=CwhVqSlCPLne7XZAXp3T7IZTmLTeCtP4ilc3HKMq/vDjYnw5i9Ro9 UCC7AtnVhqnSv+RBpJ/C7GWFaAP8y3Adisfu+Q8zMYiMV1FgBvHv4LrIH5INBvXu 0SKMvenMHsaJ+uCnIcMwTmeFgY2wsFNQQNRoS31toBPIioQH0MqDh8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=yl/r1zOTN5M5BpaB9vT5txB1W+E=; b=lB7zxl/TBBkTuSRvhs1l L77UY+OPxAJMxqPBKepBt6Kgd2KoTP7TTZwIkiq0QFYPQ0V4YOeAJly3LvyS4Kw/ zwMpMAnuA+9E4kF+lhH8SL9AiDPSvCUv3evzeBlybPBm/yE0sDgQ4v5EL5Ta2lWf +aFcvu3Ghs+eD1ZBI9ehoVs= Received: (qmail 4954 invoked by alias); 28 Aug 2013 07:39:03 -0000 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 Received: (qmail 4937 invoked by uid 89); 28 Aug 2013 07:39:03 -0000 Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Aug 2013 07:39:03 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RDNS_NONE autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 05C6AA531D for ; Wed, 28 Aug 2013 09:39:01 +0200 (CEST) Date: Wed, 28 Aug 2013 09:39:00 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix gcc.dg/vect/pr56933.c runtime Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Using check_vect (). Tested on x86_64-unknown-linux-gnu, applied. Richard. 2013-08-28 Richard Biener PR tree-optimization/56933 * gcc.dg/vect/pr56933.c: Properly guard runtime with check_vect (). Index: gcc/testsuite/gcc.dg/vect/pr56933.c =================================================================== --- gcc/testsuite/gcc.dg/vect/pr56933.c (revision 202019) +++ gcc/testsuite/gcc.dg/vect/pr56933.c (working copy) @@ -1,4 +1,7 @@ /* { dg-do run } */ +/* { dg-require-effective-target vect_double } */ + +#include "tree-vect.h" extern void abort (void); void __attribute__((noinline,noclone)) @@ -17,6 +20,9 @@ int main() { double b[1024], d[2*1024], f[1024]; int i; + + check_vect (); + for (i = 0; i < 2*1024; i++) d[i] = 1.; foo (b, d, f);