[2/5] arc: update for emit-rtl.h change

Message ID 1528829652-43336-3-git-send-email-dmalcolm@redhat.com
State New
Headers show
Series
  • More rtx->rtx_insn * cleanups
Related show

Commit Message

David Malcolm June 12, 2018, 6:54 p.m.
gcc/ChangeLog:
	* config/arc/arc.c (hwloop_optimize): Strengthen local "end_label"
	from rtx to rtx_insn *.
---
 gcc/config/arc/arc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jeff Law June 12, 2018, 8:44 p.m. | #1
On 06/12/2018 12:54 PM, David Malcolm wrote:
> gcc/ChangeLog:
> 	* config/arc/arc.c (hwloop_optimize): Strengthen local "end_label"
> 	from rtx to rtx_insn *.
OK when prereqs are approved.
jeff

Patch

diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index 2bedc9a..987abfd 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -7287,8 +7287,8 @@  hwloop_optimize (hwloop_info loop)
   int i;
   edge entry_edge;
   basic_block entry_bb, bb;
-  rtx iter_reg, end_label;
-  rtx_insn *insn, *seq, *entry_after, *last_insn;
+  rtx iter_reg;
+  rtx_insn *insn, *seq, *entry_after, *last_insn, *end_label;
   unsigned int length;
   bool need_fix = false;
   rtx lp_reg = gen_rtx_REG (SImode, LP_COUNT);