This is the mail archive of the gcc-patches@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: [tree-ssa] Fix handling of BIT_FIELD_REFs and VECTOR_TYPEs.



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.




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