* cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.

From-SVN: r46488
This commit is contained in:
Kaveh R. Ghazi 2001-10-25 13:08:45 +00:00 committed by Kaveh Ghazi
parent 10b76d7395
commit 1ec586aeed
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* alias.c (can_address_p): No longer static.

View File

@ -837,7 +837,7 @@ enum reg_class {NO_REGS, ALL_REGS, LIM_REG_CLASSES};
number of __builtin_eh_return callers is limited. For now return
parameter registers in reverse order and hope for the best. */
#define EH_RETURN_DATA_REGNO(N) \
(((N) >= 0 && (N) < 4) ? (CRIS_FIRST_ARG_REG + 3 - (N)) : INVALID_REGNUM)
(IN_RANGE((N), 0, 3) ? (CRIS_FIRST_ARG_REG + 3 - (N)) : INVALID_REGNUM)
/* Store the stack adjustment in the structure-return-address register. */
#define CRIS_STACKADJ_REG STRUCT_VALUE_REGNUM