On 3/13/07, Paulo J. Matos <[EMAIL PROTECTED]> wrote:
Which C type is HOST_WIDE_INT?
It can either be long, or long long depending on if the target needs
it to be 64bits and what size of long on the host.
Isn't the type of the constant always integer_type?
No, it can be POINTER_TYPE, ENUME
"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.
> >
On 13 Mar 2007 07:58:41 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
"Paulo J. Matos" <[EMAIL PROTECTED]> writes:
> INTEGER_CST seems to have TREE_INT_CST_LOW and TREE_INT_CST_HIGH
> fields (tree.def). Each has 32 bits.
No, each has type HOST_WIDE_INT. On a 64-bit host they will be 64
bi
"Paulo J. Matos" <[EMAIL PROTECTED]> writes:
> INTEGER_CST seems to have TREE_INT_CST_LOW and TREE_INT_CST_HIGH
> fields (tree.def). Each has 32 bits.
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 questi
Hello all,
INTEGER_CST seems to have TREE_INT_CST_LOW and TREE_INT_CST_HIGH
fields (tree.def). Each has 32 bits.
1 - Should I use ints for these fields?
2 - If the INTEGER_CST is negative, is the negative part only in one
of the high or low fields, i.e. low is always unsigned and high is
always s