summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-decl.c2
-rw-r--r--gcc/var-tracking.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8a53adee42f..49216ab6071 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-14 Kazu Hirata <kazu@codesourcery.com>
+
+ * c-decl.c, var-tracking.c: Fix comment typos.
+
2006-08-14 Richard Sandiford <richard@codesourcery.com>
PR rtl-optimization/28634
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 21b10a60b43..494c221f555 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -4343,7 +4343,7 @@ grokdeclarator (const struct c_declarator *declarator,
{
/* It is ok to modify type here even if itype is
NULL: if size_varies, we're in a
- multi-dimentional array and the inner type has
+ multi-dimensional array and the inner type has
variable size, so the enclosing shared array type
must too. */
if (size && TREE_CODE (size) == INTEGER_CST)
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index d966389ba5a..e33950e87b5 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -115,7 +115,7 @@ enum micro_operation_type
or the variable is not trackable. */
MO_SET, /* Set location. */
MO_COPY, /* Copy the same portion of a variable from one
- loation to another. */
+ location to another. */
MO_CLOBBER, /* Clobber location. */
MO_CALL, /* Call insn. */
MO_ADJUST /* Adjust stack pointer. */