This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New tree code: ARRAY_RANGE_REF
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: New tree code: ARRAY_RANGE_REF
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 4 Jun 2001 16:01:19 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <10106041340.AA28723@vlsi1.ultra.nyu.edu>
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~