summaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-03 06:46:43 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-03 06:46:43 +0000
commit10dae31c268830d9d0819b84496a9d4d00898c3c (patch)
tree81950c9d83b4450cbf91f7bf3de002fb1e73aecb /gcc/tree.def
parent67e352b9c2ded3bdb96dc8aa2b85efbca72784e5 (diff)
downloadgcc-10dae31c268830d9d0819b84496a9d4d00898c3c.tar.gz
Clarify comment on INTEGER_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3618 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def8
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)