projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd2462
)
(single_set): fix typo in REG_UNUSED check.
author
Richard Stallman
<rms@gnu.org>
Wed, 14 Oct 1992 04:02:16 +0000
(
04:02
+0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 14 Oct 1992 04:02:16 +0000
(
04:02
+0000)
From-SVN: r2449
gcc/rtlanal.c
patch
|
blob
|
history
diff --git
a/gcc/rtlanal.c
b/gcc/rtlanal.c
index 5b0af9266497367c7068c14cae266ce9979c5b6c..2677ee2ccce2a562c0efc11ecaacce9aa1def6da 100644
(file)
--- a/
gcc/rtlanal.c
+++ b/
gcc/rtlanal.c
@@
-528,9
+528,9
@@
single_set (insn)
{
for (i = 0, set = 0; i < XVECLEN (PATTERN (insn), 0); i++)
if (GET_CODE (XVECEXP (PATTERN (insn), 0, i)) == SET
- &&
! (
find_reg_note (insn, REG_UNUSED,
- SET_DEST (XVECEXP (PATTERN (insn), 0, i)))
-
|| side_effects_p (XVECEXP (PATTERN (insn), 0, i))))
+ &&
(!
find_reg_note (insn, REG_UNUSED,
+
SET_DEST (XVECEXP (PATTERN (insn), 0, i)))
+ || side_effects_p (XVECEXP (PATTERN (insn), 0, i))))
{
if (set)
return 0;