Commit c34d858f by Richard Kenner

(emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG.

From-SVN: r10834
parent c6716840
......@@ -1033,7 +1033,8 @@ emit_move_sequence (operands, mode, scratch_reg)
safe to be used as the base in an indexed address.
Don't mark hard registers though. That loses. */
if (REGNO (operand0) >= FIRST_PSEUDO_REGISTER)
if (GET_CODE (operand0) == REG
&& REGNO (operand0) >= FIRST_PSEUDO_REGISTER)
REGNO_POINTER_FLAG (REGNO (operand0)) = 1;
if (REGNO (temp) >= FIRST_PSEUDO_REGISTER)
REGNO_POINTER_FLAG (REGNO (temp)) = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment