aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-05-10 13:13:02 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-05-10 13:13:02 -0700
commit7440af146e17a8ba291f11da9a94c1da28380f00 (patch)
treec9357a1185ad9ae5063e1437cad0b8c9c0177ffc /gcc/reorg.c
parent6c45cb0da4af9804a455bc701cbe7a87eec98990 (diff)
downloadgcc-7440af146e17a8ba291f11da9a94c1da28380f00.zip
gcc-7440af146e17a8ba291f11da9a94c1da28380f00.tar.gz
gcc-7440af146e17a8ba291f11da9a94c1da28380f00.tar.bz2
rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
2002-05-10 David S. Miller <davem@redhat.com> * 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
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c6
1 files changed, 4 insertions, 2 deletions
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;