From patchwork Thu Nov 12 23:25:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Norris X-Patchwork-Id: 543917 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 30CD014141E for ; Fri, 13 Nov 2015 10:25:41 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=bE85hpDG; 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 :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=aBN0X1U0ck+gdmQOrj/9V0vwVKbxyDvSz6BBQHnNzXpn37 u3cKjwfSHIj3477DogwuAJYW8dzTyI5nQr3ZRUER1b+2pRppMAyF6XTWVY8i8vDm +spuc9kgyTp9sjHenBXxZfR7RpFBW7bUmJrNXUvxWU3Gf/m4lb8gPjZ3AEAt0= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=NtpZ+QJaBMTtno0YYTwol7FAs9A=; b=bE85hpDG/TvNbzkBHhQC a/jcLQRl8RSYVBxRPt7uEkP/lAm9i4T8Sf6rTY33Gkb6u6itZ53C0ddo5BCzw0rk dah5VXx4x5l+U+4y9WEyL6t5A1FgPH6GlnijxCuFV9g6IYGRqevfdNwZAAVAoVDW /TK2xJ4ALuaVvu8Pbj+yiCE= Received: (qmail 61307 invoked by alias); 12 Nov 2015 23:25:33 -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 61288 invoked by uid 89); 12 Nov 2015 23:25:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no 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; Thu, 12 Nov 2015 23:25:31 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1Zx1FA-0001ZD-AZ from James_Norris@mentor.com for gcc-patches@gcc.gnu.org; Thu, 12 Nov 2015 15:25:28 -0800 Received: from [172.30.80.60] (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.224.2; Thu, 12 Nov 2015 15:25:27 -0800 Message-ID: <56451FE6.3040200@codesourcery.com> Date: Thu, 12 Nov 2015 17:25:26 -0600 From: James Norris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH] Fix unused variable. Hi, As a result of an unused variable from my patch of today, it broke bootstrap. Dominique kindly pointed this out. Thank you. Committed to trunk as obvious. Jim Index: gcc/cp/ChangeLog =================================================================== --- gcc/cp/ChangeLog (revision 230275) +++ gcc/cp/ChangeLog (working copy) @@ -1,4 +1,8 @@ 2015-11-12 James Norris + + * parser.c (cp_parser_oacc_declare): Remove unused. + +2015-11-12 James Norris Joseph Myers * parser.c (cp_parser_omp_clause_name): Handle 'device_resident' Index: gcc/cp/parser.c =================================================================== --- gcc/cp/parser.c (revision 230275) +++ gcc/cp/parser.c (working copy) @@ -34562,7 +34562,7 @@ static tree cp_parser_oacc_declare (cp_parser *parser, cp_token *pragma_tok) { - tree clauses, stmt, t; + tree clauses, stmt; bool error = false; clauses = cp_parser_oacc_all_clauses (parser, OACC_DECLARE_CLAUSE_MASK,