Commit 1cbcd833 by David Malcolm Committed by David Malcolm

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
parent b4b7724e
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.
2014-08-23 David Malcolm <dmalcolm@redhat.com>
* store-motion.c (store_killed_in_insn): Strengthen param "insn"
from const_rtx to const rtx_insn *.
(store_killed_after): Likewise. Strengthen locals "last", "act"
......
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment