diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-04 10:50:27 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-04 10:50:27 +0000 |
commit | 0158370253d4aef042c4d67b2c0278ded58d83fd (patch) | |
tree | 80c5d61569c73929d6d6c8b4e4679f55c8e0abec /gcc/wide-int.h | |
parent | 40df56fe8273fa827bb96da3ed51ef999189e5a6 (diff) | |
download | gcc-0158370253d4aef042c4d67b2c0278ded58d83fd.tar.gz |
Add TREE_INT_CST_OFFSET_NUNITS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205660 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/wide-int.h')
-rw-r--r-- | gcc/wide-int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/wide-int.h b/gcc/wide-int.h index cd6679164f9..08a90f39d17 100644 --- a/gcc/wide-int.h +++ b/gcc/wide-int.h @@ -256,6 +256,9 @@ along with GCC; see the file COPYING3. If not see #define ADDR_MAX_PRECISION \ ((ADDR_MAX_BITSIZE + 4 + HOST_BITS_PER_WIDE_INT - 1) & ~(HOST_BITS_PER_WIDE_INT - 1)) +/* The number of HWIs needed to store an offset_int. */ +#define OFFSET_INT_ELTS (ADDR_MAX_PRECISION / HOST_BITS_PER_WIDE_INT) + /* The type of result produced by a binary operation on types T1 and T2. Defined purely for brevity. */ #define WI_BINARY_RESULT(T1, T2) \ |