aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-20 13:19:17 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-20 13:19:17 +0000
commit3d040dbc67a608bbf86033ffe50bf37bf789c605 (patch)
tree2598d5966734d6c332c85791a2487d0b032ae8a6 /gcc
parentedef547688623a10b30dcf4a207a3702277fd57d (diff)
downloadgcc-3d040dbc67a608bbf86033ffe50bf37bf789c605.zip
gcc-3d040dbc67a608bbf86033ffe50bf37bf789c605.tar.gz
gcc-3d040dbc67a608bbf86033ffe50bf37bf789c605.tar.bz2
re PR tree-optimization/21116 (tree-ssa-phiopt.c:193 has wrong translation from EDGE_COUNT to single_succ_p.)
PR tree-optimization/21116 * tree-ssa-phiopt.c: Fix a typo. From-SVN: r98457
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-ssa-phiopt.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 298e67a..03c3961 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 bc284ec..ff611e6 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;