From 75c2550ab548ed7d59842a0735397d7bf0066c58 Mon Sep 17 00:00:00 2001
From: Richard Kenner <kenner@gcc.gnu.org>
Date: Tue, 5 Jun 2001 06:27:44 -0400
Subject: Update comments for ARRAY_RANGE_REF

From-SVN: r42901
---
 gcc/tree.def | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'gcc/tree.def')

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.
-- 
cgit v1.1

