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:
parent
d5733d10bd
commit
c1ac94fbe9
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user