gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [PATCH] Fix PR rtl-optimization/27661 (reload problem)

Subject: Re: [PATCH] Fix PR rtl-optimization/27661 reload problem
From: Bernd Schmidt
Date: Thu, 25 May 2006 18:21:02 +0200
Ulrich Weigand wrote:
Hello,

this fixes PR 27661.  The problem here is how to handle address
reloads when the address was reduced to a simple const_int --
since the mode of the address thus is VOIDmode, what mode should
be used for the reload register?

From the sounds of it, you don't want the insn to end up with a constant in the address anyway, so can't you just disallow these kinds of addresses in GO_IF_LEGITIMATE_ADDRESS?


Bernd

<Prev in Thread] Current Thread [Next in Thread>