This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] SH: Bootstrap failure


On Wed, May 04, 2005 at 01:58:26PM +0100, Joern RENNECKE wrote:
> The entire sequence should collapse to something like:
> 
> fpregs
>  = copy_to_mode_reg (Pmode, plus_constant (XEXP (regbuf, 0),
>                                            n_floatregs * UNITS_PER_WORD));

copy_to_mode_reg is a move function.  You need to pass it objects,
not expressions.  Doing the plus_constant before force_operand,
however, is a reasonable thing to do.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]