Commit 78ad8fbe by Richard Kenner Committed by Richard Kenner

c-tree.texi: Document new operands for ARRAY_REF and COMPONENT_REF.

	* doc/c-tree.texi: Document new operands for ARRAY_REF and
	COMPONENT_REF.

From-SVN: r86932
parent 0e6928d8
2004-09-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* doc/c-tree.texi: Document new operands for ARRAY_REF and
COMPONENT_REF.
2004-09-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* Makefile.in (rtl-profile.o, value-prof.o): Add GCC_H dependency.
......
......@@ -2091,7 +2091,10 @@ These nodes represent array accesses. The first operand is the array;
the second is the index. To calculate the address of the memory
accessed, you must scale the index by the size of the type of the array
elements. The type of these expressions must be the type of a component of
the array.
the array. The third and fourth operands are used after gimplification
to represent the lower bound and component size but should not be used
directly; call @code{array_ref_low_bound} and @code{array_ref_element_size}
instead.
@item ARRAY_RANGE_REF
These nodes represent access to a range (or ``slice'') of an array. The
......@@ -2166,7 +2169,9 @@ variable is initialized, rather than assigned to subsequently.
@item COMPONENT_REF
These nodes represent non-static data member accesses. The first
operand is the object (rather than a pointer to it); the second operand
is the @code{FIELD_DECL} for the data member.
is the @code{FIELD_DECL} for the data member. The third operand represents
the byte offset of the field, but should not be used directly; call
@code{component_ref_field_offset} instead.
@item COMPOUND_EXPR
These nodes represent comma-expressions. The first operand is an
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment