From patchwork Fri Dec 9 15:39:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 704602 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 3tZxHw49bcz9sCX for ; Sat, 10 Dec 2016 02:39:55 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="NUJBawnY"; 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:to :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=default; b=Mm7Ap +pm4IlhNreY7GA0nAc2gOWudjSCfSP5kfapBsNy/xxTerjeVqR+vNVwsrLxmlzZd +ErYpuQ27cK4dD0XkqpYVemthslZHEvDtki6p/805/sSrL4hKxzbCpsUVV2L6MOv anZ7IWYoF3Wx8V4F6mWk3Ap9s72XUmvTtW4QVA= 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:to :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; s=default; bh=LPFtEiE0g3R XYQNSfoEPVPqkdDs=; b=NUJBawnYi+YJXicIFkSY+NUOy0LF69GLUwAxpbvOk39 Rdqke6DAXEk6FdcjqN0ksY5i4qrXmbzMLVFEyCP6xZX1B2VgGPX4PMe0cf23vqSU DPQKjrfM+W82SrUiVY3reFjuC1M2NYs8/47lfgdoE5aJM011ePQcEmbHqWdwEEms = Received: (qmail 46333 invoked by alias); 9 Dec 2016 15:39:38 -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 46255 invoked by uid 89); 9 Dec 2016 15:39:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_SEMBACKSCATTER autolearn=no version=3.3.2 spammy=H*MI:7f32, H*MI:d3e0 X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Dec 2016 15:39:36 +0000 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uB9Fcl4x018989 for ; Fri, 9 Dec 2016 10:39:34 -0500 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0b-001b2d01.pphosted.com with ESMTP id 277rtkpgnr-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 09 Dec 2016 10:39:34 -0500 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 Dec 2016 08:39:33 -0700 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e36.co.us.ibm.com (192.168.1.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 Dec 2016 08:39:30 -0700 Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id A5F981FF001E; Fri, 9 Dec 2016 08:39:08 -0700 (MST) Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uB9FdTwR10027476; Fri, 9 Dec 2016 08:39:29 -0700 Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BB5FA6A042; Fri, 9 Dec 2016 08:39:29 -0700 (MST) Received: from BigMac.local (unknown [9.80.220.149]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP id 3AF396A047; Fri, 9 Dec 2016 08:39:29 -0700 (MST) To: GCC Patches , Segher Boessenkool , David Edelsohn From: Bill Schmidt Subject: [PATCH, rs6000] Fix gcc.target/powerpc/pr78691-ppc.c Date: Fri, 9 Dec 2016 09:39:27 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16120915-0020-0000-0000-00000A79F153 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006221; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000196; SDB=6.00791541; UDB=6.00383453; IPR=6.00569276; BA=6.00004955; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013585; XFM=3.00000011; UTC=2016-12-09 15:39:31 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16120915-0021-0000-0000-000057F73F3F Message-Id: <2530234b-3446-d3e0-7f32-356c362f0a7b@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-12-09_09:, , 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-1609300000 definitions=main-1612090219 X-IsSubscribed: yes Hi, The fix for PR78691 added a new test case for 32-bit PowerPC. However, the test needs to be restricted to 32-bit targets to avoid a FAIL. This patch fixes that. Tested on powerpc64-unknown-linux-gnu. Ok for trunk? Thanks, Bill 2016-12-09 Bill Schmidt * gcc.target/powerpc/pr78691-ppc.c: Restrict test case to 32-bit targets. Index: gcc/testsuite/gcc.target/powerpc/pr78691-ppc.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/pr78691-ppc.c (revision 243488) +++ gcc/testsuite/gcc.target/powerpc/pr78691-ppc.c (working copy) @@ -1,4 +1,5 @@ /* PR tree-optimization/78691 */ +/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */ /* { dg-options "-Os -m32" } */ int *b;