Hi!

We are leaking the todo vector in spread_components, fixed thusly,
bootstrapped/regtested on x86_64-linux and i686-linux, committed to
trunk as obvious.

2018-02-10  Jakub Jelinek  <ja...@redhat.com>

        PR rtl-optimization/84308
        * shrink-wrap.c (spread_components): Release todo vector.

--- gcc/shrink-wrap.c.jj        2018-01-03 10:19:55.000000000 +0100
+++ gcc/shrink-wrap.c   2018-02-09 13:19:10.019553075 +0100
@@ -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)

        Jakub

Reply via email to