expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
authorEric Christopher <echristo@redhat.com>
Mon, 6 Jun 2005 18:13:31 +0000 (18:13 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Mon, 6 Jun 2005 18:13:31 +0000 (18:13 +0000)
2005-06-06  Eric Christopher  <echristo@redhat.com>

target/21927
* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.

From-SVN: r100670

gcc/ChangeLog
gcc/expr.c

index d52b3917728617367f4077725707cd08a79c6d9c..5eaa8edf7386d8e7a13514fd2a036ecf96244afb 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-06  Eric Christopher  <echristo@redhat.com>
+
+       target/21927
+       * expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
+
 2005-06-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
index e67d65df6a59d7ad436826566c37714b42ec01d3..a3ee9e77a60d9864d33541605b0fdbb7a50fee0d 100644 (file)
@@ -8729,8 +8729,7 @@ do_store_flag (tree exp, rtx target, enum machine_mode mode, int only_cheap)
       if ((code == LT && integer_zerop (arg1))
          || (! only_cheap && code == GE && integer_zerop (arg1)))
        ;
-      else if (BRANCH_COST >= 0
-              && ! only_cheap && (code == NE || code == EQ)
+      else if (! only_cheap && (code == NE || code == EQ)
               && TREE_CODE (type) != REAL_TYPE
               && ((abs_optab->handlers[(int) operand_mode].insn_code
                    != CODE_FOR_nothing)