* c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
From-SVN: r45640
This commit is contained in:
parent
a1bda5f155
commit
c6c04fcab3
@ -1,3 +1,7 @@
|
||||
2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
|
||||
|
||||
* c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
|
||||
|
||||
2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||
|
||||
PR preprocessor/3571
|
||||
|
@ -3391,7 +3391,8 @@ c_promoting_integer_type_p (t)
|
||||
|| TYPE_MAIN_VARIANT (t) == signed_char_type_node
|
||||
|| TYPE_MAIN_VARIANT (t) == unsigned_char_type_node
|
||||
|| TYPE_MAIN_VARIANT (t) == short_integer_type_node
|
||||
|| TYPE_MAIN_VARIANT (t) == short_unsigned_type_node);
|
||||
|| TYPE_MAIN_VARIANT (t) == short_unsigned_type_node
|
||||
|| TYPE_PRECISION (t) < TYPE_PRECISION (integer_type_node));
|
||||
|
||||
case ENUMERAL_TYPE:
|
||||
/* ??? Technically all enumerations not larger than an int
|
||||
|
Loading…
Reference in New Issue
Block a user