https://gcc.gnu.org/g:5190993f4a3ed71ca83c4b86f8c580bfb0f8aad5
commit r17-6034-g5190993f4a3ed71ca83c4b86f8c580bfb0f8aad5 Author: Trevor Saunders <[email protected]> Date: Wed Nov 4 11:12:21 2026 +0000 Pass an rtx_code_label * to emit_jump 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. Diff: --- 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 3469b733bc90..54348d582e1e 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 7d3eb4f6951e..0795b5976311 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 0efdc50ee0e7..27f0ef1964a6 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 c3f8b7ce3f20..46ba35439334 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));
