C/C++ FEs: Do we really need three char_type_nodes?

Mark Mitchell mark@codesourcery.com
Wed Sep 24 05:38:00 GMT 2008


Richard Guenther wrote:

> char and signed char (if char is signed) are the same types for the
> middle-end (but not for the Frontend).

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.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc mailing list