diff --git a/gcc/reload1.c b/gcc/reload1.c index e46d76421a8..6e3c7e57b7a 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3668,11 +3668,12 @@ order_regs_for_reload () } /* Used in reload_as_needed to sort the spilled regs. */ + static int compare_spill_regs (r1, r2) short *r1, *r2; { - return *r1 < *r2 ? -1: 1; + return *r1 - *r2; } /* Reload pseudo-registers into hard regs around each insn as needed.