mirror of git://gcc.gnu.org/git/gcc.git
typeck.c (unsigned_type): Only return TItype nodes when HOST_BITS_PER_WIDE_INT is >= 64 bits.
* typeck.c (unsigned_type): Only return TItype nodes when
HOST_BITS_PER_WIDE_INT is >= 64 bits.
(signed_type): Similarly.
* decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
when HOST_BITS_PER_WIDE_INT is >= 64 bits.
(init_decl_processing): Only create TItype nodes when
HOST_BITS_PER_WIDE_INT is >= 64 bits.
* cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
when HOST_BITS_PER_WIDE_INT is >= 64 bits.
From-SVN: r22915
This commit is contained in:
parent
e39b138b41
commit
946dc1c8ad
|
|
@ -1,3 +1,15 @@
|
||||||
|
Thu Oct 8 06:00:19 1998 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* typeck.c (unsigned_type): Only return TItype nodes when
|
||||||
|
HOST_BITS_PER_WIDE_INT is >= 64 bits.
|
||||||
|
(signed_type): Similarly.
|
||||||
|
* decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
|
||||||
|
when HOST_BITS_PER_WIDE_INT is >= 64 bits.
|
||||||
|
(init_decl_processing): Only create TItype nodes when
|
||||||
|
HOST_BITS_PER_WIDE_INT is >= 64 bits.
|
||||||
|
* cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
|
||||||
|
when HOST_BITS_PER_WIDE_INT is >= 64 bits.
|
||||||
|
|
||||||
Wed Oct 7 12:32:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
Wed Oct 7 12:32:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* Makefile.in (hash.h): Add -L KR-C -F ', 0, 0' flags to gperf.
|
* Makefile.in (hash.h): Add -L KR-C -F ', 0, 0' flags to gperf.
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,9 @@ extern tree intQI_type_node, unsigned_intQI_type_node;
|
||||||
extern tree intHI_type_node, unsigned_intHI_type_node;
|
extern tree intHI_type_node, unsigned_intHI_type_node;
|
||||||
extern tree intSI_type_node, unsigned_intSI_type_node;
|
extern tree intSI_type_node, unsigned_intSI_type_node;
|
||||||
extern tree intDI_type_node, unsigned_intDI_type_node;
|
extern tree intDI_type_node, unsigned_intDI_type_node;
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
extern tree intTI_type_node, unsigned_intTI_type_node;
|
extern tree intTI_type_node, unsigned_intTI_type_node;
|
||||||
|
#endif
|
||||||
|
|
||||||
extern tree java_byte_type_node;
|
extern tree java_byte_type_node;
|
||||||
extern tree java_short_type_node;
|
extern tree java_short_type_node;
|
||||||
|
|
|
||||||
|
|
@ -229,13 +229,17 @@ tree intQI_type_node;
|
||||||
tree intHI_type_node;
|
tree intHI_type_node;
|
||||||
tree intSI_type_node;
|
tree intSI_type_node;
|
||||||
tree intDI_type_node;
|
tree intDI_type_node;
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
tree intTI_type_node;
|
tree intTI_type_node;
|
||||||
|
#endif
|
||||||
|
|
||||||
tree unsigned_intQI_type_node;
|
tree unsigned_intQI_type_node;
|
||||||
tree unsigned_intHI_type_node;
|
tree unsigned_intHI_type_node;
|
||||||
tree unsigned_intSI_type_node;
|
tree unsigned_intSI_type_node;
|
||||||
tree unsigned_intDI_type_node;
|
tree unsigned_intDI_type_node;
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
tree unsigned_intTI_type_node;
|
tree unsigned_intTI_type_node;
|
||||||
|
#endif
|
||||||
|
|
||||||
tree java_byte_type_node;
|
tree java_byte_type_node;
|
||||||
tree java_short_type_node;
|
tree java_short_type_node;
|
||||||
|
|
@ -5674,8 +5678,10 @@ init_decl_processing ()
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intSI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intSI_type_node));
|
||||||
intDI_type_node = make_signed_type (GET_MODE_BITSIZE (DImode));
|
intDI_type_node = make_signed_type (GET_MODE_BITSIZE (DImode));
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intDI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intDI_type_node));
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
intTI_type_node = make_signed_type (GET_MODE_BITSIZE (TImode));
|
intTI_type_node = make_signed_type (GET_MODE_BITSIZE (TImode));
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intTI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, intTI_type_node));
|
||||||
|
#endif
|
||||||
unsigned_intQI_type_node = make_unsigned_type (GET_MODE_BITSIZE (QImode));
|
unsigned_intQI_type_node = make_unsigned_type (GET_MODE_BITSIZE (QImode));
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intQI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intQI_type_node));
|
||||||
unsigned_intHI_type_node = make_unsigned_type (GET_MODE_BITSIZE (HImode));
|
unsigned_intHI_type_node = make_unsigned_type (GET_MODE_BITSIZE (HImode));
|
||||||
|
|
@ -5684,8 +5690,10 @@ init_decl_processing ()
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intSI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intSI_type_node));
|
||||||
unsigned_intDI_type_node = make_unsigned_type (GET_MODE_BITSIZE (DImode));
|
unsigned_intDI_type_node = make_unsigned_type (GET_MODE_BITSIZE (DImode));
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intDI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intDI_type_node));
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
unsigned_intTI_type_node = make_unsigned_type (GET_MODE_BITSIZE (TImode));
|
unsigned_intTI_type_node = make_unsigned_type (GET_MODE_BITSIZE (TImode));
|
||||||
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intTI_type_node));
|
pushdecl (build_decl (TYPE_DECL, NULL_TREE, unsigned_intTI_type_node));
|
||||||
|
#endif
|
||||||
|
|
||||||
float_type_node = make_node (REAL_TYPE);
|
float_type_node = make_node (REAL_TYPE);
|
||||||
TYPE_PRECISION (float_type_node) = FLOAT_TYPE_SIZE;
|
TYPE_PRECISION (float_type_node) = FLOAT_TYPE_SIZE;
|
||||||
|
|
|
||||||
|
|
@ -1383,8 +1383,10 @@ unsigned_type (type)
|
||||||
return long_unsigned_type_node;
|
return long_unsigned_type_node;
|
||||||
if (type1 == long_long_integer_type_node)
|
if (type1 == long_long_integer_type_node)
|
||||||
return long_long_unsigned_type_node;
|
return long_long_unsigned_type_node;
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
if (type1 == intTI_type_node)
|
if (type1 == intTI_type_node)
|
||||||
return unsigned_intTI_type_node;
|
return unsigned_intTI_type_node;
|
||||||
|
#endif
|
||||||
if (type1 == intDI_type_node)
|
if (type1 == intDI_type_node)
|
||||||
return unsigned_intDI_type_node;
|
return unsigned_intDI_type_node;
|
||||||
if (type1 == intSI_type_node)
|
if (type1 == intSI_type_node)
|
||||||
|
|
@ -1414,8 +1416,10 @@ signed_type (type)
|
||||||
return long_integer_type_node;
|
return long_integer_type_node;
|
||||||
if (type1 == long_long_unsigned_type_node)
|
if (type1 == long_long_unsigned_type_node)
|
||||||
return long_long_integer_type_node;
|
return long_long_integer_type_node;
|
||||||
|
#if HOST_BITS_PER_WIDE_INT >= 64
|
||||||
if (type1 == unsigned_intTI_type_node)
|
if (type1 == unsigned_intTI_type_node)
|
||||||
return intTI_type_node;
|
return intTI_type_node;
|
||||||
|
#endif
|
||||||
if (type1 == unsigned_intDI_type_node)
|
if (type1 == unsigned_intDI_type_node)
|
||||||
return intDI_type_node;
|
return intDI_type_node;
|
||||||
if (type1 == unsigned_intSI_type_node)
|
if (type1 == unsigned_intSI_type_node)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue