From patchwork Mon Nov 13 14:26:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 164505 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1240036vqg; Mon, 13 Nov 2023 06:30:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOIhADfy6Lcud25EUCrySpqeu7n7xDGjRiYLRCpbS0MFMz6uq/mhTf/6V+qbP4PuPNjXKV X-Received: by 2002:a25:adc6:0:b0:da0:29e2:d29 with SMTP id d6-20020a25adc6000000b00da029e20d29mr5520991ybe.42.1699885818083; Mon, 13 Nov 2023 06:30:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699885818; cv=pass; d=google.com; s=arc-20160816; b=jbd2IaRyv+1QlzlpCqkcEDFEfIaNPZuQj9cCCbGdU1z/GEzAK15r/e9TX66yIARVt7 VtpdwdM4OToO2q2S6b9+mRb1BVQKdeeLGOHL25f4C8QdSXmmIY2dpVqwckJJ+bNEwQFx eMT9fI+dE5gL0jzHaFkG1ZZIn5qGu3bdyUOLgYgoYjB/QHclRZyNKBVtRbr5t8Dx1N+n b4wvMA2zO4NTQrpIwO/sQRMovRb6o59V9/CWLWd19W8iacDBPln5nxkEFKHZPlbi815m t2vtbsDfNXFQn2N5AuZ7lZpP5A6Vzu+67rYdyJ/OFD5/XnULQyIOL/5ZnBemhQ16Le/R ytqQ== 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 :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:arc-filter:dmarc-filter:delivered-to; bh=okM6tak8slvNzEgc2xWUCF6aUoS1U45U577pJDkSJUQ=; fh=vcPCoAFD9ELdvNMTpDIWpczE2wb0OD9E1jzZw6wSlzw=; b=z1cEEetE6jmlh5Kq1kZBSobnvFfhVCQ/Y2birn6xnq6P1FKaFyL2rAlLA0guq9X3Vh A+rHAAjWCDgn4TC3d1+B9R4GJSLYkbJYZcrjX/WLndioJEJHa2YNcKEp4SyJTvzm8/Od ifuMIHUSzrmlRXzlVrHBO4m2yV2mGREknoNOZXmvTATcHJgpmNCXuVumO3JCDMJNYRvQ bKwWV/W9K/gTLIMaRXUEWuwdQi4PAdkFe4PRXKNeNRpZyL1px7A8vP6oJsQtcHXANdWA nTCszXHAOIQ57EKDC6LZVL+XVm8hMUGF5+J4jmaP709ICNLtRLS0SwUcZJYt5CahAdp1 nbzw== ARC-Authentication-Results: i=2; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id v4-20020a0ced44000000b0065d124684a6si4579396qvq.88.2023.11.13.06.30.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 06:30:18 -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; 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=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 B09AD3933E83 for ; Mon, 13 Nov 2023 14:28:38 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 94C85393826F for ; Mon, 13 Nov 2023 14:27:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 94C85393826F 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 94C85393826F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699885652; cv=none; b=sLtUqVx4ydBrVYQzCG8dT7BSeo+de8MaiiRMMsF152sXtBa5alvS4CBKLqH3V7RGfMv4KAfkjEBMzrqpm27Zixc1Hi2Seu6Z3v9QKwD+QBAR7NWLTbFoLFNf/MBq+KSlBGSUygnJQoHqawfDqGtBPvmdQDYwgKSeDWWtoAb+Jyw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699885652; c=relaxed/simple; bh=NpzR4xhThSU7tZXh+OD088hlrK/i69Tbatqdnz3MgeI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=MF4hTDHZhEhabM78CHSVC87iKFGfQs8YUHLu1H6a5zcRcP/15AaFKKTunu9kP6EQS+Bpo4xyaYmsBglA9TxE7CqqIW7eokf1J4MiXGzJ0Tt8Mx6X9tATB1W38yWEud73p8u8vTfj3FIybA2jwmVaaVIiPaVY0yOSVhHrVSB5Was= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D78D51007; Mon, 13 Nov 2023 06:28:16 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.41.187]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E94BE3F7B4; Mon, 13 Nov 2023 06:27:30 -0800 (PST) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [committed 11/22] arm: testsuite: improve compatibility of pr88648-asm-syntax-unified.c Date: Mon, 13 Nov 2023 14:26:47 +0000 Message-Id: <20231113142658.69039-12-rearnsha@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231113142658.69039-1-rearnsha@arm.com> References: <20231113142658.69039-1-rearnsha@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782459471853128696 X-GMAIL-MSGID: 1782459471853128696 Fix another test that was trying to set the architecture directly rather than using the infrastructure as intended. gcc/testsuite: * gcc.target/arm/pr88648-asm-syntax-unified.c: It isn't necessary to try to override the architecture flags specified by arm_arch_v7a. --- gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c b/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c index 251b4d5bc9d..53d0bb053fc 100644 --- a/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c +++ b/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c @@ -1,8 +1,8 @@ /* Test for unified syntax assembly generation. */ /* { dg-do compile } */ /* { dg-require-effective-target arm_arch_v7a_ok } */ +/* { dg-options "-marm -masm-syntax-unified" } */ /* { dg-add-options arm_arch_v7a } */ -/* { dg-options "-marm -march=armv7-a -masm-syntax-unified" } */ void test () {