PATCH RFA: Support Plan 9 extensions in gcc

Ian Lance Taylor iant@google.com
Thu Apr 16 17:04:00 GMT 2009


Andreas Schwab <schwab@linux-m68k.org> writes:

> Ian Lance Taylor <iant@google.com> writes:
>
>> I think that this case:
>>   struct s1 { int i; };
>>   struct s2 { struct s1; };
>>   struct s3 { struct s2; struct s2; };
>                        ^^
> Did you mean s1 here?

You're right, I wrote it badly.  I really mean something like this:

struct s1 { int i; };
struct s2 { int i; };
struct s3 { struct s1; struct s2; };
int f (struct s3 *p) { return p->i; }

Ian



More information about the Gcc-patches mailing list