diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-09-04 10:10:03 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-09-04 10:10:03 +0200 |
commit | 8eb587b63c03b3575b6e270f4ed66f6e68a5d14c (patch) | |
tree | b82d662415038fbccf581449ef89c36eb068c0c0 | |
parent | 792ce29f1cfe2b34a9f081d929e57135f36c3374 (diff) | |
download | gcc-8eb587b63c03b3575b6e270f4ed66f6e68a5d14c.zip gcc-8eb587b63c03b3575b6e270f4ed66f6e68a5d14c.tar.gz gcc-8eb587b63c03b3575b6e270f4ed66f6e68a5d14c.tar.bz2 |
* lra-remat.c (reg_overlap_for_remat_p): Fix a pasto.
From-SVN: r251639
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lra-remat.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1bdd85..1c2642d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-09-04 Jakub Jelinek <jakub@redhat.com> + + * lra-remat.c (reg_overlap_for_remat_p): Fix a pasto. + 2017-09-04 Richard Sandiford <richard.sandiford@linaro.org> PR bootstrap/82045 diff --git a/gcc/lra-remat.c b/gcc/lra-remat.c index f28993e..50582dc 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]; |