diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-06 18:13:31 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-06 18:13:31 +0000 |
commit | 7dcc25a71fe7bc71bfdf337d5e85c74dd85ba866 (patch) | |
tree | b91fab24723a61559698e77950c8ea9800d7c8ca /gcc/expr.c | |
parent | 29081c0843b4f280e36eb9aed3fb19b97ba6d823 (diff) | |
download | gcc-7dcc25a71fe7bc71bfdf337d5e85c74dd85ba866.tar.gz |
2005-06-06 Eric Christopher <echristo@redhat.com>
target/21927
* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100670 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index e67d65df6a5..a3ee9e77a60 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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) |