aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-21 13:25:56 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-21 07:25:56 -0600
commita6d7e156393f7ec4725dd7193df277c3b5ee63ae (patch)
tree4272c9905b0cc71aac280da213c0de949ff34861 /gcc/c-decl.c
parent1eeed24eb2000486a3abab4395c735c385925813 (diff)
downloadgcc-a6d7e156393f7ec4725dd7193df277c3b5ee63ae.zip
gcc-a6d7e156393f7ec4725dd7193df277c3b5ee63ae.tar.gz
gcc-a6d7e156393f7ec4725dd7193df277c3b5ee63ae.tar.bz2
c-common.c (type_for_mode): Handle TI types.
* c-common.c (type_for_mode): Handle TI types. * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define. (init_decl_processing): Handle TI types. * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare. From-SVN: r19355
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 74ed907..2b48415 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -143,11 +143,13 @@ tree intQI_type_node;
tree intHI_type_node;
tree intSI_type_node;
tree intDI_type_node;
+tree intTI_type_node;
tree unsigned_intQI_type_node;
tree unsigned_intHI_type_node;
tree unsigned_intSI_type_node;
tree unsigned_intDI_type_node;
+tree unsigned_intTI_type_node;
/* a VOID_TYPE node. */
@@ -2986,6 +2988,9 @@ init_decl_processing ()
intDI_type_node = make_signed_type (GET_MODE_BITSIZE (DImode));
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intDI_type_node));
+ intTI_type_node = make_signed_type (GET_MODE_BITSIZE (TImode));
+ pushdecl (build_decl (TYPE_DECL, NULL_TREE, intDI_type_node));
+
unsigned_intQI_type_node = make_unsigned_type (GET_MODE_BITSIZE (QImode));
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intQI_type_node));
@@ -2998,6 +3003,9 @@ init_decl_processing ()
unsigned_intDI_type_node = make_unsigned_type (GET_MODE_BITSIZE (DImode));
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intDI_type_node));
+ unsigned_intTI_type_node = make_unsigned_type (GET_MODE_BITSIZE (TImode));
+ pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intTI_type_node));
+
float_type_node = make_node (REAL_TYPE);
TYPE_PRECISION (float_type_node) = FLOAT_TYPE_SIZE;
pushdecl (build_decl (TYPE_DECL, ridpointers[(int) RID_FLOAT],