This is the mail archive of the gcc-help@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: SIZE_TYPE


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


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