diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-23 00:50:32 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-23 00:50:32 +0000 |
commit | 1cbcd833c9fd7b02727d5b429ca6088486504395 (patch) | |
tree | be67894d4e2e943cee2de7d67f6f487e28d87e95 /gcc/valtrack.c | |
parent | b4b7724e9b712f2d588c458136e14d65cf6d8d5b (diff) | |
download | gcc-1cbcd833c9fd7b02727d5b429ca6088486504395.zip gcc-1cbcd833c9fd7b02727d5b429ca6088486504395.tar.gz gcc-1cbcd833c9fd7b02727d5b429ca6088486504395.tar.bz2 |
valtrack.c: Use rtx_insn
gcc/
2014-08-23 David Malcolm <dmalcolm@redhat.com>
* 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
Diffstat (limited to 'gcc/valtrack.c')
-rw-r--r-- | gcc/valtrack.c | 8 |
1 files changed, 4 insertions, 4 deletions
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)) { |