From 7440af146e17a8ba291f11da9a94c1da28380f00 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 10 May 2002 13:13:02 -0700 Subject: rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment. 2002-05-10 David S. Miller * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment. (struct rtx_def): Update unchanging flag comment. * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description. * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs to be handled to INSN too. (dbr_schedule): Likewise. * resource.c (next_insn_no_annul): Likewise. From-SVN: r53370 --- gcc/reorg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/reorg.c') diff --git a/gcc/reorg.c b/gcc/reorg.c index e6793ed..34165ab 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -618,7 +618,8 @@ delete_from_delay_slot (insn) if (delay_list) trial = emit_delay_sequence (trial, delay_list, XVECLEN (seq, 0) - 2); else if (GET_CODE (trial) == JUMP_INSN - || GET_CODE (trial) == CALL_INSN) + || GET_CODE (trial) == CALL_INSN + || GET_CODE (trial) == INSN) INSN_ANNULLED_BRANCH_P (trial) = 0; INSN_FROM_TARGET_P (insn) = 0; @@ -3630,7 +3631,8 @@ dbr_schedule (first, file) rtx target; if (GET_CODE (insn) == JUMP_INSN - || GET_CODE (insn) == CALL_INSN) + || GET_CODE (insn) == CALL_INSN + || GET_CODE (insn) == INSN) INSN_ANNULLED_BRANCH_P (insn) = 0; INSN_FROM_TARGET_P (insn) = 0; -- cgit v1.1