+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
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;
}
}
}