projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6c58f
)
(do_store_flag): Don't check if target is 0 in code
author
Torbjorn Granlund
<tege@gnu.org>
Tue, 22 Oct 1996 00:26:25 +0000
(
00:26
+0000)
committer
Torbjorn Granlund
<tege@gnu.org>
Tue, 22 Oct 1996 00:26:25 +0000
(
00:26
+0000)
emitting store flag as compare-branch.
From-SVN: r12993
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index e06d3b187eb0cf3e0fb0b33b103dae2eb3e5e81d..37950e9bc20e3e98edb07875e7804070d4e260d1 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-11081,7
+11081,7
@@
do_store_flag (exp, target, mode, only_cheap)
}
/* If this failed, we have to do this with set/compare/jump/set code. */
- if (
target == 0 ||
GET_CODE (target) != REG
+ if (GET_CODE (target) != REG
|| reg_mentioned_p (target, op0) || reg_mentioned_p (target, op1))
target = gen_reg_rtx (GET_MODE (target));