From patchwork Mon Nov 13 14:26:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 164509 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1241848vqg; Mon, 13 Nov 2023 06:32:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFigfLRO4qBY0SKDVqf9YlfZbbxTaKvMtX88V/M8YTrlVcE+Thw9GjMbmYxWvhrWvcPvUOc X-Received: by 2002:a05:620a:8888:b0:773:c19f:9b9 with SMTP id qk8-20020a05620a888800b00773c19f09b9mr6547316qkn.46.1699885970688; Mon, 13 Nov 2023 06:32:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699885970; cv=pass; d=google.com; s=arc-20160816; b=dlzxlB1gLT3d/lDazvN52CkdV9lrQSJbvhfbgMUs9hE0l97aHpZlKkB9aWMHOtoHgI FoFvG33vhhXyGYI3ihJl2976a3DczGJwaI7QjYDEl5l1xkZzp4jYZTI2LiKGK1AgtEZy JEVEVFfecamz83O9/2vYfxY9hkfmbVafd1JMKTzuTVSga+RYIzzb9VPLCFts0l3LAW3W h+c3i+Jc2A7fQNIiYZ0gNzpAo6ZR+6muwXuMplT80DvDfLOsLywrghGAFFYDLKXAJkWY evXaErZSn9hU3+OktgmHRe4huOC3aoKPB9BB9kEHej05FpxePOz5ZO+oAuPAZE8zUywd 1ysA== 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=TKeBSB8iBeRCoLSI8xfj7r+GguJdYNlHNlWYgQ7nu28=; fh=vcPCoAFD9ELdvNMTpDIWpczE2wb0OD9E1jzZw6wSlzw=; b=hDJ9Dudhgnw1YnBddEheld+UKk9ReotXSjbksTdYoBqxR4iNyUaniSu2SFPZOclUUs Q2j6PyxLJsyW6750osaT8IytCjDjqdS8H0tz1tc0QSHDB900o7YIZIdvw01gFNw+s8SA rHCp0siGF0xd88z5pJ82/LA0cOOP+ykL6cm06YHIuqeClx7bI9j5PLijDvY98MqSIBAd BLUmGRs07eeo1a1W8k+XcQOfn2H20raAfoTF/SZZRqNcNKv6tUnEUlDndiq8pmSolkev fUF4FCsFXrWPhaCA34FwzDp/gLT5T3p7hI+4kwTlTo2cLudBhwO8SzRCLA0dwZTX0n+z b/Cw== 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 dw1-20020a05620a600100b00777754211a6si5019794qkb.424.2023.11.13.06.32.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 06:32:50 -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 4331D3AA5CC3 for ; Mon, 13 Nov 2023 14:29:31 +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 461C1392C2B8 for ; Mon, 13 Nov 2023 14:27:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 461C1392C2B8 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 461C1392C2B8 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=1699885651; cv=none; b=Y3msrWadFe6XEcel5Wb8hpFGVbVNUCelW489nKGbD3WIXxRGJS4u4gkfNgOXzNNX/xsWQKSzkalwKY7Xente2wo7+JDYHPFchwegGiGEXAUKqQjwQz2enWeo/ik3FIuiKyMHjKIte0pp3Qm8nGhpGj5yjE2iOOcVzaxPeJFJdvY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699885651; c=relaxed/simple; bh=jltwrf0bfLlknjTz+uyd+u8IVogTwA2jgYvEtYOkMhk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=j4ZHmnMVWWodYz6/DEyBkKLPVTwOOkcGz3rmc78yk3B1NvHtCt1sKgUA1Xh7oEbKHl+3PNjosxI5+tQN1RDBs8p9ieUntZkMi8KsTIMWz4A0snsq330PzEfjC9lpoD6OBuPIVvp+XqTc5KJR4Wf7yiaDHB0r2kFjE0PnK47QMQw= 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 6C431150C; Mon, 13 Nov 2023 06:28:15 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.41.187]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7DE523F7B4; Mon, 13 Nov 2023 06:27:29 -0800 (PST) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [committed 09/22] arm: testsuite: tidy up pr65647-2.c pre-checks. Date: Mon, 13 Nov 2023 14:26:45 +0000 Message-Id: <20231113142658.69039-10-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.2 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: 1782459631482387775 X-GMAIL-MSGID: 1782459631482387775 Another case where we can make better use of the infrastructure to improve the compatibility of this test. gcc/testsuite: * gcc.target/arm/pr65647-2.c: Use dg-add-options to manage target flags. --- gcc/testsuite/gcc.target/arm/pr65647-2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr65647-2.c b/gcc/testsuite/gcc.target/arm/pr65647-2.c index e3978e512ea..79637bfd9d7 100644 --- a/gcc/testsuite/gcc.target/arm/pr65647-2.c +++ b/gcc/testsuite/gcc.target/arm/pr65647-2.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_arch_v6_arm_ok } */ -/* { dg-options "-O3 -marm -march=armv6 -std=c99" } */ +/* { dg-options "-O3 -std=c99" } */ +/* { dg-add-options arm_arch_v6_arm } */ typedef struct { int i;