[PATCH] Fix leak in RPO VN

Richard Biener rguenther@suse.de
Wed Oct 24 16:38:00 GMT 2018


Bootstrapped on x86_64-unknown-linux-gnu, applied.

Richard.

2018-10-24  Richard Biener  <rguenther@suse.de>

	* tree-ssa-sccvn.c (do_rpo_vn): Free rpo_state.

Index: gcc/tree-ssa-sccvn.c
===================================================================
--- gcc/tree-ssa-sccvn.c	(revision 265463)
+++ gcc/tree-ssa-sccvn.c	(working copy)
@@ -6691,6 +6691,7 @@ do_rpo_vn (function *fn, edge entry, bit
 
   XDELETEVEC (bb_to_rpo);
   XDELETEVEC (rpo);
+  XDELETEVEC (rpo_state);
 
   return todo;
 }



More information about the Gcc-patches mailing list