projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b7bf2
)
(signed_or_unsigned_type): Check for any
author
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 3 Feb 1994 02:37:18 +0000
(18:37 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 3 Feb 1994 02:37:18 +0000
(18:37 -0800)
INTEGRAL_TYPE_P not just INTEGER_TYPE.
From-SVN: r6474
gcc/c-typeck.c
patch
|
blob
|
history
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index 5fbe53087c5e56e3aecb4d436ab4e72eafad4d81..81dca3ef5a7701dcb8ff5d5a7ac4aa1cb922e90d 100644
(file)
--- 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;