Message ID | 60a89113beb96fc0183c8ebc2a0dc8d6feb91478.1699025214.git.szabolcs.nagy@arm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp1124561vqu; Fri, 3 Nov 2023 08:37:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9xEAIStQaidv/UA0MtRz0JPLW8h8yT2iSWBVeZXvvI3Np1n/pmHtP2Z4+lAmgegq/Q88B X-Received: by 2002:ac8:5d8b:0:b0:41c:dd14:c32e with SMTP id d11-20020ac85d8b000000b0041cdd14c32emr27261851qtx.48.1699025860492; Fri, 03 Nov 2023 08:37:40 -0700 (PDT) ARC-Seal: i=4; a=rsa-sha256; t=1699025860; cv=pass; d=google.com; s=arc-20160816; b=sgGOcWYF0laJFDB9msL1OkUerGcMEsSNZ9NNBd0frbPBAxEmN38ZLGbsTXBGwuvBW2 FjnL8gXFaO0nEM4vhkQpkqHpPnjMD9nFYs2I6sWbUaDMuolTe33gZEjGPoW/60pL1lXD KmLViwSfOl8Goj3YKkd3GVZcbnyIugHhmh0aqoJuEDdYvmvheW9/5RX4m2xkLqwd/NxR VihSc1861Dt4ZRuO8KHQh/EGvVH99lOD/voWlS/ZZWEgK3a8vRkk8u34QS93czz3/epR ELBWzgadSx5NaEODn1dl+REIfsZpjmXxdIP2h2XOO9KYIPLsyBIlnDK2a1O/ClMdOLrr pD6Q== ARC-Message-Signature: i=4; 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:nodisclaimer :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=6y0HV0dbzGAwIDfMZz9lNDd7XUUwu/CbDWeQ/OB3loQ=; fh=gk9A5O7Gbglvz1MjrRQ4hZ2i3c68kYkpOZJg1emXh+g=; b=BiUW4lGUb+Mc76AsF+0AUPIn5jTKwHNLC/vo1UVeddb24peAbCpmBJrW1ZGrQhAR8+ 0D9zRTkLNcCZmtRbH7KRaABRHcY3HaICxkHb56lnF2eJDPP9Xr+4t5MtABFAxFkS73MS FA6VODzNncgkGQPBdIqYVUol/d1oqM3kN/ABcibUzGY8gHXCXT1k/cn/mhcgJlHPMoUp 3feEZ3hmrIeKju9fs/XRjKYYtMMej5GLvMVQSpmoXvXzHHLesqIzW7+0vTqHIEEsqwEW Ep9o/WdWnUAVX4ZpPBppPITolrZuXUDRpvJpgPEuEPXxX2gHjoZTX3DTx9/LhfZ9/3B1 leHw== ARC-Authentication-Results: i=4; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=IK6HCa75; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=IK6HCa75; arc=pass (i=3); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id g4-20020ac87f44000000b00419833c5b55si1745569qtk.143.2023.11.03.08.37.40 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 08:37:40 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=IK6HCa75; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=IK6HCa75; arc=pass (i=3); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0A8B238618C1 for <ouuuleilei@gmail.com>; Fri, 3 Nov 2023 15:37:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2077.outbound.protection.outlook.com [40.107.22.77]) by sourceware.org (Postfix) with ESMTPS id 26A133858CDB for <gcc-patches@gcc.gnu.org>; Fri, 3 Nov 2023 15:36:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 26A133858CDB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 26A133858CDB Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.77 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1699025807; cv=pass; b=QGMjaUSUm0KZLw6+NvRtqI0w3HC0WF0LH/nMpIH4QGmLAj58nvh552k47IoVKlRRiXCJR6rOjfzOX5QVG8ludtO5Zgkh9UhEg26APJpuExl4hn8KeOkn4TgVPEtVxkcRFtvdbs8nfUrAKHnwB+VbAma3Nma0zCOqTG1N0TT99gc= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1699025807; c=relaxed/simple; bh=HTArN6eBuQR4k4w3HP6EfCl5T/LOniibEudRe0K1rQU=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=DxiCngpRuFi3iWI9qMNxUyxGERBNoRiL4FI0441CF+seiwLl/j0fiLbqL3+cK787+0DZAiWAgPrqIZ53lN8JVija3VqPtsE8JJqqjK2MC61qvGvjUDTr9P3W3royfpZQ6TEE4VrXafVhYfhYz7ODAZha1CfW7299SkMi3ELT4ks= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=S05b3lih15RDfDVoxkYr1i28fz+bUo++eP+cVQy9ywEM7PUlaSO6LFlOpyMVBC4ijSSc8p9isBZDWkilFzK4zLtfwVUWo+hAnxhv1cfZBm2dY7ZYvL9vkiNOLo8M/xek0B18Ygw3RrfEdxE9iB9RjzSMHYBXXDb85DXOiuXne9oB51LZB5FqB1kbHyLdZJ7RPjO2zeVII0Wi9GUT/egZbGWZ5AllzvT7ViAHjc1JZimcY+LyOEUavNUeK2NCpqjPZCaG3RMoGswaC61nzrF4Z59a9gYpciOjJMKzG9a+XEKBYB9dGim6+5f2lc5/Hp/0Sae9q800yOV1IAnDhgV5JQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6y0HV0dbzGAwIDfMZz9lNDd7XUUwu/CbDWeQ/OB3loQ=; b=Yj+XpUN7YOjb6Kv6N++wHeKQ6p1P6XeKA1/G9klAMqSc5r5IiKhjqFznRr0HLnhkSeT/CyiLn2xXUVdIViXjf4dhzy9AxMnTqzqcIZ4LQOV2e0AQNFzwUoKCKPR5oyLPJbCZup03Ns7hyGDdwpWNmJaEyqYDnuQ/fqJSQILwxZcufOf0EP/xuderp4b0XfzE6ATOhUJo72sKQuiqxOCoC1xbE8dXoG1XBJFt5LxQp/FJDlKzaaIDOVciOzyNxwyL7cFHN0mOvYBzFlom1Ku/W1bu4PIwPb2mRLU7Z8uEKctjylqyp3a4eiTw7OzBV/p+DcoFQM0+7MdxaQiWyDLfNA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6y0HV0dbzGAwIDfMZz9lNDd7XUUwu/CbDWeQ/OB3loQ=; b=IK6HCa75m1MfLlwQPelc29Z6xw5PVuuUO7dxgLW4DbLvy6yRp43bF/yRi4VY4SQGdIVJr0mISgJO+r9Al1Z1c07Yxv61BpyvrB/60/u5N19zuJrtxhN6WMmoAhn4rb1j8DI8Hh8JZhIlXj8K89Pwfm8TSmWMJGcoqEwh2q93sy8= Received: from DUZPR01CA0137.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bc::10) by AM7PR08MB5528.eurprd08.prod.outlook.com (2603:10a6:20b:dd::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.20; Fri, 3 Nov 2023 15:36:34 +0000 Received: from DU6PEPF00009525.eurprd02.prod.outlook.com (2603:10a6:10:4bc:cafe::7c) by DUZPR01CA0137.outlook.office365.com (2603:10a6:10:4bc::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.22 via Frontend Transport; Fri, 3 Nov 2023 15:36:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU6PEPF00009525.mail.protection.outlook.com (10.167.8.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Fri, 3 Nov 2023 15:36:32 +0000 Received: ("Tessian outbound e243565b0037:v228"); Fri, 03 Nov 2023 15:36:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ef94f939fa3d0a76 X-CR-MTA-TID: 64aa7808 Received: from cb8ad73ceafa.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CE616410-8624-497B-91C3-F6B00989F11B.1; Fri, 03 Nov 2023 15:36:26 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cb8ad73ceafa.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 03 Nov 2023 15:36:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PcvKDE3LySXnEeF/3nzj3516vB78zQ/4oOb/vCa2heLzOWxxWYJjpFPR4Kgt20ad7gEkgnWPHbnLcjoOCRFnlh80s1NYB/lTH5eJk8efa2gpJrS0zgcfNaR0ZB1swBsrkizwePrbskEQntV+gthKIfDuvONNsUTJ/YqjIJgQtZcoKeglGLw0/fXE7kNdSE5sKShOd0deH2BoVd0UOaXUr+Rx/vLzGpoPw/osfLlwWkHfD/jA1TPGkdFCl2Z2OhMD2c2gjf+eBIjREfTnf0hS2F5Lw/muxzndSSwr+IWCX9E/qDK5OsGbED18kJVkB1H0H/KND9wfkiy2Mz58B7QAZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6y0HV0dbzGAwIDfMZz9lNDd7XUUwu/CbDWeQ/OB3loQ=; b=knbGhhdTPqGJ/5K+cNe52fJvGwb7yndBpajub+r3dfoIx0w9kWDigAVRglIZfFlFl+MGbeQyBQfZyE+GVM3fTCy0zaUeNEMH876FaiJwQhfs7sGJpE7rIplT2+SxI9n+oaGId9dzTWO850OfqgY07ksjAfEP1bB7GpHQk/mixPyb0dGt7e2yYLv5w3RIJWAGCscF7EDb1DVSHNsNNNRC3RIO4SN6mU7wttPwzTZC/7UlcyQ6QkSBqlH+HN+BZQjHFHg5UfGjV4Q15Pg54jvc1k2yoyCbdYdvFXieawiFvTCjEBz6UwGyZ6MiPn4oSgvIJ89jHGavAw/3LhM5tCtlHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6y0HV0dbzGAwIDfMZz9lNDd7XUUwu/CbDWeQ/OB3loQ=; b=IK6HCa75m1MfLlwQPelc29Z6xw5PVuuUO7dxgLW4DbLvy6yRp43bF/yRi4VY4SQGdIVJr0mISgJO+r9Al1Z1c07Yxv61BpyvrB/60/u5N19zuJrtxhN6WMmoAhn4rb1j8DI8Hh8JZhIlXj8K89Pwfm8TSmWMJGcoqEwh2q93sy8= Received: from AM4PR05CA0028.eurprd05.prod.outlook.com (2603:10a6:205::41) by VI0PR08MB10620.eurprd08.prod.outlook.com (2603:10a6:800:1b8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21; Fri, 3 Nov 2023 15:36:22 +0000 Received: from AMS0EPF000001B3.eurprd05.prod.outlook.com (2603:10a6:205:0:cafe::d7) by AM4PR05CA0028.outlook.office365.com (2603:10a6:205::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21 via Frontend Transport; Fri, 3 Nov 2023 15:36:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AMS0EPF000001B3.mail.protection.outlook.com (10.167.16.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6954.19 via Frontend Transport; Fri, 3 Nov 2023 15:36:22 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 3 Nov 2023 15:36:20 +0000 Received: from armchair.cambridge.arm.com (10.2.80.71) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Fri, 3 Nov 2023 15:36:20 +0000 From: Szabolcs Nagy <szabolcs.nagy@arm.com> To: <gcc-patches@gcc.gnu.org> Subject: [PATCH v2 3/7] aarch64: Add eh_return compile tests Date: Fri, 3 Nov 2023 15:36:20 +0000 Message-ID: <60a89113beb96fc0183c8ebc2a0dc8d6feb91478.1699025214.git.szabolcs.nagy@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1699025214.git.szabolcs.nagy@arm.com> References: <cover.1699025214.git.szabolcs.nagy@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AMS0EPF000001B3:EE_|VI0PR08MB10620:EE_|DU6PEPF00009525:EE_|AM7PR08MB5528:EE_ X-MS-Office365-Filtering-Correlation-Id: 37938eff-e0de-487a-eb84-08dbdc82a7cf x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 96nvzi3Wvep/MDGLT0aptEKHux2ASZXFNDmWWKscRfpRuhiQPjFlHrMknU6SZKSjFfUeTZGdkk0oz8LE3aX1UqeRDRpoRhzvK0kVtXFjQEskVdFkETEzqGcXuSvN/gzKQGgTfEfPKh0gHygN0FLlY+5sN+6cSwG1vxaHj55ce+ZIiPR7elkjXJoiOKWuuS9mMrilCNbi00jGnMVwMT9uyxJjT+NO9WUXX6MP6NtLojrtnyJYSG0g6j4sfO9n9AGkeDJepSFHJUdGVEiMVUxv2Eaxsa3SnE0roqsVyl6g0Nn9ToRCUUpNrHTXe05aJr5GfSsoTVt2g5g8FuhIoWoC0Cml4HbI6LJUEsBsRcIDErKKUkGr7M8oKjESYOlKmJVGEAUQAmsS6pNC8OhgWlwqNo/M4h7u6fEltojyOaf11zRZrVafEhzfRlPmWeNGcqka0M1TH1vN5tZtHS4hOrZxwyUlGYM1x7xVVluwJiWnwI1HTZDj4+PBRH1fXoncDmPLj6GIB89g2TFDTrtmKoxVpsge/W0n4U1u0sNHHEkgeSkFTNNOvq+ZNs4u1ohYfPPGjK9jsxJGIcb622p53swMbEb0XVCbmt52FoEbZVC8brKW4MP7mgcNP3LflU24laGlFpVDf7A+5Pn+7lX2oRoa5Kpm4h4vCgW4wzvck9ZEMnFGQ4CbpGir25cc+yoZHgrO1A7lsOj9QcDCej3PSXusLa4d6wT1P1Fc0g0A4sXZQ+Viu5J11mKP7uDATppWsJaHYO8yiHh38ucehJgSk0Jc57vs/NU0leGJ9aFQXpoAmUc= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(39860400002)(396003)(376002)(136003)(346002)(230922051799003)(1800799009)(451199024)(82310400011)(186009)(64100799003)(40470700004)(36840700001)(46966006)(40460700003)(2616005)(7696005)(36860700001)(47076005)(26005)(426003)(336012)(5660300002)(70206006)(82740400003)(84970400001)(70586007)(81166007)(36756003)(316002)(6916009)(356005)(86362001)(44832011)(40480700001)(8936002)(2906002)(8676002)(41300700001)(478600001)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR08MB10620 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU6PEPF00009525.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6d68c4ac-cced-490c-de12-08dbdc82a1c0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5d1KsNo9dQk29xxAYT8kd2EpWlkflo4p6ej49l96SRkM65dTmpIo/zzc7SMEjFMy7WZbiiAzYiUrnTMoYp3RdS0eK9Enu03kJJuqtmPd5cUQIcv048dmhB6nclakZZfFAwsYPQbxsQSgZQJb5jz2PvmWYQA2I3C01at5T70wq60adLnQg0XvQF+EWDGXF5HUWA7P7em+v+KoaMQGfMkE4gWqGa/zJaeRz+a3Hpnuep3oXNeMXBE4SrBnJ2J7gSwzXMQS1DxcCbRiDRFovBq4XpwWLZ7VeMCvLpvRuQBebc6WzNaWZnVIPj4/7A79TtPEjAjTRBjgPFqpwjgqQpIVgnq2sbuJkK1WKhkh6OWXNl66EQmjsXk8S7EHgLJEHuIsaoEhyWUHh6rjolSH8yIOAcpzA5v+A45y2zU4m3tHJHLDWZvFLPOTvCkRzit+WPXiJZpSJMkc46X6VwsVRCVJ23XNCQzbzDTUOmfcAjwYRDre08saWUg/J9VeO+uhTb1kT0LZ0LvFaUVMa0T6eYPnxTDa/1J/slTVT0BFNq0CTxkowxtbKw5a3us7NdYtSoEDYjbRY0ok/8qDxeRoh3zIosjs6x02YqKJb6ZMJLVgxIX7wehzUbEfZjXBJD48kvgkvXES/NTl94/un12O8jWGWUHhKj6OLswOu5W51dpjJAtOKDhVIZQlTl/fhs6NycJJ0C2mtuV8WJ76qXSucK3xKgwUjJsxoD2EXRXaFyF1SYB3qER+KsbFn0Mx7BaAsmgz+GfSJy3loeRSAuv0ciLt6A== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(376002)(39850400004)(346002)(136003)(396003)(230922051799003)(186009)(64100799003)(82310400011)(451199024)(1800799009)(40470700004)(36840700001)(46966006)(40460700003)(86362001)(8676002)(8936002)(82740400003)(44832011)(81166007)(47076005)(6916009)(36756003)(84970400001)(70586007)(316002)(36860700001)(70206006)(5660300002)(336012)(41300700001)(2906002)(426003)(478600001)(7696005)(40480700001)(26005)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2023 15:36:32.2337 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 37938eff-e0de-487a-eb84-08dbdc82a7cf X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DU6PEPF00009525.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5528 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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: 1781557740617372371 X-GMAIL-MSGID: 1781557740617372371 |
Series |
aarch64 GCS preliminary patches
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Szabolcs Nagy
Nov. 3, 2023, 3:36 p.m. UTC
gcc/testsuite/ChangeLog: * gcc.target/aarch64/eh_return-2.c: New test. * gcc.target/aarch64/eh_return-3.c: New test. --- v2: check-function-bodies in eh_return-3.c (this is not very robust, but easier to read) --- .../gcc.target/aarch64/eh_return-2.c | 9 ++++++ .../gcc.target/aarch64/eh_return-3.c | 30 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 gcc/testsuite/gcc.target/aarch64/eh_return-2.c create mode 100644 gcc/testsuite/gcc.target/aarch64/eh_return-3.c
Comments
On Fri, Nov 3, 2023 at 8:37 AM Szabolcs Nagy <szabolcs.nagy@arm.com> wrote: > > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/eh_return-2.c: New test. > * gcc.target/aarch64/eh_return-3.c: New test. gcc.target/aarch64/eh_return-3.c fails when running the testsuite with `-march=armv9-a+sve` . I think it is a good idea to try to keep the testsuite clean when running with different -march=/-mcpu= options even. I know there are many failures due to -march=/-mcpu option right now but this is a new testcase and all. Thanks, Andrew > > --- > v2: check-function-bodies in eh_return-3.c > (this is not very robust, but easier to read) > --- > .../gcc.target/aarch64/eh_return-2.c | 9 ++++++ > .../gcc.target/aarch64/eh_return-3.c | 30 +++++++++++++++++++ > 2 files changed, 39 insertions(+) > create mode 100644 gcc/testsuite/gcc.target/aarch64/eh_return-2.c > create mode 100644 gcc/testsuite/gcc.target/aarch64/eh_return-3.c > > diff --git a/gcc/testsuite/gcc.target/aarch64/eh_return-2.c b/gcc/testsuite/gcc.target/aarch64/eh_return-2.c > new file mode 100644 > index 00000000000..4a9d124e891 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/aarch64/eh_return-2.c > @@ -0,0 +1,9 @@ > +/* { dg-do compile } */ > +/* { dg-final { scan-assembler "add\tsp, sp, x5" } } */ > +/* { dg-final { scan-assembler "br\tx6" } } */ > + > +void > +foo (unsigned long off, void *handler) > +{ > + __builtin_eh_return (off, handler); > +} > diff --git a/gcc/testsuite/gcc.target/aarch64/eh_return-3.c b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c > new file mode 100644 > index 00000000000..bfbe92af427 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c > @@ -0,0 +1,30 @@ > +/* { dg-do compile } */ > +/* { dg-options "-O2 -mbranch-protection=pac-ret+leaf" } */ > +/* { dg-final { check-function-bodies "**" "" "" } } */ > + > +/* > +**foo: > +** hint 25 // paciasp > +** stp x0, x1, .* > +** stp x2, x3, .* > +** cbz w2, .* > +** mov x4, 0 > +** ldp x2, x3, .* > +** ldp x0, x1, .* > +** cbz x4, .* > +** add sp, sp, x5 > +** br x6 > +** hint 29 // autiasp > +** ret > +** mov x5, x0 > +** mov x6, x1 > +** mov x4, 1 > +** b .* > +*/ > +void > +foo (unsigned long off, void *handler, int c) > +{ > + if (c) > + return; > + __builtin_eh_return (off, handler); > +} > -- > 2.25.1 >
diff --git a/gcc/testsuite/gcc.target/aarch64/eh_return-2.c b/gcc/testsuite/gcc.target/aarch64/eh_return-2.c new file mode 100644 index 00000000000..4a9d124e891 --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/eh_return-2.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-final { scan-assembler "add\tsp, sp, x5" } } */ +/* { dg-final { scan-assembler "br\tx6" } } */ + +void +foo (unsigned long off, void *handler) +{ + __builtin_eh_return (off, handler); +} diff --git a/gcc/testsuite/gcc.target/aarch64/eh_return-3.c b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c new file mode 100644 index 00000000000..bfbe92af427 --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c @@ -0,0 +1,30 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -mbranch-protection=pac-ret+leaf" } */ +/* { dg-final { check-function-bodies "**" "" "" } } */ + +/* +**foo: +** hint 25 // paciasp +** stp x0, x1, .* +** stp x2, x3, .* +** cbz w2, .* +** mov x4, 0 +** ldp x2, x3, .* +** ldp x0, x1, .* +** cbz x4, .* +** add sp, sp, x5 +** br x6 +** hint 29 // autiasp +** ret +** mov x5, x0 +** mov x6, x1 +** mov x4, 1 +** b .* +*/ +void +foo (unsigned long off, void *handler, int c) +{ + if (c) + return; + __builtin_eh_return (off, handler); +}