This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New tree code: ARRAY_RANGE_REF


On Mon, Jun 04, 2001 at 09:40:42AM -0400, Richard Kenner wrote:
>      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

Typo?  Surely the starting index comes from operand 1 to mirror
the single index from ARRAY_REF?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]