Hi,

> i have pushed the new patch on "mob"
> tccgen: skip fields from same union

It looks like this change broke a case like:

typedef struct {} N;
int main() {
    struct {
        int a;
        N n;
    } x = { 42, {} };
}

Before your change we can compile this code, but now we cannot.

By the way, I'd like to ask you to add test cases into tests/tcctest.c
when you fix something. I think this would help us to understand the
benefit of your patch.

Thanks,

_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to