From: Richard Kenner Date: Mon, 17 Jul 1995 18:28:37 +0000 (-0400) Subject: ({unsigned,signed}_type): Handle intXX_type_node types. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb695d4a371d266b283f0d1657520ad034c00ddc;p=gcc.git ({unsigned,signed}_type): Handle intXX_type_node types. From-SVN: r10142 --- diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 8c5f2cd7cfb..4e41e5fc224 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -759,6 +759,14 @@ unsigned_type (type) return long_unsigned_type_node; if (type1 == long_long_integer_type_node) return long_long_unsigned_type_node; + if (type1 == intDI_type_node) + return unsigned_intDI_type_node; + if (type1 == intSI_type_node) + return unsigned_intSI_type_node; + if (type1 == intHI_type_node) + return unsigned_intHI_type_node; + if (type1 == intQI_type_node) + return unsigned_intQI_type_node; return type; } @@ -779,6 +787,14 @@ signed_type (type) return long_integer_type_node; if (type1 == long_long_unsigned_type_node) return long_long_integer_type_node; + if (type1 == unsigned_intDI_type_node) + return intDI_type_node; + if (type1 == unsigned_intSI_type_node) + return intSI_type_node; + if (type1 == unsigned_intHI_type_node) + return intHI_type_node; + if (type1 == unsigned_intQI_type_node) + return intQI_type_node; return type; }