From patchwork Wed Feb 22 17:57:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 731253 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vT4nt5zmDz9s7g for ; Thu, 23 Feb 2017 04:57:22 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Pu5Kw+zI"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:references:to:from:date:mime-version:in-reply-to :content-type:content-transfer-encoding:message-id; q=dns; s= default; b=OBd46aEQ0WcKK23QvaFApQLkL5fC7Z2C5ZdL3PUzuqga11UbpHlkW dO/cuc1x261BIqXJBkEVzEWNIpFw9rkXA5AIo/qJasNR4JtHIZuS/1XrsvpyyXA4 2wDtbt4WcHR1Fox8vgV9alLtSMVvCah/saMRmGN5juQGlTOafhAhEE= 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 :subject:references:to:from:date:mime-version:in-reply-to :content-type:content-transfer-encoding:message-id; s=default; bh=3KfmE03xf2VEgC1i8kgxNUJvRDQ=; b=Pu5Kw+zIceNG2Lufoz97TZ0YwZml uHRapt913wK21Z1cahadCChVilQrZOH3shiONYfh5+H7BwM2sXCOsdB7MCmcrvSx gvk9AyERZSqsHvsw8cGKwD4+Ug3F+twn+4wuHA3NwdTtXiQmfGGrx90S+qYi5Tyo /uoUUbg4vsFCmK8= Received: (qmail 130549 invoked by alias); 22 Feb 2017 17:57:13 -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 130534 invoked by uid 89); 22 Feb 2017 17:57:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=U*wschmidt, sk:wschmid, wschmidtlinuxvnetibmcom, wschmidt@linux.vnet.ibm.com X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Feb 2017 17:57:12 +0000 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v1MHs5bW142265 for ; Wed, 22 Feb 2017 12:57:11 -0500 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0a-001b2d01.pphosted.com with ESMTP id 28sb1nxedp-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 22 Feb 2017 12:57:10 -0500 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Feb 2017 10:57:10 -0700 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 22 Feb 2017 10:57:08 -0700 Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 41DF61FF0029; Wed, 22 Feb 2017 10:56:45 -0700 (MST) Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v1MHv7JQ16646616; Wed, 22 Feb 2017 10:57:07 -0700 Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC2A16E040; Wed, 22 Feb 2017 10:57:07 -0700 (MST) Received: from bigmac.rchland.ibm.com (unknown [9.10.86.122]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP id 868B86E03F; Wed, 22 Feb 2017 10:57:07 -0700 (MST) Subject: Fwd: [PATCH] Fix PR68644 References: <49ea678c-a211-1296-4609-0e754765c729@linux.vnet.ibm.com> To: GCC Patches , Richard Biener From: Bill Schmidt X-Forwarded-Message-Id: <49ea678c-a211-1296-4609-0e754765c729@linux.vnet.ibm.com> Date: Wed, 22 Feb 2017 11:57:07 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <49ea678c-a211-1296-4609-0e754765c729@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17022217-8235-0000-0000-00000B072BAA X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006664; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000204; SDB=6.00825593; UDB=6.00404257; IPR=6.00603048; BA=6.00005166; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014395; XFM=3.00000011; UTC=2017-02-22 17:57:09 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17022217-8236-0000-0000-000039D0F066 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-02-22_11:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702220164 X-IsSubscribed: yes ENOPATCH. Trying again... Hi, As discussed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644, the test case gcc.dg/tree-ssa/ivopts-lt-2.c does not apply to POWER targets, as the cost model properly shows the pre-increment approach to be preferable and results in ideal code generation. Thus, adding powerpc*-*-* to the list of targets to skip for this test. Verified on powerpc64le-unknown-linux-gnu. Is this ok for trunk? Thanks, Bill 2017-02-22 Bill Schmidt PR tree-optimization/68644 * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip for powerpc*-*-*. Index: gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt-2.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt-2.c (revision 245653) +++ gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt-2.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ivopts" } */ -/* { dg-skip-if "PR68644" { hppa*-*-* } { "*" } { "" } } */ +/* { dg-skip-if "PR68644" { hppa*-*-* powerpc*-*-* } { "*" } { "" } } */ void f1 (int *p, unsigned int i)