From: Jakub Jelinek Date: Fri, 9 Feb 2018 23:21:35 +0000 (+0100) Subject: re PR rtl-optimization/84308 (Memory leak in spread_components) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ca8e744641e1b03cc6e4cdbc46e7ece0750240d;p=gcc.git re PR rtl-optimization/84308 (Memory leak in spread_components) PR rtl-optimization/84308 * shrink-wrap.c (spread_components): Release todo vector. From-SVN: r257544 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 043972eab93..5766bc51859 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-02-10 Jakub Jelinek + + PR rtl-optimization/84308 + * shrink-wrap.c (spread_components): Release todo vector. + 2018-02-09 Vladimir Makarov PR rtl-optimization/57193 diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c index eda0f06cce8..fd19acec9c1 100644 --- a/gcc/shrink-wrap.c +++ b/gcc/shrink-wrap.c @@ -1370,6 +1370,8 @@ spread_components (sbitmap components) bitmap_clear_bit (seen, bb->index); } + todo.release (); + /* Finally, mark everything not not needed both forwards and backwards. */ FOR_EACH_BB_FN (bb, cfun)