From patchwork Mon Jul 28 15:11:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 374236 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 DE2041400E0 for ; Tue, 29 Jul 2014 01:11:31 +1000 (EST) 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=DKUk7RPmGJkDZrCt7HUifmhcSEUHCbgIdzmt8RS1Vcia7N ciG/w7OlxD9k2DbT1xy7P47NVx7Y3Ged1DfZAGH/Nn4Y5IeVsCamSaMlzxi1X1dr TFDZ50d4rajfkqPp2dhklv9lR8P+iYvQQ8l646FSVG464NQw8JYI3g+93Blek= 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=CCZX9DOpBhNLQbini5iOqgXz67E=; b=tV5YjN2oHHRr429pK/6C Nlysp7UCWnFtykmiBJSEQZpsefcK1iSqJy2B6eNjO8hhfAgKnUWGYB7XXrj4Ll28 AU1VUa+WeuuZM7HUeny2jhJnIPug5kcJwHV2eSjlwH5jM820+TzBDvyeunnbtldj HPBbDEgD5IVBFUXOYsVmNYE= Received: (qmail 30866 invoked by alias); 28 Jul 2014 15:11:24 -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 30840 invoked by uid 89); 28 Jul 2014 15:11:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00 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; Mon, 28 Jul 2014 15:11:22 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1XBma5-0004qV-M4 from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Mon, 28 Jul 2014 08:11:17 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 28 Jul 2014 08:11:17 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Mon, 28 Jul 2014 16:11:16 +0100 Message-ID: <53D66812.2010905@mentor.com> Date: Mon, 28 Jul 2014 17:11:14 +0200 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH][gomp4] Fix bootstrap Hi, this patch removes some unused variables and fixes bootstrap of the gomp-4_0-branch. Committed to gomp-4_0-branch as trivial. Thanks, - Tom 2014-07-28 Tom de Vries * omp-low.c (process_reduction_data): Remove unused variables. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index b188e2d..927522c 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -9696,8 +9696,6 @@ process_reduction_data (gimple_seq *body, gimple_seq *in_stmt_seqp, switch (gimple_code (stmt)) { case GIMPLE_OMP_FOR: - tree clauses, nthreads, t; - clauses = gimple_omp_for_clauses (stmt); /* Search for a reduction clause. */