From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7635 invoked by alias); 14 Jan 2003 18:10:08 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 7628 invoked from network); 14 Jan 2003 18:10:07 -0000 Received: from unknown (HELO nikam.ms.mff.cuni.cz) (195.113.18.106) by 209.249.29.67 with SMTP; 14 Jan 2003 18:10:07 -0000 Received: from camelot.ms.mff.cuni.cz (kampanus.ms.mff.cuni.cz [195.113.18.107]) by nikam.ms.mff.cuni.cz (Postfix) with SMTP id 7C9B34DE91; Tue, 14 Jan 2003 19:09:56 +0100 (CET) Received: by camelot.ms.mff.cuni.cz (sSMTP sendmail emulation); Tue, 14 Jan 2003 19:09:58 +0100 Date: Tue, 14 Jan 2003 21:13:00 -0000 From: Jan Hubicka To: Janis Johnson Cc: gcc@gcc.gnu.org, jh@suse.cz Subject: Re: patch that caused regression PR f/9258 Message-ID: <20030114180958.GA340@kam.mff.cuni.cz> References: <20030114095503.A23671@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030114095503.A23671@us.ibm.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2003-01/txt/msg00694.txt.bz2 > The regression reported in PR f/9258 ([3.2/3.3/3.4 regression] ICE in > compensate_edge, at reg-stack.c:2589) showed up with this patch: > > Sat Jun 23 01:23:59 CEST 2001 Jan Hubicka > > * flow.c (mark_set_1, attempt_auto_inc, mark_used_reg, > try_pre_increment_1): compute REG_FREQ using bb->frequency. > > * regclass.c (loop_cost): Kill. > (frequency): New global variable. > (record_operand_costs): Replace loop_cost by frequency. > (scan_one_insn): Likewise. > (regclass): Likewise; set frequency according to bb->frequency. > > * flow.c (split_edge): Set frequency. > > I used the minimized test case from the PR and got the same ICE message. > This information has been added to the PR. Thanks. It looks like the patch just uncovered latent problem, I will try to look into this. Would be possible next time when regression is caused by my patch to assign the bugreport to me so I don't forget about them? Honza > > Janis