Use `enum rtx_code' rather than `int' to hold the the RTL expression code in `vax_rtx_costs', matching the type these codes have been defined with and making debugging just a tiny little bit easier.
gcc/ * config/vax/vax.c (vax_rtx_costs): Use `rtx_code' rather than `int' for `code'. --- Hi, No regressions in `vax-netbsdelf' testing. Committed as obvious. Maciej --- gcc/config/vax/vax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) gcc-vax-rtx-code.diff Index: gcc/gcc/config/vax/vax.c =================================================================== --- gcc.orig/gcc/config/vax/vax.c +++ gcc/gcc/config/vax/vax.c @@ -764,7 +764,7 @@ vax_rtx_costs (rtx x, machine_mode mode, int opno ATTRIBUTE_UNUSED, int *total, bool speed ATTRIBUTE_UNUSED) { - int code = GET_CODE (x); + enum rtx_code code = GET_CODE (x); int i = 0; /* may be modified in switch */ const char *fmt = GET_RTX_FORMAT (code); /* may be modified in switch */