This is the mail archive of the gcc-patches@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: [PATCH] Handle BOOLEAN_TYPEs in c_common_type


On Sun, 15 May 2005, Roger Sayle wrote:

> 2005-05-15  Roger Sayle  <roger@eyesopen.com>
> 
> 	* c-typeck.c (c_common_type): Also handle BOOLEAN_TYPEs.

The specification of c_common_type as expressed in the comment above it is 
that the default conversions have already been applied, so boolean types 
shouldn't be seen there.  Maybe you should put the special cases in the 
common_type wrapper and adjust its specification accordingly?

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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