diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-20 15:59:01 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-20 15:59:01 +0000 |
commit | 2a9254314b416c9d6e8eccf600a54ed829a48147 (patch) | |
tree | 864f29d7a4c7813fc9c1acb3153af7a97de8a5f4 /gcc | |
parent | e5206274848085463852802030a773f82a224b00 (diff) | |
download | gcc-2a9254314b416c9d6e8eccf600a54ed829a48147.zip gcc-2a9254314b416c9d6e8eccf600a54ed829a48147.tar.gz gcc-2a9254314b416c9d6e8eccf600a54ed829a48147.tar.bz2 |
* tree-ssa-phiopt.c: Fix comments.
From-SVN: r98462
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e54067d..2e6781c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,8 @@ minmax_replacement, abs_replacement): Remove argument PHI_BB. Update a call to replace_phi_edge_with_variable. + * tree-ssa-phiopt.c: Fix comments. + 2005-04-20 Michael Matz <matz@suse.de> PR20973 diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 6149180..65faf3a 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -205,7 +205,8 @@ tree_ssa_phiopt (void) || (e1->flags & EDGE_FALLTHRU) == 0) continue; - /* Also make that bb1 only have one pred and it is bb. */ + /* Also make sure that bb1 only have one predecessor and that it + is bb. */ if (!single_pred_p (bb1) || single_pred (bb1) != bb) continue; @@ -221,7 +222,7 @@ tree_ssa_phiopt (void) arg0 = PHI_ARG_DEF_TREE (phi, e1->dest_idx); arg1 = PHI_ARG_DEF_TREE (phi, e2->dest_idx); - /* We know something is wrong if we cannot find the edges in the PHI + /* Something is wrong if we cannot find the arguments in the PHI node. */ gcc_assert (arg0 != NULL && arg1 != NULL); |