From patchwork Fri Mar 10 22:51:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 67826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp8877wrd; Fri, 10 Mar 2023 14:52:17 -0800 (PST) X-Google-Smtp-Source: AK7set8Jw0XUO/tfXugadFWp3xfnqv74TyDhNn55CR0Nvv6bUvddO9VUFi9mkeRyZLatgzxHc9+p X-Received: by 2002:a17:907:3e0e:b0:8b2:a42:5c3a with SMTP id hp14-20020a1709073e0e00b008b20a425c3amr33007261ejc.70.1678488737036; Fri, 10 Mar 2023 14:52:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678488737; cv=none; d=google.com; s=arc-20160816; b=S9fZApMoz/Oj9k1TzDxwebX/L+qr74yzLs3WnFxji1wbIOiZ4slNI8tpS9yREAYKq2 QwJ60JaqSzONtU3xWgRD2h8Q0OhsjjYrhqwwlC/n0WMafHZecfxfLYE+RyKo+fMt6OIa RKM9U/VddZWsq5DRBeJYxu0Esz3AsfncbKBQ5RIrNwvkB8OAPmFD5KPAMliNn6uVoAV1 3mvc4cgJYyM0oU4ZGEWTyrRmsDYfg5SRhXkXHwHqWvs13TOQxC6zBWj+YnFdL6vTeuEs 0Ql6ENn8XHAmBgKueLxU5uw/+ykS5PxPbwkC5sy99ovWl/nN23s0SBxBpU9FBatKSnnK 8yiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:date:message-id :content-transfer-encoding:mime-version:subject:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=u3JopfqCw0ebzs0D1hSlucDwSbQfVFWS8/rtaSiuX6E=; b=N39vno9mMovBRYlOlTaVlSA7KEGh+aowRKiqxa95NVamwMOAP5aSlaxHN6CeuJaMmN ccRcnih/5RhPGCqtz71IR5Www8iI201jM6/B+3a+A8fNb1QuDAWbbVF+s8mI2bPcF3DC U/50f1oIFZs7b4TqlgNsMc1XIw/aVE2geHd/d+HJ2wP3UFPYfYzC/kG84cpL78zwsCiU 16Cgx+tEulyCWvrDXMUiPhjD1n1KC2o3FuocQOsXsmKWRHfPRgYlWOK6Fw2rMvl0Z8Uv Jd8axqxCp9qJWQhqMjBlaZtfR2lV6ZRmwlPpbTAVWb58rC5d73AasKnqUIoM8uJxFbsS SMAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ucFm8S6V; 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 sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id kg4-20020a17090776e400b008da520f3fcdsi854274ejc.224.2023.03.10.14.52.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 14:52:17 -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=ucFm8S6V; 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 DF605385B517 for ; Fri, 10 Mar 2023 22:52:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF605385B517 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678488729; bh=u3JopfqCw0ebzs0D1hSlucDwSbQfVFWS8/rtaSiuX6E=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ucFm8S6VeiO0qN+35xod6YnwnMwSCiZT1iaUjtf9sTZZ/l8DJcWHmj9sKIAdx0uho Ao5JaXSg+kt08GxHIlcOqvjbvIC5PvdwsxOqAsIdIz3wefethOD6xBgc1VPHq11Xvl jr8FqXoReigtRObisk8G5o6nRSXhSyDR6KhU8f7M= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by sourceware.org (Postfix) with ESMTPS id 4894F3858D38 for ; Fri, 10 Mar 2023 22:51:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4894F3858D38 To: Subject: [committed] testsuite: gcc.dg/pr106397.c: Add -w to options MIME-Version: 1.0 Message-ID: <20230310225124.CF2BD20417@pchp3.se.axis.com> Date: Fri, 10 Mar 2023 23:51:24 +0100 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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: Hans-Peter Nilsson via Gcc-patches From: Hans-Peter Nilsson Reply-To: Hans-Peter Nilsson 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?1760023005811282359?= X-GMAIL-MSGID: =?utf-8?q?1760023005811282359?= Committed as obvious. -- >8 -- Targets that don't support prefetching get a warning: cc1: warning: '-fprefetch-loop-arrays' not supported for this target Align with other tests passing -fprefetch-loop-arrays for all targets: add "-w" to options. * gcc.dg/pr106397.c: Add -w to options. --- gcc/testsuite/gcc.dg/pr106397.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr106397.c index 2bc17f8cf806..2dd04b870775 100644 --- a/gcc/testsuite/gcc.dg/pr106397.c +++ b/gcc/testsuite/gcc.dg/pr106397.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fprefetch-loop-arrays --param l2-cache-size=0 --param prefetch-latency=3 -fprefetch-loop-arrays" } */ +/* { dg-options "-O3 -fprefetch-loop-arrays -w --param l2-cache-size=0 --param prefetch-latency=3 -fprefetch-loop-arrays" } */ /* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ int