This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: frv: asm reloads for pseudos assigned to memory fail
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: aoliva at redhat dot com (Alexandre Oliva)
- Cc: rth at redhat dot com (Richard Henderson), gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jul 2004 20:34:42 +0100 (BST)
- Subject: Re: frv: asm reloads for pseudos assigned to memory fail
> We had a long discussion on IRC about why FRV had to be different in
> this regard. The reason is that FRV FDPIC doesn't use a fixed PIC
> register, and takes care of making sure we won't add new references to
> the GOT value during reload. These patterns are part of this.
> Richard ended up approving the patch, so I'm checking it in.
But frv_cannot_force_const_mem already takes care of the PIC problem,
and you can avoid inadvertantly using a load in the non-PIC case by making
the load alternatives expensive enough.