diff options
Diffstat (limited to 'gcc/lra-constraints.c')
| -rw-r--r-- | gcc/lra-constraints.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index f6d5ac3..2045b00 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -3329,8 +3329,9 @@ lra_constraints (bool first_p) reg = regno_reg_rtx[i]; if ((hard_regno = lra_get_regno_hard_regno (i)) >= 0) { - int j, nregs = hard_regno_nregs[hard_regno][PSEUDO_REGNO_MODE (i)]; + int j, nregs; + nregs = hard_regno_nregs[hard_regno][lra_reg_info[i].biggest_mode]; for (j = 0; j < nregs; j++) df_set_regs_ever_live (hard_regno + j, true); } |
