From bb60ac63054d8b69423828cb780c95b60087aaf5 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Tue, 22 Oct 1996 00:26:25 +0000 Subject: [PATCH] (do_store_flag): Don't check if target is 0 in code emitting store flag as compare-branch. From-SVN: r12993 --- gcc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/expr.c b/gcc/expr.c index e06d3b187eb..37950e9bc20 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)); -- 2.30.2