SIZE_TYPE

Ian Lance Taylor iant@google.com
Fri Oct 14 04:43:00 GMT 2011


Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com> writes:

> What should be the correct setting of SIZE_TYPE for a target whose int
> is HI (and Pmode is PSI) ?
> long unsigned int (DI) or (short) unsigned int ?
>
> Is it only used for size_t ?

SIZE_TYPE is used for size_t.  It's value should normally be the
unsigned integer type which has the same number of bits as the type of a
pointer.

Ian



More information about the Gcc-help mailing list