This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IMA vs tree-ssa


Geoff Keating wrote:-

> In addition, structure compatilibity between modules is not
> transitive, even in C99.  For instance,
> 
> struct { int x; }
> 
> is compatible with both
> 
> struct x_1 { int x; }
> and
> struct x_2 { int x; }
> 
> but x_1 and x_2 are not compatible with each other.

I disagree.  The relevant line is

If one is declared with a tag, the other shall be declared with the
same tag.

which clearly implies all 3 are mutually incompatible.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]