On Mon, 2022-09-12 14:19:23 +0200, Jan-Benedict Glaw wrote: > 2022-09-06 Jan-Benedict Glaw > > gcc/ChangeLog: > * config/csky/csky.h (FUNCTION_ARG_REGNO_P): Cast REGNO to (int) > to prevent warning. > > diff --git a/gcc/config/csky/csky.h b/gcc/config/csky/csky.h > index 37410f0cda4..730d1b44ef1 100644 > --- a/gcc/config/csky/csky.h > +++ b/gcc/config/csky/csky.h > @@ -418,7 +418,7 @@ typedef struct > The int cast is to prevent a complaint about unsigned comparison to > zero, since CSKY_FIRST_PARM_REGNUM is zero. */ > #define FUNCTION_ARG_REGNO_P(REGNO) \ > - (((REGNO) >= CSKY_FIRST_PARM_REGNUM \ > + (((int)(REGNO) >= CSKY_FIRST_PARM_REGNUM \ > && (REGNO) < (CSKY_NPARM_REGS + CSKY_FIRST_PARM_REGNUM)) \ > || FUNCTION_VARG_REGNO_P(REGNO)) > > > Ok for HEAD? Just wanted to give this a ping. MfG, JBG --