Deleted Added
full compact
7356a7357,7359
> #ifdef SECONDARY_MEMORY_NEEDED
> int in_regnum, out_regnum;
> #endif
7519,7522c7522,7527
< else if (GET_CODE (in) == REG && REGNO (in) < FIRST_PSEUDO_REGISTER
< && GET_CODE (out) == REG && REGNO (out) < FIRST_PSEUDO_REGISTER
< && SECONDARY_MEMORY_NEEDED (REGNO_REG_CLASS (REGNO (in)),
< REGNO_REG_CLASS (REGNO (out)),
---
> else if ((in_regnum = true_regnum (in)) >= 0
> && in_regnum < FIRST_PSEUDO_REGISTER
> && (out_regnum = true_regnum (out)) >= 0
> && out_regnum < FIRST_PSEUDO_REGISTER
> && SECONDARY_MEMORY_NEEDED (REGNO_REG_CLASS (in_regnum),
> REGNO_REG_CLASS (out_regnum),
7529c7534
< out = gen_rtx_REG (GET_MODE (loc), REGNO (out));
---
> out = gen_rtx_REG (GET_MODE (loc), out_regnum);
7532c7537
< in = gen_rtx_REG (GET_MODE (loc), REGNO (in));
---
> in = gen_rtx_REG (GET_MODE (loc), in_regnum);
7583a7589,7593
> /* It is possible that this reload has been only used to set another reload
> we eliminated earlier and thus deleted this instruction too. */
> if (INSN_DELETED_P (output_reload_insn))
> return;
>