summaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-06 15:57:25 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-06 15:57:25 +0000
commit511a08fd190be53ddcec991e3ef7ef37434488c2 (patch)
treeb1dea0bb89e42d81e10a836d8ded750a68a9fd85 /gcc/tree-cfg.c
parent319330c8154baef9ba8742fa56173a4cf9a78eae (diff)
downloadgcc-511a08fd190be53ddcec991e3ef7ef37434488c2.tar.gz
* tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
statement that never triggers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90176 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 67b96a5737d..9e0aa165676 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -1987,11 +1987,6 @@ find_taken_edge_cond_expr (basic_block bb, tree val)
extract_true_false_edges_from_block (bb, &true_edge, &false_edge);
- /* If both edges of the branch lead to the same basic block, it doesn't
- matter which edge is taken. */
- if (true_edge->dest == false_edge->dest)
- return true_edge;
-
/* Otherwise, try to determine which branch of the if() will be taken.
If VAL is a constant but it can't be reduced to a 0 or a 1, then
we don't really know which edge will be taken at runtime. This