Commit 2f2c62a0 by Richard Guenther Committed by Richard Biener

tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use DECL_SIZE consistently.

2009-06-03  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use DECL_SIZE
	consistently.

From-SVN: r148120
parent f3536097
2009-06-03 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use DECL_SIZE
consistently.
2009-06-03 Shujing Zhao <pearly.zhao@oracle.com>
* config/sh/predicates.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
......
......@@ -554,7 +554,7 @@ copy_reference_ops_from_ref (tree ref, VEC(vn_reference_op_s, heap) **result)
&& TREE_CODE (DECL_CONTEXT (temp.op0)) == UNION_TYPE
&& integer_zerop (DECL_FIELD_OFFSET (temp.op0))
&& integer_zerop (DECL_FIELD_BIT_OFFSET (temp.op0))
&& host_integerp (TYPE_SIZE (TREE_TYPE (temp.op0)), 0))
&& host_integerp (DECL_SIZE (temp.op0), 0))
temp.op0 = DECL_SIZE (temp.op0);
break;
case ARRAY_RANGE_REF:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment