projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c1bde
)
(redundant_insn_p): Fix typo in testing for types of insns by using
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 25 Feb 1993 23:29:31 +0000
(18:29 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 25 Feb 1993 23:29:31 +0000
(18:29 -0500)
GET_RTX_CLASS.
From-SVN: r3534
gcc/reorg.c
patch
|
blob
|
history
diff --git
a/gcc/reorg.c
b/gcc/reorg.c
index 9189724ad98617008f717ecd31cf0694c6b80ef2..efbc078e1198f1ccf265a887b53b62c93a3d743e 100644
(file)
--- 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);