[tree-ssa] Fix handling of BIT_FIELD_REFs and VECTOR_TYPEs.
Daniel Berlin
dberlin@dberlin.org
Mon Mar 22 16:00:00 GMT 2004
On Mar 22, 2004, at 10:38 AM, Diego Novillo wrote:
> 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.
>
Though even though that part may be wrong, the tree-alias-common part
is most likely correct.
It just didn't happen that i had a testcase where we had a
BIT_FIELD_REF on the LHS.
>
> Thanks. Diego.
>
More information about the Gcc-patches
mailing list