diff options
author | David S. Miller <davem@redhat.com> | 2002-05-10 13:13:02 -0700 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2002-05-10 13:13:02 -0700 |
commit | 7440af146e17a8ba291f11da9a94c1da28380f00 (patch) | |
tree | c9357a1185ad9ae5063e1437cad0b8c9c0177ffc /gcc/resource.c | |
parent | 6c45cb0da4af9804a455bc701cbe7a87eec98990 (diff) | |
download | gcc-7440af146e17a8ba291f11da9a94c1da28380f00.tar.gz |
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/resource.c')
-rw-r--r-- | gcc/resource.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index c6b75705ee3..6c20517a5f0 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -175,7 +175,9 @@ next_insn_no_annul (insn) { /* If INSN is an annulled branch, skip any insns from the target of the branch. */ - if (GET_CODE (insn) == JUMP_INSN + if ((GET_CODE (insn) == JUMP_INSN + || GET_CODE (insn) == CALL_INSN + || GET_CODE (insn) == INSN) && INSN_ANNULLED_BRANCH_P (insn) && NEXT_INSN (PREV_INSN (insn)) != insn) { |