Commit bbcbc3e0 by David Edelsohn Committed by David Edelsohn

tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed structure as argument.

	* tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed
	structure as argument.

From-SVN: r101971
parent 3cb005cf
2005-07-13 David Edelsohn <edelsohn@gnu.org>
* tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed
structure as argument.
2005-07-13 Paolo Bonzini <bonzini@gnu.org> 2005-07-13 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/21921 PR tree-optimization/21921
......
...@@ -3104,7 +3104,7 @@ lookup_avail_expr (tree stmt, bool insert) ...@@ -3104,7 +3104,7 @@ lookup_avail_expr (tree stmt, bool insert)
tree t = element->rhs; tree t = element->rhs;
free (element); free (element);
return constant_boolean_node (TREE_CODE (t) != EQ_EXPR, return constant_boolean_node (TREE_CODE (t) != EQ_EXPR,
TREE_TYPE (element->rhs)); TREE_TYPE (t));
} }
} }
......
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