[RFC] [tree-ssa] Fix handling of BIT_FIELD_REFs andVECTOR_TYPEs
Paolo Bonzini
bonzini@gnu.org
Mon Mar 22 23:39:00 GMT 2004
----- 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
>
>
More information about the Gcc
mailing list