This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: [PATCH] ctype.h (another try)


> i think by using a union you are explictly specifying your punning, so
> gcc can know what you are up to and take account accordingly.

A union whose members are pointers is not any different than casting the
pointer type, I don't think.  A union helps when it's the type of the
memory being pointed to.


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