diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-20 13:19:17 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-20 13:19:17 +0000 |
commit | db5ba14c6e989c401139ba53929e1a2af782782a (patch) | |
tree | 2598d5966734d6c332c85791a2487d0b032ae8a6 | |
parent | 30c5ffd206890e3962200242992870d55adfb3ff (diff) | |
download | gcc-db5ba14c6e989c401139ba53929e1a2af782782a.tar.gz |
PR tree-optimization/21116
* tree-ssa-phiopt.c: Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98457 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 298e67a5178..03c3961fde1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,6 +2,9 @@ * tree-ssa-phiopt.c: Fix comment typos. + PR tree-optimization/21116 + * tree-ssa-phiopt.c: Fix a typo. + 2005-04-19 Richard Henderson <rth@redhat.com> * builtins.c (expand_builtin_sync_operation): Revert last change. diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index bc284ece86f..ff611e61b59 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -202,7 +202,7 @@ tree_ssa_phiopt (void) e1 = EDGE_SUCC (bb1, 0); /* Make sure that bb1 is just a fall through. */ - if (!single_succ_p (bb1) > 1 + if (!single_succ_p (bb1) || (e1->flags & EDGE_FALLTHRU) == 0) continue; |