aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/semantics.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 08f73ab..08af9b0 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-11 Kazu Hirata <kazu@cs.umass.edu>
+
+ * semantics.c: Fix comment typos.
+
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17554
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 0fb5c68..a417785 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -363,9 +363,9 @@ maybe_cleanup_point_expr (tree expr)
}
/* Like maybe_cleanup_point_expr except have the type of the new expression be
- void so we don't need to create a temprary variable to hold the inner
- expression. The reason why we do this is because the orginal type might be
- an aggregate and we cannot create a temprary variable for that type. */
+ void so we don't need to create a temporary variable to hold the inner
+ expression. The reason why we do this is because the original type might be
+ an aggregate and we cannot create a temporary variable for that type. */
static tree
maybe_cleanup_point_expr_void (tree expr)