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


Richard Henderson wrote:



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~


copy_to_mode_reg has this code:

 /* 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);


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