[committed,19/22] arm: testsuite: improve compatibility of gcc.target/arm/pr59575.c
Message ID | 20231113142658.69039-20-rearnsha@arm.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1241840vqg; Mon, 13 Nov 2023 06:32:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IECNDxhcWEzcBqumUoAML+VHN01I+mdPiuuP72ibR+TJAODwlEnV1ntxtLY2bgxoEEGNOEl X-Received: by 2002:a05:620a:2493:b0:77b:b34e:624b with SMTP id i19-20020a05620a249300b0077bb34e624bmr9828251qkn.60.1699885969469; Mon, 13 Nov 2023 06:32:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699885969; cv=pass; d=google.com; s=arc-20160816; b=fOhfeizIfy5qVKyn7U5pWsqtYb7dpLGaoLj6+sU7Byb97FTDICf5s0DIX3gEPykM0n sxiU/7w8dC4zknmoMLw+g5F8GzAw9cadfRFq9rZ6BZMi0jGSile2Dr999+VHnljniD6V pmnrOJiL9tdJvkwcn1Vd3HUh4jMTkmttfpNfrv0BkbfMkrDhEKPB+iwe5gNduHM1xKun x7y6jSpuwkgDhWgd8SQmOixidiIO47osW7k5ZHQfyg8v/EGkVt6ZlUxAPllft4f784a7 yUEMhV0ja+PQVAvWn3PuJhY2OwXN7CzrHvCAH1whtzimSFMGSQVvXhv6FDkjXwvaW24x AuuQ== 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=9UkTtDoLK42PL+fZ/O39bmtC7lEEm/vf7O51xXAR1sw=; fh=vcPCoAFD9ELdvNMTpDIWpczE2wb0OD9E1jzZw6wSlzw=; b=ykRXTO83L2Du9v8rWuyUH+PSh3JdmUP0+FaDjGy9Kt9MmcbqeUEkeGQlJuBKbx0Bq0 3diwT97WnXLFDDeIQ8sfTri3mdAgXRcAhGPEwsiY6BMDz6Q7ZPQ84NbVMEjReV1SO+8u EKL3SkW/j1oyX+CptuHbMZBYFbCm3T7K49idR7QtvsiduXIHyz/cQUqy9Eo+klzYECvD ApfbyPQZf7aUIg8DcFdBuW3/QcM85qdCi9fYWm43liu/IFQrexLZ7+kKxGahGSQL5Vt7 Z12cdTXqUbNwjWsQgdnJ0HE1SCqkpWYHE/F1DxsXcPZcpcB939rM9NQmvGmA8199/5lv riww== 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 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 bl19-20020a05620a1a9300b0076cae48eb5dsi4509876qkb.234.2023.11.13.06.32.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 06:32:49 -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; arc=pass (i=1); 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 CA30D3823E59 for <ouuuleilei@gmail.com>; Mon, 13 Nov 2023 14:29:30 +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 675A13948A5E for <gcc-patches@gcc.gnu.org>; Mon, 13 Nov 2023 14:27:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 675A13948A5E 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 675A13948A5E 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=1699885658; cv=none; b=oxzWE9kVU/ekHCaj5HWX2kcYm4TltXEB/oj4sPH/PfOnaxUZ/XGTSZovhfDhkcLq/yJa15p/YMfJywkg/VuquOWRk/8nT3Fc7U4KB2KaDwZqiH4yfj3fYgienwVj3/3j9Pw88EXQc3J1n5ODDlQ/hPpUILs4ZUjXTf0O7qo/x4Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699885658; c=relaxed/simple; bh=lgppKgULent6gEjhKCw4xdMELHzMoh4JHIIUBzFhm4A=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=vRX3jLiSvMYAAM4CGRZzb6Hyl5PFTk0friooCHRgOPixwN2UDs34ODkdGcTbQuAf1yIxbyMqjezaL6KT2SwcS5pFvCJQyuTqF2RBR1svNZf5CsxrCOIrjggWogRY7i5Xr9bqOBWePXbbMvG09V80Z2I2UXnyKrsRFuHw4mY7H7Q= 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 A1690FEC; Mon, 13 Nov 2023 06:28:22 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.41.187]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B00873F7B4; Mon, 13 Nov 2023 06:27:36 -0800 (PST) From: Richard Earnshaw <rearnsha@arm.com> To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw <rearnsha@arm.com> Subject: [committed 19/22] arm: testsuite: improve compatibility of gcc.target/arm/pr59575.c Date: Mon, 13 Nov 2023 14:26:55 +0000 Message-Id: <20231113142658.69039-20-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 Content-Type: multipart/mixed; boundary="------------2.34.1" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.0 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 <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: 1782459630404824007 X-GMAIL-MSGID: 1782459630404824007 |
Series |
arm: testsuite: clean up some architecture-specific tests
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Richard Earnshaw
Nov. 13, 2023, 2:26 p.m. UTC
Use dg-require-effective-target/dg-add-options to improve compatibility of this test with various compiler configurations. gcc/testsuite: * gcc.target/arm/pr59575.c: Use dg-require-effective-target and dg-add-options. --- gcc/testsuite/gcc.target/arm/pr59575.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/arm/pr59575.c b/gcc/testsuite/gcc.target/arm/pr59575.c index cc49be3d61f..27d7d40526e 100644 --- a/gcc/testsuite/gcc.target/arm/pr59575.c +++ b/gcc/testsuite/gcc.target/arm/pr59575.c @@ -1,7 +1,9 @@ /* PR target/59575 */ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v7a_ok } */ /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */ -/* { dg-options "-Os -g -march=armv7-a" } */ +/* { dg-options "-Os -g" } */ +/* { dg-add-options arm_arch_v7a } */ void foo (int *); int *bar (int, long long, int);