From: Richard Kenner Date: Fri, 22 Dec 1995 22:40:00 +0000 (-0500) Subject: (emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c34d858fbb9ea44399eebbe00172d5c4fe330126;p=gcc.git (emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG. From-SVN: r10834 --- diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index baee1c57045..3b201cdf666 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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;