This is the mail archive of the gcc@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: deleted insns ???


On Fri, Nov 01, 2002 at 03:33:03PM +0300, Dmitry wrote:
>    if(!const_int_operand(operands[2],VOIDmode))
>    {
>      operands[0] = force_reg(HImode,operands[0]);
>      operands[1] = force_reg(HImode,operands[1]);
>      operands[2] = copy_to_mode_reg(HImode,operands[2]);
>      emit_insn(gen_ashlhi3_cnt (operands[0], operands[1], operands[2]));

Your bug is that you didn't copy the register back 
into the memory destination you were given.


r~


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