From patchwork Tue Nov 14 20:00:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 1863833 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256 header.s=default header.b=ZZe1krX/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SVHLY4BZWz1yRM for ; Wed, 15 Nov 2023 07:04:04 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B70DA3858D32 for ; Tue, 14 Nov 2023 20:04:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 6B4DE3858D32 for ; Tue, 14 Nov 2023 20:03:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B4DE3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=dinux.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6B4DE3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699992229; cv=none; b=rbnar6roerVRnfOSMQWOxxQ0gV+A8/fjALoViC+Gx/xexFt0AqReOEhaJSH3/IRVLGYqk2mNo7RaQPx/bz+Y8rVaCq0VV0+NlToXTLj2eglmBF4NgNkXNEAgtp0Wk0rWwkwhUWGDQ7j5JBvhewiI73nMgEuxeisbefrENcY43oI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699992229; c=relaxed/simple; bh=ikG/CSd47p/pZCcJDfw7kMtj6f565yGSFRzjrMIwdVk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=YGpVZqkrtbM699gaQFSZeACKaaqbImNna3N/dY0Nemqbi64AXxWxUkg6h0yDZz35uDUlb/76uzyH8OOAzMKRnzTcSjUP0/Uov7fmAt2rG5XBrV/KKuwpzVWOlPqF2gYGcbUvcsGaqMHQ5iyo5VSytksWvDBVGGSuliznImok1Y4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from server28.superhosting.bg ([217.174.156.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2zd3-0004TF-4y for gcc-patches@gcc.gnu.org; Tue, 14 Nov 2023 15:03:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kHL93U0MsmEjgFrafkKlo2YCmX/2Iz4F7nt6d+UeYjU=; b=ZZe1krX/o54I5kVaR2zYLHtgjH geet2IfjPOXmI2sgnMsteezwOxVnSf7kVPGXAlOJa1aYzM/uJ7SI/TjFVrkLN5QaSjGgNn0ye09BC DrYtPPddDgmOmFhFkaN49WMhlJF48S9zqhSfIBLv4lMrNHHT16s97aDlmCOW6mp+OM0hC0En4ITt9 W0sW3yfAZp9GYl7KFrirPQtWv5sA/lk/TnsMuejCbZCS0SeoM4c50XfkuPhKSv2BRw1fhRzZGXWvN iUXMY66U2Gje1oERPbRYPupMuCDa1Bw+7sVdN/1hRiSoRGYTKmSDE4H5vUk2/WUkzOxRHQcq9eD27 T3UPtewQ==; Received: from [95.42.20.142] (port=53476 helo=kendros.lan) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r2zaE-000CPe-31; Tue, 14 Nov 2023 22:00:31 +0200 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov , Florian Weimer Subject: [committed] testsuite: Ignore warning for unsupported option Date: Tue, 14 Nov 2023 22:00:14 +0200 Message-ID: <20231114200014.2394259-1-dimitar@dinux.eu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: Received-SPF: pass client-ip=217.174.156.11; envelope-from=dimitar@dinux.eu; helo=server28.superhosting.bg X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_SOFTFAIL, 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+incoming=patchwork.ozlabs.org@gcc.gnu.org The -w option was used in gcc.dg/20020206-1.c to ignore warnings if the '-fprefetch-loop-arrays' option is not supported by target. When commit r14-5380-g5c432b0efab54e removed the -w option, some targets (arm-none-eabi, pru and possibly others) started failing the test: cc1: warning: '-fprefetch-loop-arrays' not supported for this target FAIL: gcc.dg/20020206-1.c (test for excess errors) Fix by instructing DejaGnu to prune the '-fprefetch-loop-arrays' warning. Pushed to trunk as an obvious fix. gcc/testsuite/ChangeLog: * gcc.dg/20020206-1.c: Prune warning that -fprefetch-loop-arrays is not supported. CC: Florian Weimer Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/20020206-1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/20020206-1.c b/gcc/testsuite/gcc.dg/20020206-1.c index c8d8b61937a..a5a9cb038e7 100644 --- a/gcc/testsuite/gcc.dg/20020206-1.c +++ b/gcc/testsuite/gcc.dg/20020206-1.c @@ -5,6 +5,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -fprefetch-loop-arrays" } */ /* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ +/* { dg-prune-output ".-fprefetch-loop-arrays. not supported for this target" } */ struct reload