*** empty log message ***

From-SVN: r1087
This commit is contained in:
Richard Kenner 1992-05-25 21:33:51 -04:00
parent 700f6f985c
commit 178c39f68b
1 changed files with 4 additions and 3 deletions

View File

@ -2360,10 +2360,11 @@ canon_reg (x, insn)
rtx new = canon_reg (XEXP (x, i), insn);
/* If replacing pseudo with hard reg or vice versa, ensure the
insn remains valid. */
insn remains valid. Likewise if the insn has MATCH_DUPs. */
if (new && GET_CODE (new) == REG && GET_CODE (XEXP (x, i)) == REG
&& ((REGNO (new) < FIRST_PSEUDO_REGISTER)
!= (REGNO (XEXP (x, i)) < FIRST_PSEUDO_REGISTER)))
&& (((REGNO (new) < FIRST_PSEUDO_REGISTER)
!= (REGNO (XEXP (x, i)) < FIRST_PSEUDO_REGISTER))
|| (insn != 0 && insn_n_dups[recog_memoized (insn)] > 0)))
validate_change (insn, &XEXP (x, i), new, 0);
else
XEXP (x, i) = new;