> > >+if (INTEGRAL_TYPE_P (TREE_TYPE (t))
> > >+&& (TYPE_PRECISION (TREE_TYPE (t))
> > >+!= TREE_INT_CST_LOW (TREE_OPERAND (t, 1
> > >+ {
> > >+error ("integral result type precision does not match "
> > >+ "field size o
On Wed, 05 Mar 2008, 13:47:36 +0100, Diego Novillo wrote:
> On 03/05/08 07:18, Richard Guenther wrote:
>
> >Comments?
>
> Makes sense to me.
>
> >+ if (INTEGRAL_TYPE_P (TREE_TYPE (t))
> >+ && (TYPE_PRECISION (TREE_TYPE (t))
> >+ != TREE_INT_CST_LOW (TREE_OP
On 03/05/08 07:18, Richard Guenther wrote:
Comments?
Makes sense to me.
+ if (INTEGRAL_TYPE_P (TREE_TYPE (t))
+ && (TYPE_PRECISION (TREE_TYPE (t))
+ != TREE_INT_CST_LOW (TREE_OPERAND (t, 1
+ {
+ error ("integra
While adding constant-folding for integral argument BIT_FIELD_REF I
noticed we have no way of passing down BIT_FIELD_REF_UNSIGNED to
fold_ternary. Luckily references to BIT_FIELD_REF_UNSIGNED are
rare - only expansion cares for it, through the use of
get_inner_reference.
So I propose to tighthe