summaryrefslogtreecommitdiff
path: root/gcc/stupid.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stupid.c')
-rw-r--r--gcc/stupid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c
index 42b57106d6d..b61f7444ccc 100644
--- a/gcc/stupid.c
+++ b/gcc/stupid.c
@@ -124,7 +124,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 PROTO((const GENERIC_PTR,const GENERIC_PTR));
+static int stupid_reg_compare PROTO((const PTR,const PTR));
static int stupid_find_reg PROTO((int, enum reg_class, enum machine_mode,
int, int, int));
static void stupid_mark_refs PROTO((rtx, struct insn_chain *));
@@ -443,8 +443,8 @@ stupid_life_analysis (f, nregs, file)
static int
stupid_reg_compare (r1p, r2p)
- const GENERIC_PTR r1p;
- const GENERIC_PTR r2p;
+ const PTR r1p;
+ const PTR r2p;
{
register int r1 = *(int *)r1p, r2 = *(int *)r2p;
register int len1 = reg_where_dead[r1] - REG_WHERE_BORN (r1);