This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] [tree-ssa] Fix handling of BIT_FIELD_REFs andVECTOR_TYPEs


----- Original Message -----
From: "Paolo Bonzini" <bonzini@gnu.org>
To: "Diego Novillo" <dnovillo@redhat.com>
Sent: Monday, March 22, 2004 7:24 PM
Subject: Re: [RFC] [tree-ssa] Fix handling of BIT_FIELD_REFs andVECTOR_TYPEs


> > You had the right bits in your patch, already:
>
> Ok, I will put them in the lowering patch when I get to submit it for
> inclusion.
>
> > Yes.  But to trigger the abort() all you need is something along the
> > lines of
> > if (TREE_CODE (stmt) == MODIFY_EXPR
> >     && TREE_CODE (TREE_OPERAND (stmt, 0)) == BIT_FIELD_REF
> >     && is_gimple_reg (TREE_OPERAND (TREE_OPERAND (stmt, 0), 0)))
> >   abort();
>
> Yes.  I'll add that to verify_stmts.
>
> > The change to set_is_used is OK.  I think that the change to
> > get_expr_operands shouldn't be necessary.
>
> I'll try it on my tree, in the meanwhile I'll add the check above and
resubmit
> an updated patch.
>
> Paolo
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]