summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-20 15:59:01 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-20 15:59:01 +0000
commit3472707ff105a1428957d98eb77b6dae29b74097 (patch)
tree864f29d7a4c7813fc9c1acb3153af7a97de8a5f4 /gcc/tree-ssa-phiopt.c
parenta4844041f65bf60b077a4ce53d213035bd65ff69 (diff)
downloadgcc-3472707ff105a1428957d98eb77b6dae29b74097.tar.gz
* tree-ssa-phiopt.c: Fix comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98462 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r--gcc/tree-ssa-phiopt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 61491808dd6..65faf3a5ba9 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);