diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-03-03 02:27:15 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-03-03 02:27:15 +0000 |
commit | 834c6dff7ba7845c7fabeda67f711b5aa0f341d8 (patch) | |
tree | db09bd0c5719c40d563da6f148b6e0c062ae1ce1 /gcc/tree.h | |
parent | a2b10a92a30b30c5f1fa5324daa7e41bc162db95 (diff) | |
download | gcc-834c6dff7ba7845c7fabeda67f711b5aa0f341d8.zip gcc-834c6dff7ba7845c7fabeda67f711b5aa0f341d8.tar.gz gcc-834c6dff7ba7845c7fabeda67f711b5aa0f341d8.tar.bz2 |
* tree.h (TYPE_ALIGN_UNIT): New macro.
From-SVN: r32302
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -880,6 +880,10 @@ struct tree_block The value is an int, measured in bits. */ #define TYPE_ALIGN(NODE) (TYPE_CHECK (NODE)->type.align) +/* The alignment for NODE, in bytes. */ +#define TYPE_ALIGN_UNIT(NODE) \ + (TYPE_ALIGN (NODE) / BITS_PER_UNIT) + #define TYPE_STUB_DECL(NODE) (TREE_CHAIN (NODE)) /* In a RECORD_TYPE, UNION_TYPE or QUAL_UNION_TYPE, it means the type |