diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1993-03-02 22:46:43 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1993-03-02 22:46:43 -0800 |
commit | 442cb32d5341e2dc78418b7332b070b6b66e7d61 (patch) | |
tree | 81950c9d83b4450cbf91f7bf3de002fb1e73aecb /gcc/tree.def | |
parent | bd814d9779c22fb6b47d8e4435636e9df8290e64 (diff) | |
download | gcc-442cb32d5341e2dc78418b7332b070b6b66e7d61.tar.gz |
Clarify comment on INTEGER_TYPE.
From-SVN: r3618
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index 835ba07dc73..c249354ae23 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -121,11 +121,13 @@ DEFTREECODE (BLOCK, "block", "b", 0) DEFTREECODE (VOID_TYPE, "void_type", "t", 0) /* The void type in C */ -/* Integer types in all languages, including char in C. */ -/* Has components TYPE_MIN_VALUE, TYPE_MAX_VALUE (expressions, inclusive) +/* Integer types in all languages, including char in C. + Also used for sub-ranges of other discrete types. + Has components TYPE_MIN_VALUE, TYPE_MAX_VALUE (expressions, inclusive) and TYPE_PRECISION (number of bits used by this type). In the case of a subrange type in Pascal, the TREE_TYPE - of this will point at the supertype (another INTEGER_TYPE). + of this will point at the supertype (another INTEGER_TYPE, + or an ENUMERAL_TYPE, CHAR_TYPE, or BOOLEAN_TYPE). Otherwise, the TREE_TYPE is zero. */ DEFTREECODE (INTEGER_TYPE, "integer_type", "t", 0) |