From patchwork Tue Sep 1 16:31:12 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: 512948 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 85609140129 for ; Wed, 2 Sep 2015 02:31:36 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=HhloUU53; 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:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=DF0Dgy9Q4QaAr1tJD N1dHSERdTzLz7iXiHOflCN5Pz+xscRPRcV708+d3GQENAWLH333bzQUh/H6iqf4l qpu0YtPNw8j0VS+VkRvTftG60r/DHOSk+zcjgCKxOsoDZsLJLmPuNKxyciZfmddC eKDCwiOw/+/a0NbJwQmYesGjZ4= 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:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=Mf4/GcFFlCLBzyOlpdgW6Av H+u4=; b=HhloUU5391BDHc8pq6CtD2W2JchVeCCpwQ6zRnj1bO3jodEtsro3awq kzTmdiFVai3CVzDTcH1YWBN3I2X6nlsdaHCYWyDWfTheU1MOcmMttFPON9zgXAmq 3O1OsaxFDvs/rHw/mFlShOjGI9UYN2fhcYo5wiTnc/BsHSmc/ZpI= Received: (qmail 15374 invoked by alias); 1 Sep 2015 16:31:29 -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 15360 invoked by uid 89); 1 Sep 2015 16:31:28 -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:31:27 +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 1ZWoSy-0002TG-FS from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Tue, 01 Sep 2015 09:31:24 -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:31:23 +0100 Subject: Re: [gomp4, wip] remove references to ganglocal shared memory inside gcc To: Cesar Philippidis , "gcc-patches@gcc.gnu.org" , Nathan Sidwell References: <55DE69C3.4060707@codesourcery.com> From: Tom de Vries Message-ID: <55E5D2D0.7010200@mentor.com> Date: Tue, 1 Sep 2015 18:31:12 +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: <55DE69C3.4060707@codesourcery.com> On 27/08/15 03:37, Cesar Philippidis wrote: > - tree ganglocal_size > - = gimple_call_arg (goacc_kernels_internal, /* TODO */ 6); > - gimple_omp_target_set_ganglocal_size (stmt, ganglocal_size); This caused a bootstrap failure. Committed as attached. Thanks, - Tom Remove unused var in create_parallel_loop 2015-09-01 Tom de Vries * tree-parloops.c (create_parallel_loop): Remove unused variable goacc_kernels_internal. --- gcc/tree-parloops.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index c6942d5..02dd6d5 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -2058,9 +2058,6 @@ create_parallel_loop (struct loop *loop, tree loop_fn, tree data, GOACC_kernels_internal call. */ gomp_target *kernels = as_a (gsi_stmt (gsi)); - gsi_prev (&gsi); - gcall *goacc_kernels_internal = as_a (gsi_stmt (gsi)); - tree clauses = gimple_omp_target_clauses (kernels); /* FIXME: We need a more intelligent mapping onto vector, gangs, workers. */ -- 1.9.1