diff options
Diffstat (limited to 'gcc/stupid.c')
-rwxr-xr-x | gcc/stupid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c index c81894d..bf8b7b3 100755 --- a/gcc/stupid.c +++ b/gcc/stupid.c @@ -123,7 +123,7 @@ static HARD_REG_SET *after_insn_hard_regs; #define MARK_LIVE_AFTER(INSN,REGNO) \ SET_HARD_REG_BIT (after_insn_hard_regs[INSN_SUID (INSN)], (REGNO)) -static int stupid_reg_compare (const GENERIC_PTR,const GENERIC_PTR); +static int stupid_reg_compare (const void *,const void *); static int stupid_find_reg (int, enum reg_class, enum machine_mode, int, int, int); static void stupid_mark_refs (rtx, struct insn_chain *); @@ -455,8 +455,8 @@ stupid_life_analysis (f, nregs, file) static int stupid_reg_compare (r1p, r2p) - const GENERIC_PTR r1p; - const GENERIC_PTR r2p; + const void * r1p; + const void * r2p; { register int r1 = *(int *)r1p, r2 = *(int *)r2p; register int len1 = reg_where_dead[r1] - REG_WHERE_BORN (r1); |