From 60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Wed, 16 Jan 2002 09:24:00 +0000 Subject: calls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an integer literal to "rtx"... * calls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an integer literal to "rtx" pointer. (expand_call): Likewise. * flow.c (try_pre_increment): Likewise. (find_use_as_address): Likewise. * integrate.c (expand_iline_function): Likewise. * regmove.c (try_auto_increment): Likewise. From-SVN: r48906 --- gcc/regmove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/regmove.c') diff --git a/gcc/regmove.c b/gcc/regmove.c index f184deb..9530128 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -111,7 +111,7 @@ try_auto_increment (insn, inc_insn, inc_insn_set, reg, increment, pre) /* Can't use the size of SET_SRC, we might have something like (sign_extend:SI (mem:QI ... */ rtx use = find_use_as_address (pset, reg, 0); - if (use != 0 && use != (rtx) 1) + if (use != 0 && use != (rtx) (size_t) 1) { int size = GET_MODE_SIZE (GET_MODE (use)); if (0 -- cgit v1.1