diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2018-08-02 22:39:59 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-08-02 16:39:59 -0600 |
commit | 65e8746285c96f66653fe19d69f1880a400bdbb0 (patch) | |
tree | 3c741572febf94789ee04e248dbfec94bf30b93a /gcc/config/nds32 | |
parent | 653fee1961981f1fee3a0ced7ac4d36b4cec2064 (diff) | |
download | gcc-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/config/nds32')
-rw-r--r-- | gcc/config/nds32/nds32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c index 85a2986..721135e 100644 --- a/gcc/config/nds32/nds32.c +++ b/gcc/config/nds32/nds32.c @@ -4342,7 +4342,7 @@ nds32_hard_regno_nregs (unsigned regno ATTRIBUTE_UNUSED, static bool nds32_hard_regno_mode_ok (unsigned int regno, machine_mode mode) { - if (regno > FIRST_PSEUDO_REGISTER) + if (regno >= FIRST_PSEUDO_REGISTER) return true; if ((TARGET_FPU_SINGLE || TARGET_FPU_DOUBLE) && NDS32_IS_FPR_REGNUM (regno)) |