Commit b0d008ab by Daniel Berlin Committed by Daniel Berlin

re PR tree-optimization/25291 (ICE in tree-check add_call_clobber_ops)

2005-12-07  Daniel Berlin <dberlin@dberlin.org>

	Fix PR tree-optimization/25291
	* tree-ssa-operands.c (add_call_clobber_ops): Remove
	redundant and crashing check.

From-SVN: r108168
parent 9024f4b8
2005-12-07 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/25291
* tree-ssa-operands.c (add_call_clobber_ops): Remove
redundant and crashing check.
2005-12-08 Alan Modra <amodra@bigpond.net.au>
PR target/25212
......
......@@ -1868,9 +1868,7 @@ add_call_clobber_ops (tree stmt, tree callee)
bool not_written
= not_written_b ? bitmap_bit_p (not_written_b, u) : false;
if ((TREE_READONLY (var)
&& (TREE_STATIC (var) || DECL_EXTERNAL (var)))
|| not_written)
if (not_written)
{
if (!not_read)
add_stmt_operand (&var, &empty_ann, opf_none);
......
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