From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20201 invoked by alias); 16 Feb 2006 17:28:43 -0000 Received: (qmail 20193 invoked by uid 22791); 16 Feb 2006 17:28:43 -0000 X-Spam-Check-By: sourceware.org Received: from mail.overta.ru (HELO overta.ru) (217.65.208.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Feb 2006 17:28:41 +0000 Received: from [217.65.211.213] (HELO localhost) by overta.ru (CommuniGate Pro SMTP 4.2.9) with ESMTP id 33888778; Thu, 16 Feb 2006 20:28:36 +0300 To: Ian Lance Taylor Cc: Denis Chertykov , Eric Christopher , gcc@gcc.gnu.org Subject: Re: CAN_ELIMINATE question References: <93106CFF-7969-45F5-B56B-70CFBBBEAD83@apple.com> From: Denis Chertykov Date: Thu, 16 Feb 2006 17:28:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 X-SW-Source: 2006-02/txt/msg00310.txt.bz2 Ian Lance Taylor writes: [...] > > > I think that better to call update_eliminables() somewhere after > > setup_save_areas() > > Exactly. We do that. About 15 lines after the lines you quoted > above. > > What am I missing? I'm (exactly AVR port) need in call to update_eliminables() somewhere between setup_save_areas() and calculate_needs_all_insns() (Not "about 15 lines after" ;) because all bad things happened inside calculate_needs_all_insns(). calculate_needs_all_insns() collect wrong reloads because reg_eliminate structure for FP->SP have wrong can_eliminate field. Denis.