aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-11 11:47:11 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-11 11:47:11 +0000
commit22423a1f5b9cfd57633a17b0abd725b6229ba484 (patch)
treeff0562e62aaf51f90a516697bbe70f58d794cd55 /gcc
parent422d9921d8e8dda58182911af39a26712d6bf2c8 (diff)
downloadgcc-22423a1f5b9cfd57633a17b0abd725b6229ba484.zip
gcc-22423a1f5b9cfd57633a17b0abd725b6229ba484.tar.gz
gcc-22423a1f5b9cfd57633a17b0abd725b6229ba484.tar.bz2
* semantics.c: Fix comment typos.
From-SVN: r88875
Diffstat (limited to 'gcc')
-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)