On Fri, Jul 13, 2007 at 11:03:01AM -0700, Josh Triplett wrote: > > + if (!(class & (TYPE_FLOAT|TYPE_RESTRICT))) { > > + struct symbol *rtype = integer_promotion(ctype); > > expr->unop = cast_to(expr->unop, rtype); > > ctype = rtype; > Most of this seems quite reasonable and obvious. I noticed, though, > that this drops the handling for fouled types; did you do that > intentionally, and if so could you elaborate on why? They get folded with handling of restricted - classify_type() gets TYPE_NUM|TYPE_RESTRICT|TYPE_FOULED for those. - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html