From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93913 invoked by alias); 5 Dec 2017 23:22:14 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 93902 invoked by uid 89); 5 Dec 2017 23:22:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=048 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Dec 2017 23:22:13 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8484CBDD64; Tue, 5 Dec 2017 23:22:12 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-2.rdu2.redhat.com [10.10.112.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id C9B2D4262; Tue, 5 Dec 2017 23:22:11 +0000 (UTC) Subject: Re: [048/nnn] poly_int: cfgexpand stack variables To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org References: <871sltvm7r.fsf@linaro.org> <874lqpn5lq.fsf@linaro.org> From: Jeff Law Message-ID: <9c65a260-1001-8ae4-30fa-3ca774be1703@redhat.com> Date: Tue, 05 Dec 2017 23:22:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <874lqpn5lq.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00270.txt.bz2 On 10/23/2017 11:20 AM, Richard Sandiford wrote: > This patch changes the type of stack_var::size from HOST_WIDE_INT > to poly_uint64. The difference in signedness is because the > field was set by: > > v->size = tree_to_uhwi (size); > > > 2017-10-23 Richard Sandiford > Alan Hayward > David Sherwood > > gcc/ > * cfgexpand.c (stack_var::size): Change from a HOST_WIDE_INT > to a poly_uint64. > (add_stack_var, stack_var_cmp, partition_stack_vars) > (dump_stack_var_partition): Update accordingly. > (alloc_stack_frame_space): Take the size as a poly_int64 rather > than a HOST_WIDE_INT. > (expand_stack_vars, expand_one_stack_var_1): Handle polynomial sizes. > (defer_stack_allocation, estimated_stack_frame_size): Likewise. > (account_stack_vars, expand_one_var): Likewise. Return a poly_uint64 > rather than a HOST_WIDE_INT. > OK jeff