From ffd80b43481c1b55b40dda064cf04293c3765632 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 29 Aug 2014 00:14:43 +0000 Subject: Strengthen params to active_insn_between gcc/ 2014-08-28 David Malcolm * shrink-wrap.h (active_insn_between): Strengthen both params from rtx to rtx_insn *. * function.c (active_insn_between): Likewise. From-SVN: r214704 --- gcc/function.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 54fb9b4..dc9c06b 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5426,9 +5426,8 @@ set_return_jump_label (rtx returnjump) #if defined (HAVE_return) || defined (HAVE_simple_return) /* Return true if there are any active insns between HEAD and TAIL. */ bool -active_insn_between (rtx head, rtx uncast_tail) +active_insn_between (rtx_insn *head, rtx_insn *tail) { - rtx_insn *tail = safe_as_a (uncast_tail); while (tail) { if (active_insn_p (tail)) -- cgit v1.1