aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-iterator.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0bbe692..c976ab2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-04 Diego Novillo <dnovillo@redhat.com>
+
+ * tree-iterator.h (TSI_NEW_STMT, TSI_SAME_STMT): Fix
+ comments.
+
2005-07-04 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22279
diff --git a/gcc/tree-iterator.h b/gcc/tree-iterator.h
index 5f14edc..930e443 100644
--- a/gcc/tree-iterator.h
+++ b/gcc/tree-iterator.h
@@ -95,9 +95,9 @@ tsi_stmt (tree_stmt_iterator i)
enum tsi_iterator_update
{
- TSI_NEW_STMT, /* Leave the iterator at the same statement. */
- TSI_SAME_STMT, /* Only valid when single statement is added, move
+ TSI_NEW_STMT, /* Only valid when single statement is added, move
iterator to it. */
+ TSI_SAME_STMT, /* Leave the iterator at the same statement. */
TSI_CHAIN_START, /* Only valid when chain of statements is added, move
iterator to the first statement in the chain. */
TSI_CHAIN_END, /* Only valid when chain of statements is added, move