From patchwork Wed Jan 18 20:16:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 45469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2545691wrn; Wed, 18 Jan 2023 12:25:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXuGVHVndgX8ZjuobQY6iVL8MmivbNoLZ0MrZ5WFMRJBED5MFwVC1HoTnr6nuu5mvdN1BmMO X-Received: by 2002:a17:906:9506:b0:86b:1ccc:d434 with SMTP id u6-20020a170906950600b0086b1cccd434mr8127368ejx.67.1674073541843; Wed, 18 Jan 2023 12:25:41 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id xc2-20020a170907074200b0078dbd939dacsi14813330ejb.545.2023.01.18.12.25.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 12:25:41 -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=@gcc.gnu.org header.s=default header.b=ibInymuN; arc=fail (signature failed); 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 BA7DE3854811 for ; Wed, 18 Jan 2023 20:25:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA7DE3854811 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674073524; bh=gJbwu7tZcNTwfU8qCAOypOHE1io+oyB+piWqceK7lss=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=ibInymuNXm9DgTT6BgKQQpDMFs+CZ3tfyl5JE1oap8O1GsO4tdhje/jCkJ+sHvxtK RzjT7G6MEYR4EuFkLBdwaSTZEsselNAin6/XWJZFKwiOYsBvl1+qzpRHeQA1eGy0vF L5T/rM/pbaFr8dVeagh19qjh7dk4x+9RFoCmYDOw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2053.outbound.protection.outlook.com [40.107.6.53]) by sourceware.org (Postfix) with ESMTPS id 4898E3858C62 for ; Wed, 18 Jan 2023 20:24:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4898E3858C62 Received: from AS8PR07CA0052.eurprd07.prod.outlook.com (2603:10a6:20b:459::13) by AS4PR08MB8022.eurprd08.prod.outlook.com (2603:10a6:20b:585::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Wed, 18 Jan 2023 20:24:21 +0000 Received: from AM7EUR03FT051.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:459:cafe::57) by AS8PR07CA0052.outlook.office365.com (2603:10a6:20b:459::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6023.16 via Frontend Transport; Wed, 18 Jan 2023 20:24:21 +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 AM7EUR03FT051.mail.protection.outlook.com (100.127.140.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Wed, 18 Jan 2023 20:24:20 +0000 Received: ("Tessian outbound 43b0faad5a68:v132"); Wed, 18 Jan 2023 20:24:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 88869f5a6076239e X-CR-MTA-TID: 64aa7808 Received: from d39057d775c0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FF72C899-91C3-46A0-AC91-119E27F12F0B.1; Wed, 18 Jan 2023 20:17:11 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d39057d775c0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 18 Jan 2023 20:17:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KKMtkAgJ1n1BXK8hCzfFPilQl1a3+McbN0bLop0LMls+HxQ3T13b0mX/2X9V9GDiTBLEU0/ThO0RSDSK+Ua0Bzlh0Zi+rIk/sE+ocO69175xYeU4901qmeM8jt96GQ9HEU+GBbGECGwtFFr4ewx9V3U7/r7n82qImJgW7R4DeMlmkkdCsxF/Src96lkEFYcfx8/3vmm5NKYcmqru8MXim3zfmKhS2SxDZCahCxw4jVWt86r96lUvHorwoLMUbV6bQI5tTun/khkUfvobnnIIiR3JuWs0qBsQeEzCzXPg/gcOqp72KbrXpJn7oxdp0PTl/Yobs8sbQWfAoqh8G+UspA== 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=gJbwu7tZcNTwfU8qCAOypOHE1io+oyB+piWqceK7lss=; b=R6ZLo7hThJh0z+vBKshXs4FcRTb6NzhkJcU9d+hPGWE4h4WhwVn2N65vdX5h0MqwhCDaQPCkha01Z2dHEV9q+Zd5/S6AVrx6RtFSpzBDfTSKcs9pTOMx45dxz/g3bLxobqvOlCD1XR0cECyeQl1yjOw1AyuB4D/ZjDy+33Rh1exmyxcQpQkTMbMfRlcAw9KsQtAD3YX+N8WEDwvzoPhF/PTJydB9RZ9VsL3uFCV68wjnyfmmRkvJ0psISmpiOWuTFGdSDIl0KRkddvwn9iVQ9ptS4PYwJ1SMlxjYe6tmADAGzXTuL27fC9NJD+3mHHh5OY7AYYsQIRE35OTOSwQZcA== 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 Received: from AM6P191CA0029.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8b::42) by PAVPR08MB8894.eurprd08.prod.outlook.com (2603:10a6:102:329::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Wed, 18 Jan 2023 20:17:09 +0000 Received: from AM7EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8b:cafe::e1) by AM6P191CA0029.outlook.office365.com (2603:10a6:209:8b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24 via Frontend Transport; Wed, 18 Jan 2023 20:17:09 +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 AM7EUR03FT021.mail.protection.outlook.com (100.127.140.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6002.13 via Frontend Transport; Wed, 18 Jan 2023 20:17:09 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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.16; Wed, 18 Jan 2023 20:17:08 +0000 Received: from e129018.arm.com (10.57.46.106) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Wed, 18 Jan 2023 20:17:08 +0000 To: CC: , , Christophe Lyon Subject: [PATCH 1/2] aarch64: fix ICE in aarch64_layout_arg [PR108411] Date: Wed, 18 Jan 2023 21:16:48 +0100 Message-ID: <20230118201649.11612-1-christophe.lyon@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT021:EE_|PAVPR08MB8894:EE_|AM7EUR03FT051:EE_|AS4PR08MB8022:EE_ X-MS-Office365-Filtering-Correlation-Id: f46fd376-bad8-4fa9-3316-08daf991fb67 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: 741kgl1TawRO6RmddALHr7EMjixq8AGkuKBeNh+nHBADCSwSIjcwD6H1LhFP1JBujrvVSAQAA9Z7L9WH5jQaNJ0cvoNBtjZBBhu4iR3d0WW5R8EwyCLM5J4RjrKnltDinO9K3Rm8Jf90ipfq7xjd6Slw6U5nyrufKwi2m69iDjQw0hSHr/gASj14RCJ34zhxT0VdDXSrPMgkzuwH3M1JNtHvnyL2P4fe/XrDqzQFAJO2fBZVLEGk7P2pgWJ+DqhIyDV76vQ45A4GjQ9JLLTeG1q6mgVnf3Phk784iAh220wBXgDzBO94Ktc86hk6hkcXWEr7mEVZ/e6bjV99jWtCsY+gXfncYRslcNqQMnjiKotEYQHQvhmqXQ5A5IR9m4sbEZKXubjjGHJaBXPNCRv6rPmtMBN9EoBdaif4s3EdIBDQCaYGulZvmjyISYMuMjbd6o+sDgLkTs9qMsy6YEAit2JwZ9kmieGqGJX2Pi6HQZX5NhfD0DjmzDuP/d40AifPnw8hCAc8dlE4QEjK6mj0fOv8wW69jXp1RFx8TBcNM3+Vsi4RuugPWVmBLFp4Jmz0ILWKEBfOUiJ8ADxkUYFedjoN5FqFffQoQ0wYSFKUZQpjSxyYRVJbIVGjQkL2qe0E/aldeeR8qtcf01ZRRVV4W8HAzKgB4IYSDZ4t1jO2uh2XDcGUJY7l4NYh8gnAqessUEQFfrlDphDgs5OnzVYbgBY2Vp4WrkngdIX6YNXPrmI= 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:(13230022)(4636009)(376002)(346002)(396003)(39860400002)(136003)(451199015)(46966006)(40470700004)(36840700001)(82310400005)(40480700001)(36756003)(40460700003)(47076005)(426003)(5660300002)(70206006)(44832011)(8936002)(70586007)(8676002)(478600001)(186003)(83380400001)(6666004)(336012)(4326008)(41300700001)(26005)(6916009)(1076003)(7696005)(54906003)(2616005)(316002)(86362001)(356005)(36860700001)(2906002)(82740400003)(81166007)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB8894 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT051.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 211a4f3f-dec5-40d5-1aff-08daf990fa2d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5p2J2TG8k12LDWQ3aIbhHEqlruKiYY0+Kxv/4JBo04MbezEm/i4daQ8U9Eb8PSdrHsgOn2wljjXp8elZ54AHw+W5pdnobvut74+Cavwa7irVJje7SHnUZwFd5pHJ70mT64or4olelrxozDuPbX64L0JJKiV+JkkZH4/V6RHD7QVS6Xr4DvwQ3Hc+Rubab+cR29Hned21cQYCS97arXWUycx7t/JvvIlYuA0OlI09MfmqjxmHMRMk3BU+M8CK6p0irN/wJNJl6tIVWJIEuGjdM1qNsOIUwfAEK4S/VrMZagnGGyAHAWlMQabZ9lf6Gh7uWKZG6G9b3f6nJmM/lmx7ji2Ms5Aw0lQgySMBhAOx1JS3pDpN8SXdoNtTd42E5kBwJq29Cy8hgGGGIUuK7smSgmQ2BoQkjlWAFLOo1bKVKoDOZ7XPn+h/JYn0CUuYiw5sNBCbrEGvbHDK7EwUaKiW2Mwaeu0F2YlSnbof1ko8h9wdUnT+vzkEEg5X1p2QlkVvIqGS4BTWhpcvQ+NtmNXC3ubH6MI5LfWMPvtFTdWK29UkBm4qzRqO0njXJ5oGLxGmdxRVIrW4fHccY4fH4fg30EIEOV/0e4TpQ+dNAMMqz5WQJZSdjfvotui7a+1R9I5oNwM38N+9B+TmmUQzfsJoVBKL3YKqIMtxIythJsY/5MK8FlJCcfXLstvBsbgi98CPdvGPiWYgAgaiSNBeW3/8zQ== 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:(13230022)(4636009)(346002)(136003)(396003)(376002)(39860400002)(451199015)(40470700004)(46966006)(36840700001)(5660300002)(7696005)(54906003)(36756003)(2906002)(8936002)(4326008)(8676002)(44832011)(6916009)(86362001)(36860700001)(83380400001)(316002)(41300700001)(82740400003)(6666004)(40460700003)(26005)(186003)(478600001)(81166007)(70206006)(2616005)(1076003)(426003)(40480700001)(47076005)(336012)(70586007)(82310400005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2023 20:24:20.9140 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f46fd376-bad8-4fa9-3316-08daf991fb67 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: AM7EUR03FT051.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB8022 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Christophe Lyon via Gcc-patches From: Christophe Lyon Reply-To: Christophe Lyon 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?1755393338443858159?= X-GMAIL-MSGID: =?utf-8?q?1755393338443858159?= The previous patch added an assert which should not be applied to PST types (Pure Scalable Types) because alignment does not matter in this case. This patch moves the assert after the PST case is handled to avoid the ICE. PR target/108411 gcc/ * config/aarch64/aarch64.cc (aarch64_layout_arg): Improve comment. Move assert about alignment a bit later. --- gcc/config/aarch64/aarch64.cc | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc index d36b57341b3..7175b453b3a 100644 --- a/gcc/config/aarch64/aarch64.cc +++ b/gcc/config/aarch64/aarch64.cc @@ -7659,7 +7659,18 @@ aarch64_layout_arg (cumulative_args_t pcum_v, const function_arg_info &arg) && (currently_expanding_function_start || currently_expanding_gimple_stmt)); - /* There are several things to note here: + /* HFAs and HVAs can have an alignment greater than 16 bytes. For example: + + typedef struct foo { + __Int8x16_t foo[2] __attribute__((aligned(32))); + } foo; + + is still a HVA despite its larger-than-normal alignment. + However, such over-aligned HFAs and HVAs are guaranteed to have + no padding. + + If we exclude HFAs and HVAs from the discussion below, then there + are several things to note: - Both the C and AAPCS64 interpretations of a type's alignment should give a value that is no greater than the type's size. @@ -7704,12 +7715,6 @@ aarch64_layout_arg (cumulative_args_t pcum_v, const function_arg_info &arg) would treat the alignment as though it was *equal to* 16 bytes. Both behaviors were wrong, but in different cases. */ - unsigned int alignment - = aarch64_function_arg_alignment (mode, type, &abi_break, - &abi_break_packed); - gcc_assert (alignment <= 16 * BITS_PER_UNIT - && (!alignment || abi_break < alignment) - && (!abi_break_packed || alignment < abi_break_packed)); pcum->aapcs_arg_processed = true; @@ -7780,6 +7785,15 @@ aarch64_layout_arg (cumulative_args_t pcum_v, const function_arg_info &arg) &nregs); gcc_assert (!sve_p || !allocate_nvrn); + unsigned int alignment + = aarch64_function_arg_alignment (mode, type, &abi_break, + &abi_break_packed); + + gcc_assert (allocate_nvrn || (alignment <= 16 * BITS_PER_UNIT + && (!alignment || abi_break < alignment) + && (!abi_break_packed + || alignment < abi_break_packed))); + /* allocate_ncrn may be false-positive, but allocate_nvrn is quite reliable. The following code thus handles passing by SIMD/FP registers first. */ From patchwork Wed Jan 18 20:16:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 45468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2545653wrn; Wed, 18 Jan 2023 12:25:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXuGygSasylHGkEkwAWAOeKbF9jHE4BJEICv3NdUBjWCvs8cJQ7C/Qn9k/bxW7UUToTIFuz+ X-Received: by 2002:a17:907:20a1:b0:870:23c5:8a81 with SMTP id pw1-20020a17090720a100b0087023c58a81mr8964947ejb.41.1674073536630; Wed, 18 Jan 2023 12:25:36 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id un2-20020a170907cb8200b0084cbf555299si28798158ejc.954.2023.01.18.12.25.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 12:25:36 -0800 (PST) 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=@gcc.gnu.org header.s=default header.b=Rwrd5h+2; arc=fail (signature failed); 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=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 812DE385B51C for ; Wed, 18 Jan 2023 20:25:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 812DE385B51C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674073520; bh=nTMPiu1FSfxQgZtyH0uSNySeoxx+tVARu3nRhGoPoD8=; h=To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Rwrd5h+2E8r/tJwIzb1gkFqedfhJdcN/a/uz6Cj7xZPllzFEhHaPJoT4NyQ+6R0TC Hmkz1nPJe2NIL7Whfgn7+/+e4PRs/+TnBX8IPHJpAtB3AO8Acx+sjWMGD1uzoFSZxJ 2TWkZd8l4YG4kX8vXWrSPYnQxytLzk7T6NlEmmhY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2085.outbound.protection.outlook.com [40.107.8.85]) by sourceware.org (Postfix) with ESMTPS id C4D593858430 for ; Wed, 18 Jan 2023 20:24:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C4D593858430 Received: from AS8PR07CA0038.eurprd07.prod.outlook.com (2603:10a6:20b:459::23) by GV2PR08MB7954.eurprd08.prod.outlook.com (2603:10a6:150:a8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Wed, 18 Jan 2023 20:24:25 +0000 Received: from AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:459:cafe::1c) by AS8PR07CA0038.outlook.office365.com (2603:10a6:20b:459::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6023.12 via Frontend Transport; Wed, 18 Jan 2023 20:24:24 +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 AM7EUR03FT022.mail.protection.outlook.com (100.127.140.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Wed, 18 Jan 2023 20:24:24 +0000 Received: ("Tessian outbound 3ad958cd7492:v132"); Wed, 18 Jan 2023 20:24:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 927645509f3162f4 X-CR-MTA-TID: 64aa7808 Received: from 491861309c61.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C45B0509-E106-4CE1-AD67-B1FB8CD274C0.1; Wed, 18 Jan 2023 20:17:20 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 491861309c61.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 18 Jan 2023 20:17:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S6T2uUw3YrQhr4lrdsGu43bJPnDeNyBXncZL7y+owg/M3g7eS6iaCu3WOojNqvQ5oGcrtZ9XcXF9OS7171DzLDcOXaq1wUqIOsCg/TV7HEq/5Cf1ZQxcSJBIHkeiiXux3opJka0v7OGnVO/i5Kgg9bR2w/Ae4NFpZdIfdaf+KZiOhJXZpPyiCv637bkeo+Pah3t0b79aBHWY5we2z+vOhkjjFE4T1KzEpvxA8CPJK+AX9xCW8LepgJGual5hf8Y3nKfkb4Og5JPC2fqIpypd4watPsiD6KPWoF2PF0wHr3BHjgSIQhmIk5dcBjJdrVCsd1rQTpgJpEEXZy9vkyFlDw== 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=nTMPiu1FSfxQgZtyH0uSNySeoxx+tVARu3nRhGoPoD8=; b=OpfCqSkCRmyaNeeqSb0HfIjJ+BY0q7kdKqw2cEyKMrxHirluGM49yAJOobxx4A4hbbEI2sEAisYIO/qmuEFZT6wis4KZpn7Rx99zHd7yyrLTziujqbjGVfc2oQzkVNJZ26u1NPYhiM2xoD9BtJUyzNSBbsDCDhkqEh8EpLnS/dbEo/m78JJDnjp3CeIVVpcxCmbdWcED/uE5ytOlsmm6MgLDdcBwlfcX/EIviby5sEpyTUXLsaIL2fWE95pGATH5bS2O2jbMQhJED5fPGwewDNmv8WwJR/GHwS45pd7U72/G7LyrNB/iRZ2QZ0/WCPH9xaADpXpEadpgr9Jv1PMIwg== 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 Received: from AM6PR01CA0053.eurprd01.prod.exchangelabs.com (2603:10a6:20b:e0::30) by DU0PR08MB9655.eurprd08.prod.outlook.com (2603:10a6:10:447::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Wed, 18 Jan 2023 20:17:16 +0000 Received: from AM7EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:e0:cafe::93) by AM6PR01CA0053.outlook.office365.com (2603:10a6:20b:e0::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24 via Frontend Transport; Wed, 18 Jan 2023 20:17:16 +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 AM7EUR03FT019.mail.protection.outlook.com (100.127.140.245) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6002.13 via Frontend Transport; Wed, 18 Jan 2023 20:17:16 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) 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.16; Wed, 18 Jan 2023 20:17:15 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 18 Jan 2023 20:17:15 +0000 Received: from e129018.arm.com (10.57.46.106) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Wed, 18 Jan 2023 20:17:15 +0000 To: CC: , , Christophe Lyon Subject: [PATCH 2/2] aarch64: add -fno-stack-protector to some tests [PR108411] Date: Wed, 18 Jan 2023 21:16:49 +0100 Message-ID: <20230118201649.11612-2-christophe.lyon@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118201649.11612-1-christophe.lyon@arm.com> References: <20230118201649.11612-1-christophe.lyon@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT019:EE_|DU0PR08MB9655:EE_|AM7EUR03FT022:EE_|GV2PR08MB7954:EE_ X-MS-Office365-Filtering-Correlation-Id: 64281c6d-09d3-4a37-e030-08daf991fdb2 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: adA7cspEPD0qfl91TGld1hc7p4uck97FEUgigtxbGchnlkYoGywgktFfwcKtlYbQRnRR2/Zvq0KpTuP3fyHKSctMM4CAx7M5z36mMgLGyUlj402h+MNTu90xbgJlxkTUo+emjQU3PmLowmJHGjmE9ArWzXpbxj+4oUHyQihnEzhFqd+E8wzS0APsNy1Uhh9mXQcNxnFA5D3amBR3rM4cT6i4sY/O7DdwbQHyvozcu1+ldTjbq1UAvRzuafM/CNfUXZjqJ4sLllzatnRgSsCFhPCVo+zrxCOMZJjpj5Nf3kN/EARe278uHPYLwOokb7y8j0rbTnZknjwMFjaIBSuScrA3UJq2sXBk6dvqwzaI2wWoCKIsk33aE6aKdBDlYN5sU5MfapcpgIs7M8w7yoYu89Ed5TSJAbnR1zvsM6UsCW48Hfy7Hl7K1vH2EmNGgRlmH0FZTp9V/gtdRM/+pKQR7CfBHgnaFl2ZgJyVCZ8S6ewUKStYOF+u0GbyYzYAGFC9uvzA7QV9b9npfwiUrJCfmqGh6poYKgV5inEDhEBhEQ/GeOjjxHlL9F/eiGuYbY53rItz9IO8672adOSEQKOwammOTpVzLl3IC9ndiMCvv8VbSX+7dTtjdAK1+bJ2cqLI1mUCJYIdS4Jp+6litKL5EUCq1zhgteoHb2V4nYZMODlDfnvcm4nTqGNwIxlRcDZ7Z9zRGmLKLe3vqV6kaaD2WGDO53V4p9SuPUGVFGgbuIuv3NvZrlhhZUrUrJxPdgLFzTC1ITWeobOjGwKs3We2m6FoNNmx0egR2wwEcRM+DQVBcWyiIm2vxm+zxGHiHkVV 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:(13230022)(4636009)(346002)(396003)(376002)(136003)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(40480700001)(36756003)(40460700003)(86362001)(47076005)(426003)(83380400001)(5660300002)(4326008)(70586007)(41300700001)(70206006)(82310400005)(44832011)(478600001)(186003)(8936002)(6666004)(336012)(26005)(8676002)(7696005)(316002)(6916009)(1076003)(54906003)(2616005)(356005)(2906002)(82740400003)(36860700001)(81166007)(84970400001)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9655 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a280c6cc-8e13-44ed-738b-08daf990fe7b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DaEUK958baLj9M9xDk5BylSRbvntSNyj3xJ6NTi5L3WSy/HNHhNdfSmmTUoj+AHflMiEN9LOqEhkCCQdnIFeIfsU9ZwVOOG0fpGBO16YBk+JKm+eESLBl5R5VRJyZwe5xnQlT3tVPas/8LD44H8sJIb4F323XQTIjCI0SVGwQmsEHov2szFwVV6xP/2YtSVqyTymWZgFlphWzMLsjYur+i/Qwz70C2L1Zh5ZZMPxYLHAW8Ckva9DoaugyfazYRblXkNa+jbonxpBB6nmj8ZC0KgWW27VRGHTLoShK6QK06bzFCsvMudnRFjj5SqIBKXcCsDnVclwKuQcN+hU5dA7q81u7ImU70bVXVOugU5PkhYoSrCL3+8imhSin1wSMpjkgqJ11IiLwBkYVQ0AkqIJJ74/zgohQJpXyuphZgoOclNbb6KtX+V7qc0Kr8mWvrFsBJECyTbb2ArVajSJemfaa8TeeJdIb8OcfqnN0eSZCqRiaGJgT1Fp9jhgNlsZIO9c3Cy44UZFJBVMz+cWK2PW2pNT8BBAlZxMbCLYpn/kLBROMvMxO4ObwJ2sc5QZh/ge/Qar4nFNqRrkUGa+DR3gGfjAZ+LhWrQdRnzaAEFxUIj2ucqklhX1AQ6/ga+DAgEE7+dDJ8asF0TKumkHIlc59wcv15SZvgkwZysUze2xpB05v8HdasGOmoQEpMquSsnUy5wsHId5Uo0hV9FLKP4LtxLgYB7oI/TwlSQhgdEO4x1yt9Q+v3a1gZH2GYVjP5Irayla8cQVovmvxzkchY76KA== 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:(13230022)(4636009)(136003)(376002)(396003)(346002)(39860400002)(451199015)(36840700001)(40470700004)(46966006)(36860700001)(82740400003)(6666004)(54906003)(6916009)(186003)(1076003)(26005)(2616005)(7696005)(86362001)(40480700001)(478600001)(36756003)(82310400005)(81166007)(40460700003)(84970400001)(426003)(47076005)(5660300002)(44832011)(4326008)(8936002)(41300700001)(83380400001)(316002)(2906002)(336012)(8676002)(70586007)(70206006); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2023 20:24:24.7341 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64281c6d-09d3-4a37-e030-08daf991fdb2 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: AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB7954 X-Spam-Status: No, score=-12.4 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, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Christophe Lyon via Gcc-patches From: Christophe Lyon Reply-To: Christophe Lyon 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?1755393332661406296?= X-GMAIL-MSGID: =?utf-8?q?1755393332661406296?= As discussed in the PR, these recently added tests fail when the testsuite is executed with -fstack-protector-strong. To avoid this, this patch adds -fno-stack-protector to dg-options. PR target/108411 gcc/testsuite * g++.target/aarch64/bitfield-abi-warning-align16-O2-extra.C: Add -fno-stack-protector. * g++.target/aarch64/bitfield-abi-warning-align16-O2.C: Likewise. * g++.target/aarch64/bitfield-abi-warning-align32-O2-extra.C: Likewise. * g++.target/aarch64/bitfield-abi-warning-align32-O2.C: Likewise. * g++.target/aarch64/bitfield-abi-warning-align8-O2.C: Likewise. * gcc.target/aarch64/bitfield-abi-warning-align16-O2-extra.c: Likewise. * gcc.target/aarch64/bitfield-abi-warning-align16-O2.c: Likewise. * gcc.target/aarch64/bitfield-abi-warning-align32-O2-extra.c: Likewise. * gcc.target/aarch64/bitfield-abi-warning-align32-O2.c: Likewise. * gcc.target/aarch64/bitfield-abi-warning-align8-O2.c: Likewise. --- .../g++.target/aarch64/bitfield-abi-warning-align16-O2-extra.C | 2 +- .../g++.target/aarch64/bitfield-abi-warning-align16-O2.C | 2 +- .../g++.target/aarch64/bitfield-abi-warning-align32-O2-extra.C | 2 +- .../g++.target/aarch64/bitfield-abi-warning-align32-O2.C | 2 +- .../g++.target/aarch64/bitfield-abi-warning-align8-O2.C | 2 +- .../gcc.target/aarch64/bitfield-abi-warning-align16-O2-extra.c | 2 +- .../gcc.target/aarch64/bitfield-abi-warning-align16-O2.c | 2 +- .../gcc.target/aarch64/bitfield-abi-warning-align32-O2-extra.c | 2 +- .../gcc.target/aarch64/bitfield-abi-warning-align32-O2.c | 2 +- .../gcc.target/aarch64/bitfield-abi-warning-align8-O2.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2-extra.C b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2-extra.C index 443cd458b4c..52f9cdd1ee9 100644 --- a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2-extra.C +++ b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2-extra.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps -Wno-narrowing" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps -Wno-narrowing" } */ #define ALIGN 16 //#define EXTRA diff --git a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2.C b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2.C index 76a7e3d0ad4..9ff4e46645b 100644 --- a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2.C +++ b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align16-O2.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps -Wno-narrowing" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps -Wno-narrowing" } */ #define ALIGN 16 #define EXTRA diff --git a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2-extra.C b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2-extra.C index 6f8f54f41ff..55dcbfe4b7c 100644 --- a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2-extra.C +++ b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2-extra.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps -Wno-narrowing" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps -Wno-narrowing" } */ #define ALIGN 32 //#define EXTRA diff --git a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2.C b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2.C index 6b8ad5fbea1..6bb8778ee90 100644 --- a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2.C +++ b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align32-O2.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps -Wno-narrowing" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps -Wno-narrowing" } */ #define ALIGN 32 #define EXTRA diff --git a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align8-O2.C b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align8-O2.C index b1764d97ea0..41bcc894a2b 100644 --- a/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align8-O2.C +++ b/gcc/testsuite/g++.target/aarch64/bitfield-abi-warning-align8-O2.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps -Wno-narrowing" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps -Wno-narrowing" } */ #define ALIGN 8 #define EXTRA diff --git a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2-extra.c b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2-extra.c index f248a129509..3b2c932ac23 100644 --- a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2-extra.c +++ b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2-extra.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps" } */ #define ALIGN 16 //#define EXTRA diff --git a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2.c b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2.c index 22ee5ec4c92..ee5d6faa428 100644 --- a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2.c +++ b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align16-O2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps" } */ #define ALIGN 16 #define EXTRA diff --git a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2-extra.c b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2-extra.c index a8a50b35e8e..6d4a883a96e 100644 --- a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2-extra.c +++ b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2-extra.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps" } */ #define ALIGN 32 //#define EXTRA diff --git a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2.c b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2.c index e872de3dbe0..331daba354c 100644 --- a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2.c +++ b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align32-O2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps" } */ #define ALIGN 32 #define EXTRA diff --git a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align8-O2.c b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align8-O2.c index cb2a945a819..e6d45f5dd5c 100644 --- a/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align8-O2.c +++ b/gcc/testsuite/gcc.target/aarch64/bitfield-abi-warning-align8-O2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -fno-stack-protector -save-temps" } */ #define ALIGN 8 #define EXTRA