From patchwork Fri Sep 23 08:43:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Torbjorn SVENSSON X-Patchwork-Id: 1401 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp108488wrt; Fri, 23 Sep 2022 01:45:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5F8AYkFTNotYCTRkFstKLR7UXWHMBLYXuUOKNp3Mdqv7yPKioSsA0V3fOrAEIqDCYKfTfC X-Received: by 2002:a17:907:320b:b0:780:280:7b72 with SMTP id xg11-20020a170907320b00b0078002807b72mr6361518ejb.146.1663922735048; Fri, 23 Sep 2022 01:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663922735; cv=none; d=google.com; s=arc-20160816; b=r5c8uJyLYg1/w3aTl+HtENCFxRoTeF6+vS4XX9wvmHZUgGveSpAFdymmwnqKIeXaPK +dvexKQB0NUF39lVe3o+c8eGdJ2rdArgzd8Vr++pHUalwO/wWMOqXt5KEqBcbJZcmLU/ oeKK53A0R7tD1RTWl4j4nrp1NU4SY+Ag6pOhuNdnBFh7LpZImI8/YQz/wvET9rEenABA l0lqHbKWZHR1EdMsi8zkEqO1zsRyEEbiLKtyIRXuztF9U3NeoiHdqgnF54TUWpRMC0Dl cKHn4xytUzCohANSqmCGKLGEDmk6iihtVXEbq8Nx+pGiVq6sPNGKWozNzwE9lBd3Oubx 5uNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=EXQrt1y5Ng6En+/frLV9+kp8id3mn/xBGkYWrMZM9rQ=; b=j8FMoT7QlKtVT9d+lPXODCqB5p0zhbu6Sr73ksuvVVGvAY3QYvQLrEO9Vsp6hltkc0 QCFqVQVetBOmOqI0RftMciXDtEfqBheX932UvS7iirulSXuwpbQF3Imyn4hKxuF06lBY gAlxzj7VUe93zx3GcYMSP6Ggy0SGiVYHvfd89q3R8Am1dLfx/fj2UqBOMki2NUA48NAX NoCYL0Gd+hovoGu8hOO6DrOLhZdmcVMa7duZfCFZbVhgEieq2WhdTHr7ogWNKPO5UGpW b7TVLLZ0SwnkaFkBzGHgYHf1w8ndXaxeJErQQRiPkyYSMxcVaQ6vgzTqkoPjh0x968wn UR8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="x/tpyy+m"; 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=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id b10-20020a0564021f0a00b00456b732e382si819459edb.76.2022.09.23.01.45.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 01:45:35 -0700 (PDT) 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=@gcc.gnu.org header.s=default header.b="x/tpyy+m"; 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=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0B5B73856DCD for ; Fri, 23 Sep 2022 08:44:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B5B73856DCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663922681; bh=EXQrt1y5Ng6En+/frLV9+kp8id3mn/xBGkYWrMZM9rQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=x/tpyy+mCstjvqhl0sEhYCmOMT/YDSB/MN0wwhJAbMACWWVyntDIpF1lA154rLfkb U8zKqTwD3X16DKlpQ5FelQVvnim+PMj5OfmZC96lLcJTdtxeHPrq1DbNov36Vzv5u1 ol9ss/tQb/n4rUYp1FQj6hL7YkMXGh5MHDB0UN0s= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by sourceware.org (Postfix) with ESMTPS id 9A75F3858034 for ; Fri, 23 Sep 2022 08:43:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A75F3858034 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28N4P2B7008132; Fri, 23 Sep 2022 10:43:54 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jrkmx7tpw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Sep 2022 10:43:54 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2812F10002A; Fri, 23 Sep 2022 10:43:52 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 05275217B7C; Fri, 23 Sep 2022 10:43:52 +0200 (CEST) Received: from jkgcxl0002.jkg.st.com (10.75.127.47) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 10:43:50 +0200 To: Subject: [PATCH] [testsuite][arm] Fix cmse-15.c expected output Date: Fri, 23 Sep 2022 10:43:31 +0200 Message-ID: <20220923084330.4131742-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-23_02,2022-09-22_02,2022-06-22_01 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON_via_Gcc-patches?= From: Torbjorn SVENSSON Reply-To: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= Cc: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1744749445729390361?= X-GMAIL-MSGID: =?utf-8?q?1744749445729390361?= The cmse-15.c testcase fails at -Os because ICF means that we generate secure3: b secure1 which is OK, but does not match the currently expected secure3: ... bx r[0-3] gcc/testsuite/ChangeLog: * gcc.target/arm/cmse/cmse-15.c: Align with -Os improvements. Co-Authored-By: Yvan ROUX Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/cmse/cmse-15.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c b/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c index b0fefe561a1..5188f1d697f 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c +++ b/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c @@ -144,6 +144,8 @@ int secure2 (s_bar_ptr s_bar_p) ** bx r[0-3] ** | ** blx r[0-3] +** | +** b secure1 ** ) ** ... */