diff options
Diffstat (limited to 'gcc/config/moxie/moxie.h')
-rw-r--r-- | gcc/config/moxie/moxie.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/moxie/moxie.h b/gcc/config/moxie/moxie.h index 0cfc11b352b..6f64a7b578c 100644 --- a/gcc/config/moxie/moxie.h +++ b/gcc/config/moxie/moxie.h @@ -405,7 +405,7 @@ enum reg_class #define INDEX_REG_CLASS NO_REGS #define HARD_REGNO_OK_FOR_BASE_P(NUM) \ - ((NUM) >= 0 && (NUM) < FIRST_PSEUDO_REGISTER \ + ((unsigned) (NUM) < FIRST_PSEUDO_REGISTER \ && (REGNO_REG_CLASS(NUM) == GENERAL_REGS \ || (NUM) == HARD_FRAME_POINTER_REGNUM)) |