(do_store_flag): Don't check if target is 0 in code
authorTorbjorn Granlund <tege@gnu.org>
Tue, 22 Oct 1996 00:26:25 +0000 (00:26 +0000)
committerTorbjorn 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

index e06d3b187eb0cf3e0fb0b33b103dae2eb3e5e81d..37950e9bc20e3e98edb07875e7804070d4e260d1 100644 (file)
@@ -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));