On Thu, Feb 5, 2009 at 11:23 AM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > On Thu, Feb 05, 2009 at 10:29:19AM -0800, Christopher Li wrote: > Take a look at evaluate_type_information(). If ->cast_type is not NULL, > it won't even look at ->cast_expression. For sizeof (struct foo){0,1} that's > fine (you end with with sizeof(struct foo), essentially), but for > sizeof(struct foo){0,1}.x that'll give you the wrong answer. > > IOW, it is necessary. That is the subtle detail I am looking for. I will apply your patch. Thanks Chris -- 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