OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(signed_or_unsigned_type): Check for any
[pf3gnuchains/gcc-fork.git]
/
gcc
/
c-typeck.c
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index
5fbe530
..
81dca3e
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;