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: fdump-ast-original and strg:


On Sat, Dec 01, 2001 at 02:34:21AM +0000, Joseph S. Myers wrote:
> >      21 #define SHORT_TYPE_SIZE 16
> >       1 #define SHORT_TYPE_SIZE 32
> >       1 #define SHORT_TYPE_SIZE (INT_TYPE_SIZE == 8 ? INT_TYPE_SIZE : 16)
> 
> Defaults to (BITS_PER_UNIT * MIN ((UNITS_PER_WORD + 1) / 2, 2)).

Better is MAX (16, BITS_PER_UNIT).

> >      18 #define INT_TYPE_SIZE 32
> >       3 #define INT_TYPE_SIZE 16
> >       2 #define INT_TYPE_SIZE (TARGET_SHORT ? 16 : 32)
> >       1 #define INT_TYPE_SIZE 64
> 
> Defaults to BITS_PER_WORD.

A closer default is just 32.  The 16 and 64 bit outliers are
definitely the exception.  


r~


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