From patchwork Mon Jan 13 21:39:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 1222360 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-517305-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=LnBUie6d; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XRFQVIHD; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47xRnR5kxbz9sR0 for ; Tue, 14 Jan 2020 08:39:37 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=QimhCmnr0zORiHEP5SXlQA/9HD2uD/r//F8/Scdz6p4bynb754Ye0 Yg4jJia4wweLE+mAJZCbKrUu1a/aaTDY87AZczMkc48Pg7KbRU85ymxwnber868P xfNnbJTIyzR0kP6agS6r63f+SaGp+f91JclGQIn8GUNu/pfCbyAb2s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=default; bh=wGm25hg7C93ZuDnbo1Aaxgb7qgc=; b=LnBUie6dG/9cJZCMT7fuO4y1WbHp OlrcabfH3Eg49y14HnBdQTdfVv4G5nYgQNwlt+9CqfYzrPk2rbvqVPPkC4VFRVHi 5YWHafOGSLIUyAvMQMVWiYc/G26ArCDQg2JdXo2NReYHODqAnyBw2Nzvcg/WlLXk 4EqTBzLwbnBtwFE= Received: (qmail 66256 invoked by alias); 13 Jan 2020 21:39:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 66248 invoked by uid 89); 13 Jan 2020 21:39:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*i:sk:ydda76r, H*MI:sk:ydda76r, H*f:sk:ydda76r X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Jan 2020 21:39:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578951567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0437D6A0O3vpi3XnHsXUGN9aTp0813uA3+zzWOPPrS8=; b=XRFQVIHD7HXZfCs459gV2EP9yNX4KVYJ+3y0khmQsrKdc4rpu6LwnSDqRWdb51frFguF0K MHV4QSz4JFXjkjpAVvUUBynrQbZqaKkzTTpa/bl0a75Zzlii8PBMlMm2oiHVZcYVUQMv8a fORzLZShrM2P3NLKVVSNO7jckXsEzUE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-275-oRbY83f7O6OTCj1DxjlAlg-1; Mon, 13 Jan 2020 16:39:24 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 08CF0184C707; Mon, 13 Jan 2020 21:39:23 +0000 (UTC) Received: from t470.redhat.com (ovpn-117-41.phx2.redhat.com [10.3.117.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B16280892; Mon, 13 Jan 2020 21:39:21 +0000 (UTC) From: David Malcolm To: Rainer Orth Cc: law@redhat.com, gcc-patches@gcc.gnu.org, David Malcolm Subject: [committed] testsuite: remove unused dg-line directive Date: Mon, 13 Jan 2020 16:39:11 -0500 Message-Id: <20200113213911.24858-1-dmalcolm@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-IsSubscribed: yes On Mon, 2020-01-13 at 10:46 +0100, Rainer Orth wrote: > Hi David, > > > On Fri, 2020-01-10 at 08:38 -0700, Jeff Law wrote: > > > On Wed, 2020-01-08 at 04:02 -0500, David Malcolm wrote: [...] > > I've gone ahead and committed this to trunk (r280142) after testing > > it > > separately from the rest of the kit, given that it's theoretically > > of > > use to plugin authors even without the analyzer. > > this patch (gcc.dg/plugin/diagnostic-test-paths-2.c in particular) > caused DejaGnu to complain: > > WARNING: dg-line var PyList_New defined, but not used > > Rainer > Oops; sorry. This was copy&paste error on my part. Fixed by the following (successfully regrtested and manually inspected). I've pushed it to master (as 20571289868b98dfff95f754fa174f395dec00af) Thanks Dave gcc/testsuite/ChangeLog: * gcc.dg/plugin/diagnostic-test-paths-2.c: Remove unused dg-line directive. --- gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-2.c b/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-2.c index 391aeb9ec30..946a234dd23 100644 --- a/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-2.c +++ b/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-2.c @@ -22,7 +22,7 @@ make_a_list_of_random_ints_badly(PyObject *self, return NULL; } - list = PyList_New(0); /* { dg-line PyList_New } */ + list = PyList_New(0); for (i = 0; i < count; i++) { item = PyLong_FromLong(random());