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
This commit is contained in:
Zdenek Dvorak 2006-12-05 19:26:20 +01:00 committed by Zdenek Dvorak
parent d5733d10bd
commit c1ac94fbe9
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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))