summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-22 17:42:44 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-22 17:42:44 +0000
commit570df417f3fd5cd3d67ad5bf48b72d98a4026ec7 (patch)
tree763c7d92eebfb3121d54a972c46d0204154fb1d5
parentca0df1e31e8798bf4439b90b20da61d9f387646e (diff)
downloadgcc-570df417f3fd5cd3d67ad5bf48b72d98a4026ec7.tar.gz
init-regs.c: Use rtx_insn
gcc/ * init-regs.c (initialize_uninitialized_regs): Strengthen locals "insn" and "move_insn" from rtx to rtx_insn *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214337 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/init-regs.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2870853f00..f2ab27e7cc5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2014-08-22 David Malcolm <dmalcolm@redhat.com>
+ * init-regs.c (initialize_uninitialized_regs): Strengthen locals
+ "insn" and "move_insn" from rtx to rtx_insn *.
+
+2014-08-22 David Malcolm <dmalcolm@redhat.com>
+
* ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to
rtx_insn *.
(cheap_bb_rtx_cost_p): Likewise.
diff --git a/gcc/init-regs.c b/gcc/init-regs.c
index ff688962f7b..91b123d8ef6 100644
--- a/gcc/init-regs.c
+++ b/gcc/init-regs.c
@@ -61,7 +61,7 @@ initialize_uninitialized_regs (void)
FOR_EACH_BB_FN (bb, cfun)
{
- rtx insn;
+ rtx_insn *insn;
bitmap lr = DF_LR_IN (bb);
bitmap ur = DF_LIVE_IN (bb);
bitmap_clear (already_genned);
@@ -94,7 +94,7 @@ initialize_uninitialized_regs (void)
if (bitmap_bit_p (lr, regno)
&& (!bitmap_bit_p (ur, regno)))
{
- rtx move_insn;
+ rtx_insn *move_insn;
rtx reg = DF_REF_REAL_REG (use);
bitmap_set_bit (already_genned, regno);