From 05f0523317b72256afb0d7227cfd2b65474cdf32 Mon Sep 17 00:00:00 2001 From: wilson Date: Thu, 3 Feb 1994 02:37:18 +0000 Subject: [PATCH] (signed_or_unsigned_type): Check for any INTEGRAL_TYPE_P not just INTEGER_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6474 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-typeck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 5fbe53087c5..81dca3ef5a7 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -718,7 +718,7 @@ signed_or_unsigned_type (unsignedp, type) int unsignedp; tree type; { - if (TREE_CODE (type) != INTEGER_TYPE) + if (! INTEGRAL_TYPE_P (type)) return type; if (TYPE_PRECISION (type) == TYPE_PRECISION (signed_char_type_node)) return unsignedp ? unsigned_char_type_node : signed_char_type_node; -- 2.11.0