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
This commit is contained in:
parent
3cb005cf5b
commit
bbcbc3e07f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
PR tree-optimization/21921
|
||||
|
|
|
@ -3104,7 +3104,7 @@ lookup_avail_expr (tree stmt, bool insert)
|
|||
tree t = element->rhs;
|
||||
free (element);
|
||||
return constant_boolean_node (TREE_CODE (t) != EQ_EXPR,
|
||||
TREE_TYPE (element->rhs));
|
||||
TREE_TYPE (t));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue