From: Markus Trippelsdorf Date: Thu, 23 Mar 2017 12:23:58 +0000 (+0000) Subject: Fix memory leak in identify_jump_threads() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bca627752ded0ccb970acd16fb9001db973e312;p=gcc.git Fix memory leak in identify_jump_threads() * tree-vrp.c (identify_jump_threads): Delete avail_exprs. From-SVN: r246415 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ddf90e5cd67..7135acce58a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-03-23 Markus Trippelsdorf + + * tree-vrp.c (identify_jump_threads): Delete avail_exprs. + 2017-03-23 Richard Biener PR tree-optimization/80032 diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 26652e3b048..28d9c175dcd 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -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; }