aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index e67b093..710f37b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1675,7 +1675,8 @@ int_size_in_bytes (type)
}
/* Return, as an INTEGER_CST node, the number of elements for
- TYPE (which is an ARRAY_TYPE). */
+ TYPE (which is an ARRAY_TYPE) minus one.
+ This counts only elements of the top array. */
tree
array_type_nelts (type)