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: 165063 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:a59:b0:164:83eb:24d7 with SMTP id 25csp2170711rwb; Tue, 14 Nov 2023 12:04:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHme4e9s3Va0nkS/9Q9ZKFKAzs8DcxBLolbhfKtXzkKSewW8E1hFGwQUDa0OCpHmkjf3FEl X-Received: by 2002:a05:622a:28c:b0:418:221a:b50a with SMTP id z12-20020a05622a028c00b00418221ab50amr3606189qtw.57.1699992254864; Tue, 14 Nov 2023 12:04:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699992254; cv=pass; d=google.com; s=arc-20160816; b=PoYh2m/udWPj44gAqbQBPpKCjvofdvbPfWc5qDQTDgeDOrqYUJiPIJC0NAzjJFfVZV GuugzCr/8FOovnYbzTF/xbMfXkIFskNdjvQEWeFKE7sTZvdF4ABvPpe/Xbo13dnQjycq PZbFQDW10g+3mK7yc/wTIjKTVlFpj30iMHMdwQ4UKS9Md56EuVgBgw6SUavrS+xrAKv2 u3PLNjxL0Y69TTZy/Uk7EQzcStwB6s7kJ7luNnNYfoOi0XkIgw3jLQChhZRxskTY1JsE amV6e0hyOsfcOezqmkWAA3wZZ5Qd0o+kSEciyLT+Qg4+VhMXIaaENs9e85TMDL5bkM8n Kw+w== 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:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=kHL93U0MsmEjgFrafkKlo2YCmX/2Iz4F7nt6d+UeYjU=; fh=ANSjcQ5aCUMaMcPeIma61wVD+ZZSYndE8ADL2nbMqSg=; b=YVoK6nJg6crOa1BMp/HKeWKtpaC54gsTSTcORgEpsQBoTaZ/LPBeN33GLdCUM30uSR 9D/bdzuxfCWfSSrDqt4N88kNos5GkNYGmfMuQ6GpFCBeyFeY6JcoojscIc2wkI3N1Io2 FHcuqoOw2vxmQxxbA043cLKLYMvHS6A6wmu2OZHTuG3207HjnEECP2qA3xqWkDlrVqzb pFkpXNxwx9ZTuQvYSCOt5KrSl/WvzTwg244vonKW4yuzQ7UjsgrtgSLvc+o3vsQuIvhg e99jsqUEdmktAN8HjbFZbNOfp0YBbo1gJo5smErQYz+He8VBpP0Oku3h2oeerFyvWYGY OWtg== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@dinux.eu header.s=default header.b="ZZe1krX/"; 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" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id c4-20020a05622a024400b004181e759a6csi7259214qtx.597.2023.11.14.12.04.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 12:04:14 -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; dkim=fail header.i=@dinux.eu header.s=default header.b="ZZe1krX/"; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 89A183858436 for ; Tue, 14 Nov 2023 20:04:14 +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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782571078591484269 X-GMAIL-MSGID: 1782571078591484269 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