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: C/C++ FEs: Do we really need three char_type_nodes?


Mark Mitchell wrote:
Is that desirable?  Type-based alias analysis should be able to take
advantage of the difference between them; a "char **" and a "signed char
**" cannot point at the same thing, for example.

They can. In C++, a char* (or unsigned char*) can alias anything, and any signed/unsigned type can alias the other signage.


Jason


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