projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f0a4b0
)
(subst): Don't change a conditional branch into a conditional move.
author
Tom Wood
<wood@gnu.org>
Tue, 13 Oct 1992 10:01:01 +0000
(10:01 +0000)
committer
Tom Wood
<wood@gnu.org>
Tue, 13 Oct 1992 10:01:01 +0000
(10:01 +0000)
From-SVN: r2426
gcc/combine.c
patch
|
blob
|
history
diff --git
a/gcc/combine.c
b/gcc/combine.c
index 5476599d40549c665ce5236a05afcafdbfa1399b..c3f0b49693fb0aa20602cba534252821d04a2e4f 100644
(file)
--- a/
gcc/combine.c
+++ b/
gcc/combine.c
@@
-3849,7
+3849,8
@@
subst (x, from, to, in_dest, unique_copy)
IOR'ed together. In practice, at most two will be nonzero. Then
we do the IOR's. */
- if (GET_CODE (SET_SRC (x)) == IF_THEN_ELSE
+ if (GET_CODE (SET_DEST (x)) != PC
+ && GET_CODE (SET_SRC (x)) == IF_THEN_ELSE
&& (GET_CODE (XEXP (SET_SRC (x), 0)) == EQ
|| GET_CODE (XEXP (SET_SRC (x), 0)) == NE)
&& XEXP (XEXP (SET_SRC (x), 0), 1) == const0_rtx