On 05/24/2013 10:50 AM, Paolo Carlini wrote:
+ || ((TREE_CODE (type) == ENUMERAL_TYPE + && (tree_int_cst_lt + (TYPE_SIZE (ENUM_UNDERLYING_TYPE (type)), w))) + || (TREE_CODE (type) == BOOLEAN_TYPE + && tree_int_cst_lt (TYPE_SIZE (type), w))))
The size of the enum underlying type is the same as the size of the enum itself, so I don't think you need to handle enum and bool differently here.
Jason