Commit dd7b13d8 by Daniel Berlin Committed by Daniel Berlin

re PR tree-optimization/26341 (930217-1.c and 931013-3.c ICE at -O2 and above in…

re PR tree-optimization/26341 (930217-1.c and 931013-3.c ICE at -O2 and above in add_virtual_operand)

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.

From-SVN: r111217
parent 7e646101
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> 2006-02-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/26255 PR target/26255
......
...@@ -1847,13 +1847,7 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags, ...@@ -1847,13 +1847,7 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags,
aliases will link up properly with calls. */ aliases will link up properly with calls. */
if (v_ann->is_alias_tag || none_added if (v_ann->is_alias_tag || none_added
|| (TREE_CODE (var) == TYPE_MEMORY_TAG && for_clobber)) || (TREE_CODE (var) == TYPE_MEMORY_TAG && for_clobber))
{ append_v_may_def (var);
/* 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);
}
} }
else else
{ {
...@@ -1869,11 +1863,7 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags, ...@@ -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 /* Similarly, append a virtual uses for VAR itself, when
it is an alias tag. */ it is an alias tag. */
if (v_ann->is_alias_tag || none_added) if (v_ann->is_alias_tag || none_added)
{ append_vuse (var);
gcc_assert (!(none_added && TREE_CODE (var) == NAME_MEMORY_TAG));
append_vuse (var);
}
} }
} }
} }
......
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