summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index e5c58873aa2..99f24c8bca4 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -1631,7 +1631,7 @@ redundant_insn (insn, target, delay_list)
if (GET_CODE (trial) == CODE_LABEL)
return 0;
- if (GET_RTX_CLASS (GET_CODE (trial)) != 'i')
+ if (! INSN_P (trial))
continue;
pat = PATTERN (trial);
@@ -3594,7 +3594,7 @@ dbr_schedule (first, file)
next = NEXT_INSN (insn);
if (GET_CODE (insn) == INSN && GET_CODE (PATTERN (insn)) == USE
- && GET_RTX_CLASS (GET_CODE (XEXP (PATTERN (insn), 0))) == 'i')
+ && INSN_P (XEXP (PATTERN (insn), 0)))
next = delete_insn (insn);
}