This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RS6000 fix pr16480
On Wed, Aug 25, 2004 at 07:44:55PM -0400, David Edelsohn wrote:
> So you patch changes the behavior for LO_SUM, SYMBOL_REF, and
> CONST, which previously would have aborted.
Yes.
> Now it sets j for the former
> and leaves j=-1 for the latter two.
The whole point of setting j to something other than -1 is to handle the
case where we have a base register that is also a destination register.
That can only happen if we find a REG somewhere in the mem address. My
previous email enumerates the types of address rtl that we might see
here..
--
Alan Modra
IBM OzLabs - Linux Technology Centre