public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix PR80030
@ 2017-03-14  8:01 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2017-03-14  8:01 UTC (permalink / raw)
  To: gcc-patches


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

Richard.

2017-03-14  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/80030
	* tree-vect-stmts.c (vectorizable_store): Plug memleak.

Index: gcc/tree-vect-stmts.c
===================================================================
--- gcc/tree-vect-stmts.c	(revision 246082)
+++ gcc/tree-vect-stmts.c	(working copy)
@@ -6125,6 +6125,8 @@ vectorizable_store (gimple *stmt, gimple
 	  if (slp)
 	    break;
 	}
+
+      vec_oprnds.release ();
       return true;
     }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-14  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14  8:01 [PATCH] Fix PR80030 Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).