[4/5] c6x: update for emit-rtl.h changes

Message ID 1528829652-43336-5-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/c6x/c6x.c (reorg_split_calls): Strengthen param "call_labels"
	from rtx_insn ** to rtx_code_label **.
	(reorg_emit_nops): Likewise.
	(c6x_reorg): Likewise for local "call_labels".
---
 gcc/config/c6x/c6x.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Jeff Law June 12, 2018, 8:45 p.m. | #1
On 06/12/2018 12:54 PM, David Malcolm wrote:
> gcc/ChangeLog:
> 	* config/c6x/c6x.c (reorg_split_calls): Strengthen param "call_labels"
> 	from rtx_insn ** to rtx_code_label **.
> 	(reorg_emit_nops): Likewise.
> 	(c6x_reorg): Likewise for local "call_labels".
OK when prereqs are approved.
jeff

Patch

diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c
index f12edfd..38fbd7e 100644
--- a/gcc/config/c6x/c6x.c
+++ b/gcc/config/c6x/c6x.c
@@ -4835,7 +4835,7 @@  find_last_same_clock (rtx_insn *insn)
    the SEQUENCEs that represent execute packets.  */
 
 static void
-reorg_split_calls (rtx_insn **call_labels)
+reorg_split_calls (rtx_code_label **call_labels)
 {
   unsigned int reservation_mask = 0;
   rtx_insn *insn = get_insns ();
@@ -5009,7 +5009,7 @@  reorg_split_calls (rtx_insn **call_labels)
    scheduling was run earlier.  */
 
 static void
-reorg_emit_nops (rtx_insn **call_labels)
+reorg_emit_nops (rtx_code_label **call_labels)
 {
   bool first;
   rtx last_call;
@@ -5947,7 +5947,7 @@  c6x_reorg (void)
     }
   sched_no_dce = false;
 
-  rtx_insn **call_labels = XCNEWVEC (rtx_insn *, get_max_uid () + 1);
+  rtx_code_label **call_labels = XCNEWVEC (rtx_code_label *, get_max_uid () + 1);
 
   reorg_split_calls (call_labels);