diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-06 15:57:25 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-06 15:57:25 +0000 |
commit | 511a08fd190be53ddcec991e3ef7ef37434488c2 (patch) | |
tree | b1dea0bb89e42d81e10a836d8ded750a68a9fd85 /gcc/tree-cfg.c | |
parent | 319330c8154baef9ba8742fa56173a4cf9a78eae (diff) | |
download | gcc-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.c | 5 |
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 |