From: Richard Kenner Date: Mon, 28 Oct 1996 18:08:38 +0000 (-0500) Subject: ({un,}signed_type): If can't do anything, call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f63f07520b6a53ac61ba1e6335cdb8f4b6bf155c;p=gcc.git ({un,}signed_type): If can't do anything, call signed_or_unsigned_type. From-SVN: r13051 --- diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 9a0030d5a43..7014040c7ce 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -735,7 +735,8 @@ unsigned_type (type) return unsigned_intHI_type_node; if (type1 == intQI_type_node) return unsigned_intQI_type_node; - return type; + + return signed_or_unsigned_type (1, type); } /* Return a signed type the same as TYPE in other respects. */ @@ -763,7 +764,8 @@ signed_type (type) return intHI_type_node; if (type1 == unsigned_intQI_type_node) return intQI_type_node; - return type; + + return signed_or_unsigned_type (0, type); } /* Return a type the same as TYPE except unsigned or