Commit 163075a0 by Andrew Pinski Committed by Andrew Pinski

tree-ssa-dom.c (record_range): Free the element if we are not going to use it.

2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-dom.c (record_range): Free the element if we are not
        going to use it.

From-SVN: r88994
parent a472e9d4
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-dom.c (record_range): Free the element if we are not
going to use it.
2004-10-13 Tom Tromey <tromey@redhat.com> 2004-10-13 Tom Tromey <tromey@redhat.com>
PR java/15578: PR java/15578:
......
...@@ -3026,6 +3026,8 @@ record_range (tree cond, basic_block bb) ...@@ -3026,6 +3026,8 @@ record_range (tree cond, basic_block bb)
if (*slot == NULL) if (*slot == NULL)
*slot = (void *) vrp_hash_elt; *slot = (void *) vrp_hash_elt;
else
free (vrp_hash_elt);
vrp_hash_elt = (struct vrp_hash_elt *) *slot; vrp_hash_elt = (struct vrp_hash_elt *) *slot;
vrp_records_p = &vrp_hash_elt->records; vrp_records_p = &vrp_hash_elt->records;
......
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