On Sat, Aug 2, 2014 at 12:53 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > My stupid test-case is this incredibly hacky thing: .. actually, that test-case wasn't the one that showed the original problem, it just ends up testing many of the other cases, notably the "next_designator() creates that unnamed union case". The test-case that shows the problem this patch fixes is one that actually names the unnamed union entry (so instead of the "{ 3 }" initializer, it uses ".d=3" to initialize the entry in the unnamed union. Just to clarify. See the difference in code generation by "test-linearize" for those two cases (ie "{3}" vs ".d=3" in the initializer). Linus -- 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