From patchwork Tue Sep 18 19:56:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 184822 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 D60E62C0091 for ; Wed, 19 Sep 2012 05:57:25 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1348603046; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version: To:Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=vX7tJxP0mX1NiWRZYAjQtIfekmk=; b=iiHqud9Q4ioOO6K O5kGaFFW/M79upgHtyZt/fJZqlQwn6FeZKf2/QDG4lni3XHtne9IE8ENkgMyKQHs iJa62MI+3q+xWj4/fLq0hivgRLf95cPPiO7BFBPDScfbeTdfDRIA9AtPkFiIXFji N2QpmRfdt51W8oDp0DE9LToYEtsM= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=KdVdeuTbLd6ZG1WoKFAHoVQWZT2Yt5iWjvGoyyJ7p/P31QP24lKAW4WzafpU5k 2ukwmwDe2sIBn7tTe/Kcq0mAX8Rxzamb/kaVb8IvpYC6dEb/Ga8Gwf9RygUDcnvX 1IwUsNboQL60XVaDH0wR/B5gSjiuEFBEiT+KIjkjRhgbg=; Received: (qmail 22179 invoked by alias); 18 Sep 2012 19:57:22 -0000 Received: (qmail 22161 invoked by uid 22791); 18 Sep 2012 19:57:21 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Sep 2012 19:57:09 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TE3uu-0005rV-V2 from Janis_Johnson@mentor.com for gcc-patches@gcc.gnu.org; Tue, 18 Sep 2012 12:57:08 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 18 Sep 2012 12:57:08 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Tue, 18 Sep 2012 12:57:08 -0700 Message-ID: <5058D208.9000403@mentor.com> Date: Tue, 18 Sep 2012 12:56:56 -0700 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [testsuite] vect/fast-math-pr35982: skip check instead of xfail 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 Test gcc.dg/vect/fast-math-pr35982.c uses xfail in a dg-final check when it should instead skip the check for that effective target. Tested on arm-none-eabi for a variety of test multilibs, checked in on trunk as obvious. I'll backport to 4.6 when the branch is open. Janis 2012-09-18 Janis Johnson * gcc.dg/vect/fast-math-pr35982.c: Skip check instead of xfail. Index: gcc.dg/vect/fast-math-pr35982.c =================================================================== --- gcc.dg/vect/fast-math-pr35982.c (revision 191440) +++ gcc.dg/vect/fast-math-pr35982.c (working copy) @@ -21,5 +21,5 @@ } /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_extract_even_odd || vect_strided2 } } } } */ -/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { xfail { vect_extract_even_odd || vect_strided2 } } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target { ! { vect_extract_even_odd || vect_strided2 } } } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */