This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PA move_operand
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: PA move_operand
- From: law at redhat dot com
- Date: Fri, 13 Apr 2001 14:49:13 -0700
- cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <Pine.LNX.4.21.0103222300070.25183-100000@front.linuxcare.com.au>y
ou write:
> On Wed, 21 Mar 2001 law@redhat.com wrote:
>
> > Second, reload should have realized the constraints did not match and
> > reworked things so that they did match.
>
> This change to the PIC match in GO_IF_LEGITIMATE_ADDRESS works for me.
> It allows the `T' constraint to behave as the comment in
> EXTRA_CONSTRAINT suggests.
>
> * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
> fp mode addresses.
Thanks. I've never been particularly happy with the call-back into
memory_address_p for the "T" constraint, but I couldn't find a cleaner
way to accomplish the same thing without duplicating a lot of code.
I went ahead and installed this onto the branch as well as in the
mainline sources.
jeff