https://gcc.gnu.org/g:37e135ef6d6f40f757d9434b6a74324437768da9

commit r17-5858-g37e135ef6d6f40f757d9434b6a74324437768da9
Author: Trevor Saunders <[email protected]>
Date:   Sun Oct 25 06:59:24 2026 +0000

    Pass an rtx_insn * to redirect_with_delay_slots_safe_p
    
    gcc/ChangeLog:
    
            * reorg.cc (redirect_with_delay_slots_safe_p): Pass an rtx_insn *.

Diff:
---
 gcc/reorg.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/reorg.cc b/gcc/reorg.cc
index eee7ba364f66..07f8115a3378 100644
--- a/gcc/reorg.cc
+++ b/gcc/reorg.cc
@@ -189,7 +189,7 @@ static int get_jump_flags (const rtx_insn *, rtx);
 static int mostly_true_jump (rtx_insn *);
 static rtx get_branch_condition (const rtx_insn *, rtx);
 static bool condition_dominates_p (rtx, const rtx_insn *);
-static bool redirect_with_delay_slots_safe_p (rtx_insn *, rtx, rtx);
+static bool redirect_with_delay_slots_safe_p (rtx_insn *, rtx, rtx_insn *);
 static bool redirect_with_delay_list_safe_p (rtx_insn *, rtx,
                                             const vec<rtx_insn *> &);
 static bool check_annul_list_true_false (bool, const vec<rtx_insn *> &);
@@ -878,7 +878,7 @@ condition_dominates_p (rtx condition, const rtx_insn *insn)
    any insns already in the delay slot of JUMP.  */
 
 static bool
-redirect_with_delay_slots_safe_p (rtx_insn *jump, rtx newlabel, rtx seq)
+redirect_with_delay_slots_safe_p (rtx_insn *jump, rtx newlabel, rtx_insn *seq)
 {
   int flags, i;
   rtx_sequence *pat = as_a <rtx_sequence *> (PATTERN (seq));

Reply via email to