* c-common.c (c_promoting_integer_type_p): Handle ?Imode types.

From-SVN: r45640
This commit is contained in:
Roman Lechtchinsky 2001-09-15 19:47:38 +00:00 committed by Richard Henderson
parent a1bda5f155
commit c6c04fcab3
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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