diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1995-12-29 11:14:11 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1995-12-29 11:14:11 -0800 |
commit | 2fb2b21cd8cb32581de07141af52f01b87e86b4c (patch) | |
tree | 279234a517dc27e817b00c2dc1c455c19a32704d /gcc/tree.h | |
parent | f9f29478ede81b8248f8768cf27201e9e7421ecd (diff) | |
download | gcc-2fb2b21cd8cb32581de07141af52f01b87e86b4c.zip gcc-2fb2b21cd8cb32581de07141af52f01b87e86b4c.tar.gz gcc-2fb2b21cd8cb32581de07141af52f01b87e86b4c.tar.bz2 |
* tree.h (TYPE_ARRAY_MAX_SIZE): New macro (used by Chill).
From-SVN: r10898
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -621,6 +621,10 @@ struct tree_block If set in a SET_TYPE, indicates a bitstring type. */ #define TYPE_STRING_FLAG(NODE) ((NODE)->type.string_flag) +/* If non-NULL, this is a upper bound of the size (in bytes) of an + object of the given ARRAY_TYPE. This allows temporaries to be allocated. */ +#define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) TYPE_MAX_VALUE (ARRAY_TYPE) + /* Indicates that objects of this type must be initialized by calling a function when they are created. */ #define TYPE_NEEDS_CONSTRUCTING(NODE) ((NODE)->type.needs_constructing_flag) |