From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17197 invoked by alias); 1 Jul 2009 02:05:39 -0000 Received: (qmail 17064 invoked by uid 22791); 1 Jul 2009 02:05:38 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jul 2009 02:05:31 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n6125TXE009520; Tue, 30 Jun 2009 22:05:29 -0400 Received: from omfg.slc.redhat.com (vpn-225-40.phx2.redhat.com [10.3.225.40]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n6125Sfo019721; Tue, 30 Jun 2009 22:05:28 -0400 Message-ID: <4A4AC491.6040507@redhat.com> Date: Wed, 01 Jul 2009 02:05:00 -0000 From: Jeff Law User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: "daniel.tian" CC: gcc@gcc.gnu.org Subject: Re: How to deal with unrecognizable RTL code References: <20090630061736.42B0D3758001@mail.mavrixtech.com.cn> In-Reply-To: <20090630061736.42B0D3758001@mail.mavrixtech.com.cn> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00003.txt.bz2 daniel.tian wrote: >> This looks like a different problem. What pass generates insn 17? What >> does insn 17 look like in the prior pass? If r14 is your stack/frame >> pointer, this might point to a problem in how your port interacts with >> register allocation/reload as reload can replace a pseudo with an >> equivalent memory location. >> >> > Exactly, But how do I prevent it, replacing a pseudo with an equivalent > memory location, happening. > I'd start by looking at your GO_IF_LEGITIMATE_ADDRESS macro and/or trace find_reloads for the problematic insn. jeff