Fix memory leak in identify_jump_threads()

* tree-vrp.c (identify_jump_threads): Delete avail_exprs.

From-SVN: r246415
This commit is contained in:
Markus Trippelsdorf 2017-03-23 12:23:58 +00:00 committed by Markus Trippelsdorf
parent cda4d053eb
commit 8bca627752
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-03-23 Markus Trippelsdorf <markus@trippelsdorf.de>
* tree-vrp.c (identify_jump_threads): Delete avail_exprs.
2017-03-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/80032

View File

@ -11021,6 +11021,7 @@ identify_jump_threads (void)
ASSERT_EXPRs are still in the IL and cfg cleanup code does not yet
handle ASSERT_EXPRs gracefully. */
delete equiv_stack;
delete avail_exprs;
delete avail_exprs_stack;
}