Message ID | 20140115160726.GE24303@lug-owl.de |
---|---|
State | New |
Headers | show |
Jan-Benedict Glaw wrote > * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Vix unused variable >warning. Fix? ;-) And if it's been broken for a while, just go ahead and commit the fix. Gerald
--- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -295,7 +295,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES }; /* 1 if N is a possible register number for function argument passing. On the VAX, no registers are used in this way. */ -#define FUNCTION_ARG_REGNO_P(N) 0 +#define FUNCTION_ARG_REGNO_P(N) ((void) (N), 0) /* Define a data type for recording info about an argument list during the scan of that argument list. This data type should