This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] SH: Bootstrap failure
Richard Henderson wrote:
copy_to_mode_reg has this code:
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.
/* If not an operand, must be an address with PLUS and MULT so
do the computation. */
if (! general_operand (x, VOIDmode))
x = force_operand (x, temp);