diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 25d45d6b3efee551aade8271ad772451dc127c9f..479e8e8d0b12958a8747bb496f6e9d3363b7f880 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-02-17 Daniel Berlin <dberlin@dberlin.org> + + Fix PR tree-optimization/26341 + * tree-ssa-operands.c (add_virtual_operand): Remove assert + about NAME_MEMORY_TAG's. + 2006-02-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR target/26255 diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 3318b0ece28dfe94e0735d4a2b222dd77498d36e..01ca06bddc281fb86074e8b3619a0d6c2d9b8502 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -1847,13 +1847,7 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags, aliases will link up properly with calls. */ if (v_ann->is_alias_tag || none_added || (TREE_CODE (var) == TYPE_MEMORY_TAG && for_clobber)) - { - /* We should never end up with adding no aliases of an - NMT, as that would imply we got the set wrong. */ - gcc_assert (!(none_added && TREE_CODE (var) == NAME_MEMORY_TAG)); - - append_v_may_def (var); - } + append_v_may_def (var); } else { @@ -1869,11 +1863,7 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags, /* Similarly, append a virtual uses for VAR itself, when it is an alias tag. */ if (v_ann->is_alias_tag || none_added) - { - gcc_assert (!(none_added && TREE_CODE (var) == NAME_MEMORY_TAG)); - - append_vuse (var); - } + append_vuse (var); } } }