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, ENUMERAL_TYPE or OFFSET_TYPE (and INTEGER_TYPE).

How can I know if it is negative or positive?

You can use tree_int_cst_sign_bit or tree_int_cst_msb depending on the context.

-- Pinski

Reply via email to