gcc/
        * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
        rtx to rtx_insn *.
        (dead_debug_promote_uses): Likewise.
        (dead_debug_insert_temp): Likewise.
---
 gcc/valtrack.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/valtrack.c b/gcc/valtrack.c
index 91cb0d5..977f584 100644
--- a/gcc/valtrack.c
+++ b/gcc/valtrack.c
@@ -341,7 +341,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)
@@ -429,7 +429,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));
              }
@@ -445,7 +445,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));
          }
 
@@ -695,7 +695,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))
        {
-- 
1.8.5.3

Reply via email to