From patchwork Wed Mar 1 18:07:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xi Ruoyao X-Patchwork-Id: 1750174 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=nhBn+VaI; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PRj0y5SNQz1yWw for ; Thu, 2 Mar 2023 05:09:06 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B7D553858C39 for ; Wed, 1 Mar 2023 18:09:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7D553858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677694144; bh=Qo7Ec3cjzQbVAOhuQpfCyjzuN9JLo2Dhm3aWfkTRfRg=; 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=nhBn+VaI2/tdqXa+znc59aLfro8ktGHhO3YyZ4vvColXA77CzFQbKAAvxEbKrgD+t AeYGY4MGQxVfzbzKxtgHohGMGSD+ah9yD9S0hPDogKYhEBMhy01Q20evrqScwNpNel 8nnDsu58HKibBVAg+cLZju7pY62meB26PQQOcOVI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id A574F385B501 for ; Wed, 1 Mar 2023 18:07:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A574F385B501 Received: from stargazer.. (unknown [IPv6:240e:358:113f:d600:dc73:854d:832e:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id D375865C2B; Wed, 1 Mar 2023 13:07:55 -0500 (EST) To: gcc-patches@gcc.gnu.org Cc: Richard Sandiford , Xi Ruoyao Subject: [PATCH 7/8] aarch64: testsuite: disable stack protector for pr104005.c Date: Thu, 2 Mar 2023 02:07:19 +0800 Message-Id: <20230301180720.26514-8-xry111@xry111.site> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230301180720.26514-1-xry111@xry111.site> References: <20230301180720.26514-1-xry111@xry111.site> MIME-Version: 1.0 X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, LIKELY_SPAM_FROM, SPF_HELO_PASS, 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: Xi Ruoyao via Gcc-patches From: Xi Ruoyao Reply-To: Xi Ruoyao Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Storing stack guarding variable need one stp instruction, breaking the scan-assembler-not pattern in the test. Disable stack protector to avoid a test failure with --enable-default-ssp. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr104005.c (dg-options): Add -fno-stack-protector. --- gcc/testsuite/gcc.target/aarch64/pr104005.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/pr104005.c b/gcc/testsuite/gcc.target/aarch64/pr104005.c index 09dd81910eb..9f1ef2dc308 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr104005.c +++ b/gcc/testsuite/gcc.target/aarch64/pr104005.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -funroll-loops" } */ +/* { dg-options "-O2 -funroll-loops -fno-stack-protector" } */ typedef int v2 __attribute__((vector_size(8)));