From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53275 invoked by alias); 21 Dec 2015 19:38:14 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 53263 invoked by uid 89); 21 Dec 2015 19:38:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=unpredictable, Hx-languages-length:1422, config-list.mk, UD:mk X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 21 Dec 2015 19:38:12 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 7E61A8CF43; Mon, 21 Dec 2015 19:38:11 +0000 (UTC) Received: from localhost.localdomain (ovpn-113-82.phx2.redhat.com [10.3.113.82]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tBLJcA2p019335; Mon, 21 Dec 2015 14:38:10 -0500 Subject: Re: [Patch testsuite] Skip gcc.dg/ifcvt-4.c for targets on which it may not work To: James Greenhalgh , gcc-patches@gcc.gnu.org References: <20151218095459.GA18260@arm.com> Cc: richard.earnshaw@arm.com, ramana.radhakrishnan@arm.com From: Jeff Law Message-ID: <56785522.1010108@redhat.com> Date: Mon, 21 Dec 2015 19:38:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151218095459.GA18260@arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg02001.txt.bz2 On 12/18/2015 02:55 AM, James Greenhalgh wrote: > This is a multi-part message in MIME format. > --------------2.2.0.1.gd394abb.dirty > Content-Type: text/plain; charset=UTF-8; format=fixed > Content-Transfer-Encoding: 8bit > > > Hi, > > PR68232 is a testsuite failure for targets with very low branch costs. > As the test is looking for if-conversion, it will fail for any subtarget > for which the cost of a branch is sufficiently low that if-conversion looks > more expensive. > > In the current implementation this will be any subtarget with an unpredictable > branch cost of 0 or 1. I had thought this would be very few targets, but > at least powerpc64le and arm can trigger this for particular tuning targets. > > This patch skips the test on those targets. > > OK? > > Thanks, > James > > --- > 2015-12-17 James Greenhalgh > > PR testsuite/68232 > * gcc.dg/ifcvt-4.c: Skip for arm*-*-* and powerpc64le*-*-*. OK. FWIW, I'd really like to see someone cleanly tweak config-list.mk so that we can use it to test this kind of stuff. In theory what I want to be able to do is build all the listed targets and run a single test on them so that we can build these skip/xfail lists much easier. I've done it a few times by hand and it seems like it's something we ought to be able to do much more easily. Jeff