aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2001-06-05 06:27:44 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2001-06-05 06:27:44 -0400
commit75c2550ab548ed7d59842a0735397d7bf0066c58 (patch)
tree0bc056d61a17eaf7666c94f254d28e9a264ee5cc /gcc/tree.def
parentf375b7a70574ae0e5900a3bfab24f4e8e2edc920 (diff)
downloadgcc-75c2550ab548ed7d59842a0735397d7bf0066c58.zip
gcc-75c2550ab548ed7d59842a0735397d7bf0066c58.tar.gz
gcc-75c2550ab548ed7d59842a0735397d7bf0066c58.tar.bz2
Update comments for ARRAY_RANGE_REF
From-SVN: r42901
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index fe1fddb..198cdf5 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -374,9 +374,9 @@ DEFTREECODE (BUFFER_REF, "buffer_ref", 'r', 1)
Operand 0 is the array; operand 1 is a (single) array index. */
DEFTREECODE (ARRAY_REF, "array_ref", 'r', 2)
-/* Likewise, except that the result is a range of the array. The starting
- index of the array is taken from operand 0 and the size of the range
- is taken from the type of the expression. */
+/* Likewise, except that the result is a range ("slice") of the array. The
+ starting index of the resulting array is taken from operand 1 and the size
+ of the range is taken from the type of the expression. */
DEFTREECODE (ARRAY_RANGE_REF, "array_range_ref", 'r', 2)
/* Constructor: return an aggregate value made from specified components.