From 1cbcd833c9fd7b02727d5b429ca6088486504395 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sat, 23 Aug 2014 00:50:32 +0000 Subject: valtrack.c: Use rtx_insn gcc/ 2014-08-23 David Malcolm * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from rtx to rtx_insn *. (dead_debug_promote_uses): Likewise. (dead_debug_insert_temp): Likewise. From-SVN: r214390 --- gcc/valtrack.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/valtrack.c') diff --git a/gcc/valtrack.c b/gcc/valtrack.c index b5c4913..44001bf 100644 --- a/gcc/valtrack.c +++ b/gcc/valtrack.c @@ -343,7 +343,7 @@ dead_debug_reset_uses (struct dead_debug_local *debug, while (head) { struct dead_debug_use *next = head->next; - rtx insn; + rtx_insn *insn; insn = DF_REF_INSN (head->use); if (!next || DF_REF_INSN (next->use) != insn) @@ -431,7 +431,7 @@ dead_debug_promote_uses (struct dead_debug_local *debug) REGNO (reg), &debug->to_rescan)) { - rtx insn = DF_REF_INSN (ref); + rtx_insn *insn = DF_REF_INSN (ref); INSN_VAR_LOCATION_LOC (insn) = gen_rtx_UNKNOWN_VAR_LOC (); bitmap_set_bit (debug->to_rescan, INSN_UID (insn)); } @@ -447,7 +447,7 @@ dead_debug_promote_uses (struct dead_debug_local *debug) DEBUG_EXPR_TREE_DECL (entry->dtemp), gen_rtx_UNKNOWN_VAR_LOC (), VAR_INIT_STATUS_INITIALIZED); - rtx insn = emit_debug_insn_before (bind, DF_REF_INSN (ref)); + rtx_insn *insn = emit_debug_insn_before (bind, DF_REF_INSN (ref)); bitmap_set_bit (debug->to_rescan, INSN_UID (insn)); } @@ -697,7 +697,7 @@ dead_debug_insert_temp (struct dead_debug_local *debug, unsigned int uregno, probably doesn't make sense to introduce a new debug temp. */ if (where == DEBUG_TEMP_AFTER_WITH_REG && !uses->next) { - rtx next = DF_REF_INSN (uses->use); + rtx_insn *next = DF_REF_INSN (uses->use); if (DEBUG_INSN_P (next) && reg == INSN_VAR_LOCATION_LOC (next)) { -- cgit v1.1