Commit c6c04fca by Roman Lechtchinsky Committed by Richard Henderson

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

From-SVN: r45640
parent a1bda5f1
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment