From patchwork Thu Apr 26 13:24:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Schmidt X-Patchwork-Id: 155267 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]) by ozlabs.org (Postfix) with SMTP id E43FAB6FA1 for ; Thu, 26 Apr 2012 23:27:40 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1336051661; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=5nhL606 ZpVfxHNnO9id/hyPyTkQ=; b=vInr58DfWBuiRvB9+V283+Rd1e8kPupIAtDXSIJ NDp5EAmqmldKxWp7MJrRq6JRwz6GgWz+bGnmuYcJCgcMTtgAGFzP22XcNw+OHBej yEU6Q84cyRiCJBQdg9LkLG1Iog1N4f0c1rNOYrV59BzoOWioxh5j6/MSGJroBRse LGPo= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Tt6DQpr5w9G+wRS4/CgRxBoAFqvq3BgqWr7dV0qguhBA1PYP+WYUce3KFsBxRb 2t0yhuVj6AtuVx1tS1wPP5xJuHY96u4xui10eYTNzmp6eFDhqk1sdurm/Q9/Yw0/ rJ0J4yCSvskEQMofidJTQJr6ktPKqHthb4iyflAejhVz0=; Received: (qmail 16683 invoked by alias); 26 Apr 2012 13:27:36 -0000 Received: (qmail 16675 invoked by uid 22791); 26 Apr 2012 13:27:36 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL, BAYES_00, FROM_12LTRDOM, KHOP_RCVD_UNTRUST, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, SUBJ_OBFU_PUNCT_FEW X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Apr 2012 13:27:23 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SNOjB-0003dY-Ve from Bernd_Schmidt@mentor.com for gcc-patches@gcc.gnu.org; Thu, 26 Apr 2012 06:27:22 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 26 Apr 2012 06:27:21 -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.1.289.1; Thu, 26 Apr 2012 14:27:19 +0100 Message-ID: <4F994C75.3050803@codesourcery.com> Date: Thu, 26 Apr 2012 15:24:05 +0200 From: Bernd Schmidt User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.3) Gecko/20120426 Thunderbird/10.0.3 MIME-Version: 1.0 To: GCC Patches Subject: Fix find_moveable_pseudos, PR52997 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 We're creating new pseudos, and while we're resizing some data structures, we aren't doing it for everything. Bootstrapped and tested on i686-linux, committed as obvious. Bernd Index: ChangeLog =================================================================== --- ChangeLog (revision 186874) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2012-04-26 Bernd Schmidt + + * PR middle-end/52997 + * ira.c (find_moveable_pseudos): Call resize_reg_info. + 2012-04-26 David S. Miller * config/sparc/niagara4.md: New file. Index: ira.c =================================================================== --- ira.c (revision 186712) +++ ira.c (working copy) @@ -3983,7 +3983,8 @@ find_moveable_pseudos (void) last_moveable_pseudo = max_reg_num (); - fix_reg_equiv_init(); + fix_reg_equiv_init (); + resize_reg_info (); regstat_free_n_sets_and_refs (); regstat_free_ri (); regstat_init_n_sets_and_refs ();