tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Please support coo.h


From: shinichiro . h
Subject: Re: [Tinycc-devel] Please support coo.h
Date: Thu, 17 Jun 2010 03:03:31 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj$(D+W(B) APEL/10.7 Emacs/23.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]