This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
TYPE_SEP for ARRAYs
- From: shaurya arora <arora at gdit dot iiit dot net>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 28 Oct 2002 01:18:36 +0530 (IST)
- Subject: TYPE_SEP for ARRAYs
Hi,
I am new to gcc development and I was going through tree.def. It says that
TYPE_SEP and TYPE_SEP_UNIT are special fields for arrays.
/* Types of arrays. Special fields:
TREE_TYPE Type of an array element.
TYPE_DOMAIN Type to index by.
Its range of values specifies the array
length.
TYPE_SEP Expression for units from one elt to the next.
TYPE_SEP_UNIT Number of bits in a unit for previous.
The field TYPE_POINTER_TO (TREE_TYPE (array_type)) is always nonzero
and holds the type to coerce a value of that array type to in C.
TYPE_STRING_FLAG indicates a string (in contrast to an array of chars)
in languages (such as Chill) that make a distinction. */
I wanted to figure out whether TYPE_SEP and TYPE_SEP_UNIT were int_cst
trees or plain old integers, but it looks like no function uses these
fields. Niether are there any accessor macros defined for these fields.
Are these fields not available any longer ?
Thanks,
Shaurya.
--