From patchwork Tue Sep 1 16:34:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 512953 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 B5D39140129 for ; Wed, 2 Sep 2015 02:34:52 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=v0s31Y6I; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=Vf7Izesg3rzVljcnR J3HxsK0ps+I3r1eCLEcJz7YSfycHGyf8Jxo1eri+JTL2R/W9Ta1i7eTgiBBw6zEa x0hHTifsDQMJSuC0gBDKmmkUiDaqkMIyUC0LFJLQLSxPVA5HoWMUT2b7Tx6+vpXj ZCBZnJ8FJT0fBdN9eTXXwhws9I= 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 :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=0S9OsULYYnxZDweghCnUvlB OWxQ=; b=v0s31Y6IbTpVTq7k3nsHTnw0Ck/9cmfwftYKdsB0CpN0D2DdvxhLtiE e2Zlbsq42SqGrfnh1imx0siMlDY29EWSinuOSiTiGUyKaGGgZ0y1MBMjZ9T4OsDW 92EAd8fn9btFvBisYSFeD4QdXD8GwQyQ6QWv+dCxkF/ZdOjtP1bA= Received: (qmail 36094 invoked by alias); 1 Sep 2015 16:34:46 -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 36084 invoked by uid 89); 1 Sep 2015 16:34:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Sep 2015 16:34:44 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ZWoW9-0003Eq-O7 from Tom_deVries@mentor.com ; Tue, 01 Sep 2015 09:34:41 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Tue, 1 Sep 2015 17:34:40 +0100 Subject: Re: [gomp4] declare directive To: James Norris , References: <55CB9109.6030202@codesourcery.com> CC: Jakub Jelinek From: Tom de Vries Message-ID: <55E5D395.7030606@mentor.com> Date: Tue, 1 Sep 2015 18:34:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55CB9109.6030202@codesourcery.com> On 12/08/15 20:31, James Norris wrote: > diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c > index 056b2c1..8ace93c 100644 > --- a/gcc/cp/pt.c > +++ b/gcc/cp/pt.c > @@ -13907,6 +13907,7 @@ tsubst_expr (tree t, tree args, tsubst_flags_t complain, tree in_decl, > integral_constant_expression_p) > > tree stmt, tmp; > +tree s; This caused a bootstrap failure (unused variable 's'). Committed fix as attached. Thanks, - Tom Remove unused variable in tsubst_expr 2015-09-01 Tom de Vries * pt.c (tsubst_expr): Remove unused variable s. --- gcc/cp/pt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index bcea026..c94c463 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -14418,7 +14418,6 @@ tsubst_expr (tree t, tree args, tsubst_flags_t complain, tree in_decl, integral_constant_expression_p) tree stmt, tmp; -tree s; tree r; location_t loc; -- 1.9.1