From patchwork Tue Sep 1 16:29:55 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: 512947 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 D3A44140129 for ; Wed, 2 Sep 2015 02:30:26 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=O+/A63NG; 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=qGkZAFO5svnlEsVyz gBSiKZTbnLUuKKZpZns5GBAEbAXnsleWA/R5ZXUFz/3rRuIsxHlcwznqzsSG0Yjw GwAPBcJTPHY4BLEU+LhaxyjUUk1XTVrMG4xMR5q6gC5VP2VjPF7l+0uyjPdvGXeV CEHGTpudokxQNP5QFOJSGbChJ0= 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=DpNxcldzbNT87bqJ0/OlhvK MDbg=; b=O+/A63NGLCfIiKINFLKqw4V/UeOKqhkPJ2NxWHLC8Z6oxWJpJmHd2Fj 9dWaXg3YtwhKZtrMXxV1JMjTMJ4aYfU5A380L2zjfsR5iYfETO3AYIRb5flc9m7L ggXLd2AN5fOzT2IOY3guQxYgQEy8vvLOpajXoChGHg8wBw5SXvGc= Received: (qmail 12578 invoked by alias); 1 Sep 2015 16:30:19 -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 12278 invoked by uid 89); 1 Sep 2015 16:30:11 -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:30:11 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-05.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ZWoRj-00027n-Pr from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Tue, 01 Sep 2015 09:30:08 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-05.mgc.mentorg.com (137.202.0.112) with Microsoft SMTP Server id 14.3.224.2; Tue, 1 Sep 2015 17:30:06 +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: <55E5D283.8080105@mentor.com> Date: Tue, 1 Sep 2015 18:29:55 +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: > - ctx->ganglocal_size_host = align_and_expand (&gl_host, host_size, align); I suspect this caused a bootstrap failure (align_and_expand unused). Worked-around as attached. Thanks, - Tom Mark align_and_expand as unused 2015-09-01 Tom de Vries * omp-low.c (align_and_expand): Mark as unused. --- gcc/omp-low.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/omp-low.c b/gcc/omp-low.c index a62daa2..fdca880 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -1450,7 +1450,7 @@ omp_copy_decl (tree var, copy_body_data *cb) /* Modify the old size *POLDSZ to align it up to ALIGN, and then return a value with SIZE added to it. */ -static tree +static tree ATTRIBUTE_UNUSED align_and_expand (tree *poldsz, tree size, unsigned int align) { tree oldsz = *poldsz; -- 1.9.1