From: Trevor Saunders <[email protected]>

gcc/ChangeLog:

        * rtl.h (emit_jump): Take an rtx_code_label *.
        * stmt.cc (emit_jump): Likewise.
        * explow.h (emit_stack_clash_protection_probe_loop_end): Take an
        rtx_code_label * for the loop label.
        * explow.cc (emit_stack_clash_protection_probe_loop_end): Likewise.
---
 gcc/explow.cc | 5 +++--
 gcc/explow.h  | 2 +-
 gcc/rtl.h     | 2 +-
 gcc/stmt.cc   | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/gcc/explow.cc b/gcc/explow.cc
index 3469b733bc9..54348d582e1 100644
--- a/gcc/explow.cc
+++ b/gcc/explow.cc
@@ -2042,8 +2042,9 @@ emit_stack_clash_protection_probe_loop_start 
(rtx_code_label **loop_lab,
    emitting END_LOOP after the loop.  */
 
 void
-emit_stack_clash_protection_probe_loop_end (rtx loop_lab, rtx end_loop,
-                                           rtx last_addr, bool rotated)
+emit_stack_clash_protection_probe_loop_end (rtx_code_label *loop_lab,
+                                           rtx end_loop, rtx last_addr,
+                                           bool rotated)
 {
   if (rotated)
     emit_cmp_and_jump_insns (stack_pointer_rtx, last_addr, NE, NULL_RTX,
diff --git a/gcc/explow.h b/gcc/explow.h
index 7d3eb4f6951..0795b597631 100644
--- a/gcc/explow.h
+++ b/gcc/explow.h
@@ -85,7 +85,7 @@ extern void
 emit_stack_clash_protection_probe_loop_start (rtx_code_label **,
                                              rtx_code_label **,
                                              rtx, bool);
-extern void emit_stack_clash_protection_probe_loop_end (rtx, rtx,
+extern void emit_stack_clash_protection_probe_loop_end (rtx_code_label *, rtx,
                                                        rtx, bool);
 
 /* This enum is used for the following two functions.  */
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 0efdc50ee0e..27f0ef1964a 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -4413,7 +4413,7 @@ extern void print_inline_rtx (FILE *, const_rtx, int);
 /* In stmt.cc */
 extern void expand_null_return (void);
 extern void expand_naked_return (void);
-extern void emit_jump (rtx);
+extern void emit_jump (rtx_code_label *);
 
 /* Memory operation built-ins differ by return value.  Mapping
    of the enum values is following:
diff --git a/gcc/stmt.cc b/gcc/stmt.cc
index c3f8b7ce3f2..46ba3543933 100644
--- a/gcc/stmt.cc
+++ b/gcc/stmt.cc
@@ -132,7 +132,7 @@ jump_target_rtx (tree label)
 /* Add an unconditional jump to LABEL as the next sequential instruction.  */
 
 void
-emit_jump (rtx label)
+emit_jump (rtx_code_label *label)
 {
   do_pending_stack_adjust ();
   emit_jump_insn (targetm.gen_jump (label));
-- 
2.53.0

Reply via email to