summaryrefslogtreecommitdiff
path: root/gcc/tree-core.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-04 10:50:27 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-04 10:50:27 +0000
commit0158370253d4aef042c4d67b2c0278ded58d83fd (patch)
tree80c5d61569c73929d6d6c8b4e4679f55c8e0abec /gcc/tree-core.h
parent40df56fe8273fa827bb96da3ed51ef999189e5a6 (diff)
downloadgcc-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/tree-core.h')
-rw-r--r--gcc/tree-core.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/tree-core.h b/gcc/tree-core.h
index ef8bb370917..e31d9b38f23 100644
--- a/gcc/tree-core.h
+++ b/gcc/tree-core.h
@@ -764,11 +764,17 @@ struct GTY(()) tree_base {
struct {
/* The number of HOST_WIDE_INTs if the INTEGER_CST is accessed in
its native precision. */
- unsigned short unextended;
+ unsigned char unextended;
/* The number of HOST_WIDE_INTs if the INTEGER_CST is extended to
wider precisions based on its TYPE_SIGN. */
- unsigned short extended;
+ unsigned char extended;
+
+ /* The number of HOST_WIDE_INTs if the INTEGER_CST is accessed in
+ offset_int precision, with smaller integers being extended
+ according to their TYPE_SIGN. This is equal to one of the two
+ fields above but is cached for speed. */
+ unsigned char offset;
} int_length;
/* VEC length. This field is only used with TREE_VEC. */