Commit 852c7b12 by Diego Novillo Committed by Diego Novillo

tree-ssa.c (verify_flow_insensitive_alias_info): Process every variable that may…

tree-ssa.c (verify_flow_insensitive_alias_info): Process every variable that may have aliases, not just tags.


	* tree-ssa.c (verify_flow_insensitive_alias_info): Process
	every variable that may have aliases, not just tags.

From-SVN: r85267
parent 05bfc51d
2004-07-28 Diego Novillo <dnovillo@redhat.com>
* tree-ssa.c (verify_flow_insensitive_alias_info): Process
every variable that may have aliases, not just tags.
2004-07-28 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md ("move_from_CR_gt_bit"): Rename to
......
......@@ -348,28 +348,25 @@ verify_flow_insensitive_alias_info (void)
for (i = 0; i < num_referenced_vars; i++)
{
size_t j;
var_ann_t ann;
varray_type may_aliases;
var = referenced_var (i);
ann = var_ann (var);
may_aliases = ann->may_aliases;
if (ann->mem_tag_kind == TYPE_TAG || ann->mem_tag_kind == NAME_TAG)
for (j = 0; may_aliases && j < VARRAY_ACTIVE_SIZE (may_aliases); j++)
{
size_t j;
varray_type may_aliases = ann->may_aliases;
for (j = 0; may_aliases && j < VARRAY_ACTIVE_SIZE (may_aliases); j++)
{
tree alias = VARRAY_TREE (may_aliases, j);
tree alias = VARRAY_TREE (may_aliases, j);
bitmap_set_bit (visited, var_ann (alias)->uid);
bitmap_set_bit (visited, var_ann (alias)->uid);
if (!may_be_aliased (alias))
{
error ("Non-addressable variable inside an alias set.");
debug_variable (alias);
goto err;
}
if (!may_be_aliased (alias))
{
error ("Non-addressable variable inside an alias set.");
debug_variable (alias);
goto err;
}
}
}
......
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