From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112310 invoked by alias); 25 Apr 2017 16:40:34 -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 112205 invoked by uid 89); 25 Apr 2017 16:40:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:549 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, 25 Apr 2017 16:40:25 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C85F046D096; Tue, 25 Apr 2017 16:40:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C85F046D096 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C85F046D096 Received: from localhost.localdomain (ovpn-122-222.rdu2.redhat.com [10.10.122.222]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4DDF517B11; Tue, 25 Apr 2017 16:40:24 +0000 (UTC) Subject: Re: [PATCH 7/9] ira-color To: Andrew Jenner , GCC Patches References: From: Jeff Law Message-ID: Date: Tue, 25 Apr 2017 16:47:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg01239.txt.bz2 On 04/01/2017 10:48 AM, Andrew Jenner wrote: > In the course of working with ia16, I found a case where the > sorted_allocnos array in ira-color.c requires more than ira_allocnos_num > entries. The following patch allows this array to expand when this happens. > > 2017-04-01 Andrew Jenner > > * ira-color.c (n_sorted_allocnos): New variable. > (improve_allocation): Use it. > (ira_initiate_assign): Initialize it. > (fast_allocation): Likewise. Again, testcase or more information needed. jeff