From: Jakub Jelinek Date: Mon, 4 Sep 2017 08:10:03 +0000 (+0200) Subject: * lra-remat.c (reg_overlap_for_remat_p): Fix a pasto. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8eb587b63c03b3575b6e270f4ed66f6e68a5d14c;p=gcc.git * lra-remat.c (reg_overlap_for_remat_p): Fix a pasto. From-SVN: r251639 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1bdd8593b3..1c2642d1508 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-09-04 Jakub Jelinek + + * lra-remat.c (reg_overlap_for_remat_p): Fix a pasto. + 2017-09-04 Richard Sandiford PR bootstrap/82045 diff --git a/gcc/lra-remat.c b/gcc/lra-remat.c index f28993e818d..50582dc68ff 100644 --- a/gcc/lra-remat.c +++ b/gcc/lra-remat.c @@ -684,7 +684,7 @@ reg_overlap_for_remat_p (lra_insn_reg *reg, rtx_insn *insn) if (regno2 >= FIRST_PSEUDO_REGISTER && reg_renumber[regno2] >= 0) regno2 = reg_renumber[regno2]; - if (regno >= FIRST_PSEUDO_REGISTER) + if (regno2 >= FIRST_PSEUDO_REGISTER) nregs2 = 1; else nregs2 = hard_regno_nregs[regno2][reg->biggest_mode];