This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Fix handling of BIT_FIELD_REFs and VECTOR_TYPEs.
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Mar 2004 10:38:00 -0500
- Subject: Re: [tree-ssa] Fix handling of BIT_FIELD_REFs and VECTOR_TYPEs.
- Organization: Red Hat Canada
- References: <20040322151602.GA13124@fencepost>
On Mon, 2004-03-22 at 10:16, Bonzini wrote:
> * tree-alias-common.c (find_func_aliases): Handle
> MODIFY_EXPRs where the first operand is a BIT_FIELD_REF.
> * tree-simple.c: Document that a BIT_FIELD_REF is a
> valid GIMPLE lvalue.
> (is_gimple_reg_type): A VECTOR_TYPE does not behave like
> a scalar.
> * tree-ssa-operands.c (get_expr_operands): Glob references
> made through BIT_FIELD_REF.
> * tree-ssa.c (set_is_used): Go through BIT_FIELD_REFs.
>
Hmm, get_expr_operands already handles BIT_FIELD_REFs. Do you have a
failing test case? If we are not handling them like VOPs now, we should
be failing tests.
Thanks. Diego.