aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog4
-rw-r--r--gcc/c/c-array-notation.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index b64d9cf..ec19221 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * c-array-notation.c: Fix typo in comment.
+
2017-03-29 Marek Polacek <polacek@redhat.com>
PR c/79730
diff --git a/gcc/c/c-array-notation.c b/gcc/c/c-array-notation.c
index 4c6651e..e430f5c 100644
--- a/gcc/c/c-array-notation.c
+++ b/gcc/c/c-array-notation.c
@@ -26,7 +26,7 @@
An array notation expression has 4 major components:
1. The array name
2. Start Index
- 3. Number of elements we need to acess (we call it length)
+ 3. Number of elements we need to access (we call it length)
4. Stride
For example, A[0:5:2], implies that we are accessing A[0], A[2], A[4],