"Paulo J. Matos" <[EMAIL PROTECTED]> writes:

> On 13 Mar 2007 07:58:41 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:

> > No, each has type HOST_WIDE_INT.  On a 64-bit host they will be 64
> > bits.
> >
> > > 1 - Should I use ints for these fields?
> >
> > I don't understand the question.
> >
> 
> Which C type is HOST_WIDE_INT?

It's host dependent (hence the name).  See gcc/hwint.h.


> Isn't the type of the constant always integer_type? How can I know if
> it is negative or positive?

No, the type of the constant, by which I mean the type as seen by the
program being compiled, can be any integral type.  In particular it
can be an unsigned type.  You need to look at TREE_TYPE.

Ian

Reply via email to