From: Richard Kenner Date: Thu, 25 Feb 1993 23:29:31 +0000 (-0500) Subject: (redundant_insn_p): Fix typo in testing for types of insns by using X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=009f614621b4284ac0d3a452d9171c6bbb0c349b;p=gcc.git (redundant_insn_p): Fix typo in testing for types of insns by using GET_RTX_CLASS. From-SVN: r3534 --- diff --git a/gcc/reorg.c b/gcc/reorg.c index 9189724ad98..efbc078e119 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1576,8 +1576,7 @@ redundant_insn_p (insn, target, delay_list) if (GET_CODE (trial) == CODE_LABEL) return 0; - if (GET_CODE (trial) != INSN && GET_CODE (trial) != JUMP_INSN - && GET_CODE (trial) != JUMP_INSN) + if (GET_RTX_CLASS (GET_CODE (trial)) != 'i') continue; pat = PATTERN (trial);