diff options
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index de3219d8df9..bdf2c313b51 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3170,16 +3170,9 @@ delete_prior_computation (rtx note, rtx insn) && REG_P (SET_DEST (pat))) { int dest_regno = REGNO (SET_DEST (pat)); - int dest_endregno - = (dest_regno - + (dest_regno < FIRST_PSEUDO_REGISTER - ? hard_regno_nregs[dest_regno] - [GET_MODE (SET_DEST (pat))] : 1)); + int dest_endregno = END_REGNO (SET_DEST (pat)); int regno = REGNO (reg); - int endregno - = (regno - + (regno < FIRST_PSEUDO_REGISTER - ? hard_regno_nregs[regno][GET_MODE (reg)] : 1)); + int endregno = END_REGNO (reg); if (dest_regno >= regno && dest_endregno <= endregno) |