Commit c1ac94fb by Zdenek Dvorak Committed by Zdenek Dvorak

re PR tree-optimization/14784 ([Tree-ssa] alias analysis deficiency)

	PR tree-optimization/14784
	* tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix.

From-SVN: r119549
parent d5733d10
2006-12-05 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/14784
* tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix.
2006-12-05 Aldy Hernandez <aldyh@redhat.com>
Merge from gimple-tuples-branch.
......
......@@ -1153,12 +1153,7 @@ access_can_touch_variable (tree ref, tree alias, HOST_WIDE_INT offset,
|| TREE_CODE (TREE_TYPE (base)) != UNION_TYPE)
&& !AGGREGATE_TYPE_P (TREE_TYPE (alias))
&& TREE_CODE (TREE_TYPE (alias)) != COMPLEX_TYPE
#if 0
/* FIXME: PR tree-optimization/29680. */
&& !var_ann (alias)->is_heapvar
#else
&& !POINTER_TYPE_P (TREE_TYPE (alias))
#endif
/* When the struct has may_alias attached to it, we need not to
return true. */
&& get_alias_set (base))
......
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