projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f11e087
)
re PR tree-optimization/15993 ([lno] Compiler hangs at -O3)
author
Zdenek Dvorak
<rakdver@gcc.gnu.org>
Wed, 16 Jun 2004 13:39:49 +0000
(13:39 +0000)
committer
Zdenek Dvorak
<rakdver@gcc.gnu.org>
Wed, 16 Jun 2004 13:39:49 +0000
(13:39 +0000)
PR tree-optimization/15993
* tree-ssa-dom.c (thread_across_edge): Do not thread edge if its
destination is unchanged.
From-SVN: r83242
gcc/tree-ssa-dom.c
patch
|
blob
|
history
diff --git
a/gcc/tree-ssa-dom.c
b/gcc/tree-ssa-dom.c
index 20dbb7bd4764b917b5bbb9cda5fbe88a6d3353de..3a0c1aab6a037e98522e34c88f7949a52b7b4696 100644
(file)
--- a/
gcc/tree-ssa-dom.c
+++ b/
gcc/tree-ssa-dom.c
@@
-924,7
+924,7
@@
thread_across_edge (struct dom_walk_data *walk_data, edge e)
edge taken_edge = find_taken_edge (e->dest, cached_lhs);
basic_block dest = (taken_edge ? taken_edge->dest : NULL);
- if (dest == e->
src
)
+ if (dest == e->
dest
)
return;
/* If we have a known destination for the conditional, then