From 65e8746285c96f66653fe19d69f1880a400bdbb0 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Thu, 2 Aug 2018 22:39:59 +0000 Subject: 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 --- gcc/lra-remat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/lra-remat.c') diff --git a/gcc/lra-remat.c b/gcc/lra-remat.c index 527f2dd..faf74ca 100644 --- a/gcc/lra-remat.c +++ b/gcc/lra-remat.c @@ -708,7 +708,7 @@ call_used_input_regno_present_p (rtx_insn *insn) for (reg = (iter == 0 ? id->regs : static_id->hard_regs); reg != NULL; reg = reg->next) - if (reg->type == OP_IN && reg->regno <= FIRST_PSEUDO_REGISTER + if (reg->type == OP_IN && reg->regno < FIRST_PSEUDO_REGISTER && TEST_HARD_REG_BIT (call_used_reg_set, reg->regno)) return true; return false; -- cgit v1.1