Re: [wide-int] Fix aarch{32,64} builds

2013-11-26 Thread Eric Botcazou
> My (our) question is, doesn't Ada have non-INTEGER_CST TYPE_SIZE (type), and > the old code had this type of check: > > bool > tree_fits_uhwi_p (const_tree t) > { > return (t != NULL_TREE > && TREE_CODE (t) == INTEGER_CST > && TREE_INT_CST_HIGH (t) == 0); > } > > to ensure

Re: [wide-int] Fix aarch{32,64} builds

2013-11-26 Thread Richard Sandiford
Mike Stump writes: > On Nov 2, 2013, at 3:13 AM, Richard Sandiford > wrote: >> I decided to lump these together since the problems were the same. >> There were some typos in the real_to_integer invocation, while changing: >> >> /* There must be no padding. */ >> if (!host_integerp (TY

Re: [wide-int] Fix aarch{32,64} builds

2013-11-25 Thread Mike Stump
On Nov 2, 2013, at 3:13 AM, Richard Sandiford wrote: > I decided to lump these together since the problems were the same. > There were some typos in the real_to_integer invocation, while changing: > > /* There must be no padding. */ > if (!host_integerp (TYPE_SIZE (type), 1) >

Re: [wide-int] Fix aarch{32,64} builds

2013-11-02 Thread Kenneth Zadeck
I always like patches that change host dependencies into more general code. ok from my perspective. kenny On 11/02/2013 06:13 AM, Richard Sandiford wrote: I decided to lump these together since the problems were the same. There were some typos in the real_to_integer invocation, while changing:

[wide-int] Fix aarch{32,64} builds

2013-11-02 Thread Richard Sandiford
I decided to lump these together since the problems were the same. There were some typos in the real_to_integer invocation, while changing: /* There must be no padding. */ if (!host_integerp (TYPE_SIZE (type), 1) || (tree_low_cst (TYPE_SIZE (type), 1) !