aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra-constraints.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2018-08-02 22:39:59 +0000
committerJeff Law <law@gcc.gnu.org>2018-08-02 16:39:59 -0600
commit65e8746285c96f66653fe19d69f1880a400bdbb0 (patch)
tree3c741572febf94789ee04e248dbfec94bf30b93a /gcc/lra-constraints.c
parent653fee1961981f1fee3a0ced7ac4d36b4cec2064 (diff)
downloadgcc-65e8746285c96f66653fe19d69f1880a400bdbb0.zip
gcc-65e8746285c96f66653fe19d69f1880a400bdbb0.tar.gz
gcc-65e8746285c96f66653fe19d69f1880a400bdbb0.tar.bz2
nds32.c (nds32_hard_regno_mode_ok): Replace > with >=.
* config/nds32/nds32.c (nds32_hard_regno_mode_ok): Replace > with >=. * df-problems.c (df_remove_dead_eq_notes): Replace > with >=. * dwarf2out.c (mem_loc_descriptor): Replace > with >=. * lra-constraints.c (spill_hard_reg_in_range): Replace <= with <. * lra-remat.c (call_used_input_regno_present_p): Replace <= with <. From-SVN: r263280
Diffstat (limited to 'gcc/lra-constraints.c')
-rw-r--r--gcc/lra-constraints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c
index 6d4042e..8be4d46 100644
--- a/gcc/lra-constraints.c
+++ b/gcc/lra-constraints.c
@@ -5709,7 +5709,7 @@ spill_hard_reg_in_range (int regno, enum reg_class rclass, rtx_insn *from, rtx_i
struct lra_insn_reg *reg;
for (reg = id->regs; reg != NULL; reg = reg->next)
- if (reg->regno <= FIRST_PSEUDO_REGISTER)
+ if (reg->regno < FIRST_PSEUDO_REGISTER)
SET_HARD_REG_BIT (ignore, reg->regno);
for (reg = static_id->hard_regs; reg != NULL; reg = reg->next)
SET_HARD_REG_BIT (ignore, reg->regno);