aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1996-10-22 00:26:25 +0000
committerTorbjorn Granlund <tege@gnu.org>1996-10-22 00:26:25 +0000
commitbb60ac63054d8b69423828cb780c95b60087aaf5 (patch)
tree137e658c320233246c27143a5d0d9f4e3dc07695 /gcc
parentab6c58f120a7cfb52a7e2b9fe8427715f0340574 (diff)
downloadgcc-bb60ac63054d8b69423828cb780c95b60087aaf5.zip
gcc-bb60ac63054d8b69423828cb780c95b60087aaf5.tar.gz
gcc-bb60ac63054d8b69423828cb780c95b60087aaf5.tar.bz2
(do_store_flag): Don't check if target is 0 in code
emitting store flag as compare-branch. From-SVN: r12993
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index e06d3b1..37950e9 100644
--- 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));