cfgloop.c: Use rtx_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 21 Aug 2014 21:08:33 +0000 (21:08 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 21 Aug 2014 21:08:33 +0000 (21:08 +0000)
gcc/
2014-08-21  David Malcolm  <dmalcolm@redhat.com>

* cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
rtx to rtx_insn *.

From-SVN: r214293

gcc/ChangeLog
gcc/cfgloop.c

index 5fd1b9c..7d33cbe 100644 (file)
@@ -1,5 +1,10 @@
 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
 
+       * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
+       rtx to rtx_insn *.
+
+2014-08-21  David Malcolm  <dmalcolm@redhat.com>
+
        * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
        "f1" and "f2" from rtx * to rtx_insn **.
        (flow_find_head_matching_sequence): Likewise.
index 8f7e265..dcf23ca 100644 (file)
@@ -1736,7 +1736,7 @@ loop_exits_from_bb_p (struct loop *loop, basic_block bb)
 location_t
 get_loop_location (struct loop *loop)
 {
-  rtx insn = NULL;
+  rtx_insn *insn = NULL;
   struct niter_desc *desc = NULL;
   edge exit;