tree-ssa-alias.c (create_alias_map_for): Do not get the alias set of the inner type of ARRAY_TYPEs.
* tree-ssa-alias.c (create_alias_map_for): Do not get the alias set of the inner type of ARRAY_TYPEs. From-SVN: r85338
This commit is contained in:
parent
2afed683ea
commit
fbc8762793
|
@ -1,3 +1,8 @@
|
||||||
|
2004-07-30 Diego Novillo <dnovillo@redhat.com>
|
||||||
|
|
||||||
|
* tree-ssa-alias.c (create_alias_map_for): Do not get the
|
||||||
|
alias set of the inner type of ARRAY_TYPEs.
|
||||||
|
|
||||||
2004-07-29 Diego Novillo <dnovillo@redhat.com>
|
2004-07-29 Diego Novillo <dnovillo@redhat.com>
|
||||||
|
|
||||||
* tree-ssa-ccp.c (visit_assignment): Move code to prevent
|
* tree-ssa-ccp.c (visit_assignment): Move code to prevent
|
||||||
|
|
|
@ -1253,11 +1253,7 @@ create_alias_map_for (tree var, struct alias_info *ai)
|
||||||
struct alias_map_d *alias_map;
|
struct alias_map_d *alias_map;
|
||||||
alias_map = xcalloc (1, sizeof (*alias_map));
|
alias_map = xcalloc (1, sizeof (*alias_map));
|
||||||
alias_map->var = var;
|
alias_map->var = var;
|
||||||
|
alias_map->set = get_alias_set (var);
|
||||||
if (TREE_CODE (TREE_TYPE (var)) == ARRAY_TYPE)
|
|
||||||
alias_map->set = get_alias_set (TREE_TYPE (TREE_TYPE (var)));
|
|
||||||
else
|
|
||||||
alias_map->set = get_alias_set (var);
|
|
||||||
ai->addressable_vars[ai->num_addressable_vars++] = alias_map;
|
ai->addressable_vars[ai->num_addressable_vars++] = alias_map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue