aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
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/rtl.h
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/rtl.h')
-rw-r--r--gcc/rtl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f83ac82..c164f74 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -140,7 +140,7 @@ struct rtx_def
1 in a SYMBOL_REF if it addresses something in the per-function
constants pool.
1 in a CALL_INSN, NOTE, or EXPR_LIST for a const or pure call.
- 1 in a JUMP_INSN or CALL_INSN of an annulling branch. */
+ 1 in a JUMP_INSN, CALL_INSN, or INSN of an annulling branch. */
unsigned int unchanging : 1;
/* 1 in a MEM or ASM_OPERANDS expression if the memory reference is volatile.
1 in an INSN, CALL_INSN, JUMP_INSN, CODE_LABEL, BARRIER, or NOTE
@@ -537,9 +537,9 @@ do { \
#define SIBLING_CALL_P(RTX) \
(RTL_FLAG_CHECK1("SIBLING_CALL_P", (RTX), CALL_INSN)->jump)
-/* 1 if RTX is an insn that is an annulling branch. */
+/* 1 if RTX is a jump_insn, call_insn, or insn that is an annulling branch. */
#define INSN_ANNULLED_BRANCH_P(RTX) \
- (RTL_FLAG_CHECK2("INSN_ANNULLED_BRANCH_P", (RTX), JUMP_INSN, CALL_INSN)->unchanging)
+ (RTL_FLAG_CHECK3("INSN_ANNULLED_BRANCH_P", (RTX), JUMP_INSN, CALL_INSN, INSN)->unchanging)
/* 1 if RTX is an insn that is dead code. Valid only for dead-code
elimination phase. */