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: generalized lvalues -- patch outline




Paul Koning wrote:

Thomas> union { char* c; int* i; short* s; } p;


Thomas> *p.i++;

But that depends on char* and int* having the same representation,
doesn't it?


Yes, that's of course right. I had forgotten about that, thanks for the reminder.


TK.


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