Message ID | d768bc05-07db-9bd3-eade-f264e81ae952@linux.ibm.com |
---|---|
State | Not Applicable |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp798585dyq; Sun, 7 Jan 2024 18:36:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCawVDu3wgs502yu5RWeY8XMfnuqJo/LpWOFbQ2Dl9xqQPM2+zn/axFihNTzQxD+g97GK/ X-Received: by 2002:a05:6214:20ca:b0:67f:c943:634d with SMTP id 10-20020a05621420ca00b0067fc943634dmr5000635qve.109.1704681377827; Sun, 07 Jan 2024 18:36:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704681377; cv=pass; d=google.com; s=arc-20160816; b=MPQ2OHzxMJMMHlBbnas/6I1HxEMdCEm3a9//EGct1PvvDePC6tqaUVS3iNCUWaaekm Q0qJci5R85qjvq0eAmzsOkryjIozzQQ9gAOuVflT5ee1L3XPr+kfbzjmwQxyNzv7EEwV 5szNub5++bJ4mcr2/QMsyxdmxNOgw5SAQ+LXjKAaeTGcOl5r9sbEcpJdIvc83wDLxhec JoamgkTdaEjEPyL9KxlXE/qM6r3IvBs6xqJvtTbvABG4BOOwQnU0SeStQ+mTxP1k7hvr qf4QtF1FKyAJY0oJD6jlsdQS5NmayG96wqHmMNsgOtpZKd3nlUj03eHNHp9vUKeXC82E Z71w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding:cc:to :subject:from:content-language:user-agent:mime-version:date :message-id:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=waHvwEOEmNU0c1vS1Tez0nky4GSZDIhK+K0/LTP2GIs=; fh=DpfKvok1woeaHPYTg45Iw3GGUjz63jYb2pNx4PU1890=; b=K3/JfKdp9L0kd121g2JNF4XnE/ks+yB2G2/5ZGQ5KVwd/U6GRtT4YnvHGe3Tn5bhEy I0onStNem3VMcRI6llAqKS4dnxT1PnVCLr8h05O4kU5ANFwzDCFGonwXYcglbv+bF+KF 69Ze9JZy4+O2YqOdF4batX4Hhw6zJyJ63Op/TMH9H4C6pD2gyuJCIElJ+HJd8qOJBS/U Fi7HpuK5gK7hR8/UmUxKg8u8QCy2usrnR+8ye//aKCf5GN8o3Cr+sDNVAyVzWjTnQBgg j1EOOOgQGKoAuFme725APw0qJrYV1yKt6eWvHyLmgSiaOEs8bxOqxSXXy1XShGYNpz3c loUw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=o2zZjtd1; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q14-20020a0c9a4e000000b0067f8dc03511si6848315qvd.80.2024.01.07.18.36.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 18:36:17 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=o2zZjtd1; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8500A3857B98 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 02:36:17 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id A01A23858CD1 for <gcc-patches@gcc.gnu.org>; Mon, 8 Jan 2024 02:35:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A01A23858CD1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A01A23858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704681332; cv=none; b=Dx3FdGgt7U7+rNpSiLTfUju2lAa8ie5X4QoLCb1mNjbqDKfjJEHkFjmbk77NxnFzZZn/4/oWlBdBazfRNuPphbfOk+r8ptKj0Qgaov876pFKdHsG9gIzawQv8XzmGMrJQkBgoEJaYVTuFxs6gFWAJI1C+NhtXU9RnZMSTFsV01E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704681332; c=relaxed/simple; bh=N/XwiB2fvAkfqtl1Df69D/GyqE3ZmOPsCC1sg1o/OR8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; b=o28rSjkjooAu9bm7GEI2GQk7CpiBsFYEhcyWdi0574kZ3ddQLW2kN+7cIl8b9/LGMq4SSfOMNS8j3UZ2UtYMwkQe4wTe3II17EAOyWfWGB4o7VLWjdCca6SL5kuq47F2Z1qFCGRqRsPS7EkM5k4ARrUyGf4C2+/vbubi38b2WY4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4082WBMr006395; Mon, 8 Jan 2024 02:35:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : from : subject : to : cc : content-type : content-transfer-encoding; s=pp1; bh=waHvwEOEmNU0c1vS1Tez0nky4GSZDIhK+K0/LTP2GIs=; b=o2zZjtd1DIwRCNhgaC/Je9fl1M3OTh0lcKSdAQWkx+z6t2UA938twa0qDCflAzPQYOdV sWnnnxDW50Wt0qa2f6H3hVKLWxd4olBvSx21+AuBC80MkRLR8JsQwoKc4H/z/+uZKOtQ ZlNUCEtQYVu8gjr+e6zmq2WB6pamfq/Apf6QkSirpj0+fTiMfksL4Yy7n/rbTFTDGYu5 EZF4v/3VpFba0YUyehgnN6F2UOufQcWRF6crmqoYbxiXhBZ9vzfJRKGlxIaUa5Lh5xJU unvP1VSifXhnR3fPNGpIM8yT0tcgISdZ0Xihg0tIwPJF21q/aruQLw2S/6bEY0P35Lhm RQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vfy0y8d14-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 02:35:29 +0000 Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4082UAg8008246; Mon, 8 Jan 2024 02:35:29 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vfy0y8d0x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 02:35:29 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 4080WYCb000401; Mon, 8 Jan 2024 02:35:28 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vfh6snqcg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 02:35:28 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4082ZQnm31326534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Jan 2024 02:35:26 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B725E20043; Mon, 8 Jan 2024 02:35:26 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3514620040; Mon, 8 Jan 2024 02:35:25 +0000 (GMT) Received: from [9.197.233.114] (unknown [9.197.233.114]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 8 Jan 2024 02:35:24 +0000 (GMT) Message-ID: <d768bc05-07db-9bd3-eade-f264e81ae952@linux.ibm.com> Date: Mon, 8 Jan 2024 10:35:23 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US From: "Kewen.Lin" <linkw@linux.ibm.com> Subject: [PATCH] testsuite, rs6000: Adjust pcrel-sibcall-1.c with noipa [PR112751] To: GCC Patches <gcc-patches@gcc.gnu.org> Cc: Peter Bergner <bergner@linux.ibm.com>, Segher Boessenkool <segher@kernel.crashing.org>, David Edelsohn <dje.gcc@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: zpez_Iuxfpd3NpZ6T10nBnl9IL90bz7L X-Proofpoint-GUID: OdfupY1AtmRbVaM6Wmw4elzfvXy-l252 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-07_15,2024-01-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 mlxlogscore=950 phishscore=0 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401080016 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787487980644583453 X-GMAIL-MSGID: 1787487980644583453 |
Series |
testsuite, rs6000: Adjust pcrel-sibcall-1.c with noipa [PR112751]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | fail | Git am fail log |
Commit Message
Kewen.Lin
Jan. 8, 2024, 2:35 a.m. UTC
Hi, As PR112751 shows, commit r14-5628 caused pcrel-sibcall-1.c to fail as it enables ipa-vrp which makes return values of functions {x,y,xx} as known and propagated. This patch is to adjust it with noipa to make it not fragile. Tested well on powerpc64-linux-gnu P8/P9 and powerpc64le-linux-gnu P9/P10. I'm going to push this soon. BR, Kewen ----- PR testsuite/112751 gcc/testsuite/ChangeLog: * gcc.target/powerpc/pcrel-sibcall-1.c: Replace noinline as noipa. --- gcc/testsuite/gcc.target/powerpc/pcrel-sibcall-1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.39.3
diff --git a/gcc/testsuite/gcc.target/powerpc/pcrel-sibcall-1.c b/gcc/testsuite/gcc.target/powerpc/pcrel-sibcall-1.c index 9197788f98f..1b6dffd6073 100644 --- a/gcc/testsuite/gcc.target/powerpc/pcrel-sibcall-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pcrel-sibcall-1.c @@ -8,10 +8,10 @@ generated when the caller preserves the TOC but the callee does not. */ #pragma GCC target ("cpu=power10,pcrel") -int x (void) __attribute__((noinline)); -int y (void) __attribute__((noinline)); -int xx (void) __attribute__((noinline)); - +int x (void) __attribute__((noipa)); +int y (void) __attribute__((noipa)); +int xx (void) __attribute__((noipa)); + int x (void) { return 1;