From 51c7dd986881a7b414f3f456be0fe1d4ac6b3dd3 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 26 Aug 2014 19:35:51 +0000 Subject: [PATCH] Use rtx_insn in more places in fwprop.c gcc/ 2014-08-26 David Malcolm * fwprop.c (local_ref_killed_between_p): Strengthen params "from", "to" and local "insn" from rtx to rtx_insn *. From-SVN: r214541 --- gcc/ChangeLog | 5 +++++ gcc/fwprop.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff88b750fc5..3bfc551606b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-26 David Malcolm + + * fwprop.c (local_ref_killed_between_p): Strengthen params "from", + "to" and local "insn" from rtx to rtx_insn *. + 2014-08-26 David Malcolm * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn" diff --git a/gcc/fwprop.c b/gcc/fwprop.c index a7fee9d446f..e9ee25e1c87 100644 --- a/gcc/fwprop.c +++ b/gcc/fwprop.c @@ -692,9 +692,9 @@ propagate_rtx (rtx x, enum machine_mode mode, rtx old_rtx, rtx new_rtx, between FROM to (but not including) TO. */ static bool -local_ref_killed_between_p (df_ref ref, rtx from, rtx to) +local_ref_killed_between_p (df_ref ref, rtx_insn *from, rtx_insn *to) { - rtx insn; + rtx_insn *insn; for (insn = from; insn != to; insn = NEXT_INSN (insn)) { -- 2.30.2