diff options
author | YamaArashi <shadow962@live.com> | 2016-02-17 06:18:37 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-17 06:18:37 -0800 |
commit | 9cc5f8edb21ac07bff87def5155ee71dff449e37 (patch) | |
tree | b75b0eb06bf733811e4f54bd28dd6fa93fa8f485 /gcc/stupid.c | |
parent | 75ff61fd74b379f7278b1042e269ea3a6ee66518 (diff) |
get rid of PTR macros
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); |