From fb695d4a371d266b283f0d1657520ad034c00ddc Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 17 Jul 1995 14:28:37 -0400 Subject: [PATCH] ({unsigned,signed}_type): Handle intXX_type_node types. From-SVN: r10142 --- gcc/c-typeck.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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; } -- 2.30.2